Smoothed naming and other conventions

This commit is contained in:
Kayne Ruse
2013-05-24 00:51:04 +10:00
parent cce1a874bf
commit 0b2af1d80f
21 changed files with 176 additions and 257 deletions
+5 -5
View File
@@ -25,7 +25,7 @@
//-------------------------
SceneManager::SceneManager() {
activeScene = nullptr;
//
}
SceneManager::~SceneManager() {
@@ -41,7 +41,7 @@ void SceneManager::Init() {
}
configUtil.Load("rsc/config.cfg");
netUtil.Open(0, sizeof(Packet));
netUtil.Open(0, sizeof(PacketData));
//set the screen from the config file
int flags = SDL_HWSURFACE|SDL_DOUBLEBUF;
@@ -103,12 +103,12 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
case SceneList::MAINMENU:
activeScene = new MainMenu(&configUtil, &surfaceMgr);
break;
case SceneList::INGAME:
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil);
break;
case SceneList::LOBBY:
activeScene = new Lobby(&configUtil, &surfaceMgr, &netUtil);
break;
case SceneList::INGAME:
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil);
break;
#ifdef DEBUG
case SceneList::COMBAT: