From ff51a6c7458b443d3b8b429f5ff7d895eb6abced Mon Sep 17 00:00:00 2001 From: Charadon Date: Thu, 9 Jun 2022 14:29:22 -0400 Subject: There was a make clean the entire time?! --- premake5.lua | 18 ------------------ src/ball.c | 1 - 2 files changed, 19 deletions(-) diff --git a/premake5.lua b/premake5.lua index e646531..b00e007 100644 --- a/premake5.lua +++ b/premake5.lua @@ -13,24 +13,6 @@ project("Pong") end } - 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.", 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; -- cgit 1.4.1-2-gfad0