aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2023-04-15 17:55:01 -0500
committerAlexander M Pickering <alex@cogarr.net>2023-04-15 17:55:01 -0500
commit69b8ae072b5c7f8c792975b9387f60b5c3d83038 (patch)
tree98138fb9d7bbdda2a0329a8c82f3e320709b3921 /src
parentb1f223599d67c752da34dcaaf024eb9e3584f10a (diff)
downloadbrokengine-69b8ae072b5c7f8c792975b9387f60b5c3d83038.tar.gz
brokengine-69b8ae072b5c7f8c792975b9387f60b5c3d83038.tar.bz2
brokengine-69b8ae072b5c7f8c792975b9387f60b5c3d83038.zip
Uncomment event loop prints
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);