add experimental MessageManager

This commit is contained in:
Chris Danford
2005-02-09 05:20:49 +00:00
parent c99043b7f2
commit 613b99d26f
6 changed files with 147 additions and 6 deletions
+6 -3
View File
@@ -62,6 +62,7 @@
#include "ModelManager.h"
#include "CryptManager.h"
#include "NetworkSyncManager.h"
#include "MessageManager.h"
#if defined(XBOX)
#include "Archutils/Xbox/VirtualMemory.h"
@@ -177,7 +178,8 @@ void ShutdownGame()
SOUNDMAN->Shutdown();
SAFE_DELETE( SCREENMAN );
SAFE_DELETE( NSMAN );
SAFE_DELETE( MESSAGEMAN );
SAFE_DELETE( NSMAN );
/* Delete INPUTMAN before the other INPUTFILTER handlers, or an input
* driver may try to send a message to INPUTFILTER after we delete it. */
SAFE_DELETE( INPUTMAN );
@@ -1084,9 +1086,10 @@ int main(int argc, char* argv[])
PROFILEMAN = new ProfileManager;
PROFILEMAN->Init(); // must load after SONGMAN
UNLOCKMAN = new UnlockSystem;
NSMAN = new NetworkSyncManager( loading_window );
NSMAN = new NetworkSyncManager( loading_window );
MESSAGEMAN = new MessageManager;
delete loading_window; // destroy this before init'ing Display
SAFE_DELETE( loading_window ); // destroy this before init'ing Display
DISPLAY = CreateDisplay();