Added basic server list, and added yield calls

This commit is contained in:
Kayne Ruse
2013-05-20 17:43:16 +10:00
parent d5409d2006
commit d76cbe13da
6 changed files with 52 additions and 12 deletions
+6
View File
@@ -62,8 +62,14 @@ void SceneManager::Proc() {
continue;
}
//wipe the screen
SDL_FillRect(activeScene->GetScreen(), 0, 0);
//call each user defined function
activeScene->RunFrame();
//give the computer a break
SDL_Delay(10);
}
UnloadScene();