Ripped out all networking systems; simply not working correctly
This commit is contained in:
@@ -38,8 +38,6 @@ void SceneManager::Init() {
|
||||
|
||||
configUtil.Load("rsc/config.cfg");
|
||||
|
||||
NetworkInit();
|
||||
|
||||
//set the screen from the config file
|
||||
int flags = SDL_HWSURFACE|SDL_DOUBLEBUF;
|
||||
if (configUtil.Boolean("screen.f")) {
|
||||
@@ -68,7 +66,6 @@ void SceneManager::Proc() {
|
||||
|
||||
void SceneManager::Quit() {
|
||||
UnloadScene();
|
||||
NetworkQuit();
|
||||
SDL_Quit();
|
||||
}
|
||||
|
||||
@@ -83,7 +80,7 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
|
||||
//add scene creation calls here
|
||||
#ifdef DEBUG
|
||||
case SceneList::TESTSYSTEMS:
|
||||
activeScene = new TestSystems(&configUtil, &surfaceMgr, &socket);
|
||||
activeScene = new TestSystems(&configUtil, &surfaceMgr);
|
||||
break;
|
||||
#endif
|
||||
|
||||
@@ -98,7 +95,7 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
|
||||
activeScene = new InGame(&configUtil, &surfaceMgr);
|
||||
break;
|
||||
case SceneList::LOBBY:
|
||||
activeScene = new Lobby(&configUtil, &surfaceMgr, &socket);
|
||||
activeScene = new Lobby(&configUtil, &surfaceMgr);
|
||||
break;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user