diff options
author | Charadon <dev@iotib.net> | 2022-06-09 14:29:22 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-09 14:29:22 -0400 |
commit | ff51a6c7458b443d3b8b429f5ff7d895eb6abced (patch) | |
tree | 827fa9a69f43ef7bd10e297510f249021cd05b27 | |
parent | b264623cb1e3c7484fabad546af7aed51d88b197 (diff) | |
download | Pong-C-ff51a6c7458b443d3b8b429f5ff7d895eb6abced.tar.gz |
There was a make clean the entire time?!
-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; |