From 9c32850847c46ceab228ae88ccc69e23ae3ff4c7 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Mon, 17 Apr 2023 15:30:18 -0500 Subject: Remove prints in gameloop --- src/client/main.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/client/main.cpp') diff --git a/src/client/main.cpp b/src/client/main.cpp index 7198fb1..784929a 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -238,21 +238,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} @@ -264,10 +264,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"); @@ -278,9 +278,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"); @@ -291,7 +291,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); -- cgit v1.2.3-70-g09d2