Ripped out all networking systems; simply not working correctly

This commit is contained in:
Kayne Ruse
2013-05-17 19:59:31 +10:00
parent 24e48dec53
commit 5ade2cc98e
17 changed files with 9 additions and 787 deletions
+2 -5
View File
@@ -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