Creating/Firing/Canceling events now use CStack to avoid the need to use new when possible

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40583
This commit is contained in:
Scott Ehlert
2007-03-06 04:50:30 +00:00
parent 68f40e96f2
commit dbb74a612d
5 changed files with 89 additions and 55 deletions
+2 -2
View File
@@ -91,12 +91,12 @@ native Handle:CreateEvent(const String:name[]);
* Fires a game event.
*
* @param event Handle to the event.
* @param dontBroadcast Optional boolean that determines if event should be broadcast to clients.
* @param flags Optional bitstring flags. See EVENT_* constants for more details.
* @param dontBroadcast Optional boolean that determines if event should be broadcast to clients.
* @noreturn
* @error Invalid or corrupt Handle.
*/
native FireEvent(Handle:event, bool:dontBroadcast=false, flags=0);
native FireEvent(Handle:event, flags=0, bool:dontBroadcast=false);
/**
* Cancels a previously created game event that has not been fired.