mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Use std::queue and std::vector in event system
instead of old custom code from container.cpp * Removed initialize and shutdown event manager calls from Init.cpp as they were only used to create and destroy the old HLIST globals * Moved code from Event Manager.cpp to Event Pump.cpp as the event queue system is only used in said file. * Removed now useless event manager.cpp and .h files
This commit is contained in:
+2
-5
@@ -1,7 +1,6 @@
|
||||
#ifndef EVENT_PROCESSOR_H
|
||||
#define EVENT_PROCESSOR_H
|
||||
|
||||
#include "Event Manager.h"
|
||||
#include "Overhead Types.h"
|
||||
|
||||
|
||||
@@ -271,8 +270,6 @@ BOOLEAN AddGameEventFromNetwork( UINT32 uiEvent, UINT16 usDelay, PTR pEventData
|
||||
BOOLEAN DequeAllGameEvents( BOOLEAN fExecute );
|
||||
BOOLEAN DequeueAllDemandGameEvents( BOOLEAN fExecute );
|
||||
|
||||
// clean out the evetn queue
|
||||
// clean out the event queue
|
||||
BOOLEAN ClearEventQueue( void );
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user