diff options
-rw-r--r-- | premake5.lua | 18 | ||||
-rw-r--r-- | src/ball.c | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/premake5.lua b/premake5.lua index e646531..b00e007 100644 --- a/premake5.lua +++ b/premake5.lua @@ -14,24 +14,6 @@ project("Pong") } newaction { - trigger = "clean", - description = "Clean the work environment.", - execute = function() - os.executef("rm -rvf %s/obj", _MAIN_SCRIPT_DIR) - os.executef("rm -rvf %s/bin", _MAIN_SCRIPT_DIR) - os.executef("rm -rvf %s/app", _MAIN_SCRIPT_DIR) - os.executef("rm -vf %s/Makefile", _MAIN_SCRIPT_DIR) - os.executef("rm -vf %s/Pong.make", _MAIN_SCRIPT_DIR) - os.executef("rm -rvf %s/flatpak_repo", _MAIN_SCRIPT_DIR) - os.executef("rm -rvf %s/.flatpak-builder", _MAIN_SCRIPT_DIR) - os.executef("rm -rvf %s/build-dir", _MAIN_SCRIPT_DIR) - os.executef("rm -vf %s/*.flatpak", _MAIN_SCRIPT_DIR) - os.executef("rm -rf %s/flatpak", _MAIN_SCRIPT_DIR) - os.exit(0) - end - } - - newaction { trigger = "check_deps", description = "Check if you have all the dependencies installed.", execute = function() diff --git a/src/ball.c b/src/ball.c index a3e63ab..af210bb 100644 --- a/src/ball.c +++ b/src/ball.c @@ -13,7 +13,6 @@ void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerSc int RunThisManyTimes = 0; if (CurrentTick > Ball->NextTick) { RunThisManyTimes = (CurrentTick - Ball->NextTick); - printf("%d\n",RunThisManyTimes); } for (int i = 0; i <= RunThisManyTimes; i++) { Ball->Y += Ball->Angle; |