Remove legacy network code

This commit is contained in:
Martin Natano
2022-04-09 13:11:17 +02:00
committed by teejusb
parent f1e3e4d519
commit 4c0aef69dd
124 changed files with 56 additions and 10863 deletions
-6
View File
@@ -62,7 +62,6 @@
#include "ModelManager.h"
#include "CryptManager.h"
#include "NetworkManager.h"
#include "NetworkSyncManager.h"
#include "MessageManager.h"
#include "StatsManager.h"
#include "GameLoop.h"
@@ -298,7 +297,6 @@ void ShutdownGame()
SAFE_DELETE( SCREENMAN );
SAFE_DELETE( STATSMAN );
SAFE_DELETE( MESSAGEMAN );
SAFE_DELETE( NSMAN );
SAFE_DELETE( NETWORK );
/* Delete INPUTMAN before the other INPUTFILTER handlers, or an input
* driver may try to send a message to INPUTFILTER after we delete it. */
@@ -1134,7 +1132,6 @@ int sm_main(int argc, char* argv[])
SONGMAN->UpdatePopular();
SONGMAN->UpdatePreferredSort();
NETWORK = new NetworkManager;
NSMAN = new NetworkSyncManager( pLoadingWindow );
STATSMAN = new StatsManager;
// Initialize which courses are ranking courses here.
@@ -1179,9 +1176,6 @@ int sm_main(int argc, char* argv[])
CodeDetector::RefreshCacheItems();
if( GetCommandlineArgument("netip") )
NSMAN->DisplayStartupStatus(); // If we're using networking show what happened
// Run the main loop.
GameLoop::RunGameLoop();