aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/client/main.cpp b/src/client/main.cpp
index 94e566e..ebb8645 100644
--- a/src/client/main.cpp
+++ b/src/client/main.cpp
@@ -226,21 +226,21 @@ int main(int argc, char *argv[]){
printf("About to check if device run\n");
printf("Device is %p\n",device);
while(device->run()){
- //printf("Start gameloop net\n");
+ printf("Start gameloop net\n");
assert(lua_gettop(L) == 0);
gameloop_net(L);
assert(lua_gettop(L) == 0);
- //printf("End gameloop net\n");
- //printf("Start gameloop phys\n");
+ printf("End gameloop net\n");
+ printf("Start gameloop phys\n");
assert(lua_gettop(L) == 0);
gameloop_phys(UpdateElement);
assert(lua_gettop(L) == 0);
- //printf("End gameloop phys\n");
+ printf("End gameloop phys\n");
if(device->isWindowActive()){
assert(lua_gettop(L) == 0);
driver->beginScene(true, true, background);
assert(lua_gettop(L) == 0);
- //printf("Device active, began scene\n");
+ printf("Device active, began scene\n");
assert(lua_gettop(L) == 0);
pusherrorfunc(state);
lua_getglobal(state,"GAME");//err(),{GAME}
@@ -252,10 +252,10 @@ int main(int argc, char *argv[]){
lua_pop(state,3);
}
assert(lua_gettop(L) == 0);
- //printf("Finished calling GAME.draw()\n");
+ printf("Finished calling GAME.draw()\n");
smgr->drawAll();
- //printf("Scene manager drew all\n");
+ printf("Scene manager drew all\n");
assert(lua_gettop(L) == 0);
lua_getglobal(state,"GAME");
lua_getfield(state,-1,"drawPostScene");
@@ -266,9 +266,9 @@ int main(int argc, char *argv[]){
lua_pop(state,2);
}
assert(lua_gettop(L) == 0);
- //printf("Post draw scene completed\n");
+ printf("Post draw scene completed\n");
guienv->drawAll();
- //printf("Gui draw all completed\n");
+ printf("Gui draw all completed\n");
assert(lua_gettop(L) == 0);
lua_getglobal(state,"GAME");
lua_getfield(state,-1,"drawPostGui");
@@ -279,7 +279,7 @@ int main(int argc, char *argv[]){
lua_pop(state,2);
}
assert(lua_gettop(L) == 0);
- //printf("GAME.drawPostGui completed\n");
+ printf("GAME.drawPostGui completed\n");
driver->endScene();
}else{
assert(lua_gettop(L) == 0);