From: parking_turkeys Date: Thu, 9 Jul 2026 20:45:38 +0000 (-0400) Subject: everything is in german now because i thought it was funny X-Git-Tag: broken~12 X-Git-Url: http://git.parking-turkeys.net/?a=commitdiff_plain;h=234ee6c43d7ea531d86c8f0d34397c3f0341466b;p=aichan-platformer.git everything is in german now because i thought it was funny --- diff --git a/game.h b/game.h index 62967f7..76fcfd3 100644 --- a/game.h +++ b/game.h @@ -1,7 +1,11 @@ #define SCREENWIDTH 640 #define SCREENHEIGHT 480 #define FPS 30 -#define WINDOWTITLE "platformer v2 (it works this time) (not really)" +#define WINDOWTITEL "platformer v2 (it works this time) (not really)" +#define ZeichnenAnfangen() BeginDrawing() +#define ZeichnenAufhören() EndDrawing() + +int bühnezeichnen(void); //i dont think stage works here but it seems better than window +int spielerzeichnen(void); + -int drawstage(void); -int drawplayer(void); diff --git a/level.c b/level.c index 0337dfd..24a4a5d 100644 --- a/level.c +++ b/level.c @@ -3,7 +3,7 @@ #include #include "game.h" -int drawstage(void) +int bühnezeichnen(void) { ClearBackground(RAYWHITE); return 1; diff --git a/main_v2.c b/main_v2.c index b961bc8..caae364 100644 --- a/main_v2.c +++ b/main_v2.c @@ -18,10 +18,10 @@ int main(void) while (!WindowShouldClose()) { //update variables - BeginDrawing(); - drawstage(); - drawplayer(); - EndDrawing(); + ZeichnenAnfangen(); + bühnezeichnen(); + spielerzeichnen(); + ZeichnenAufhören(); } CloseWindow(); diff --git a/player.c b/player.c index 9ab055f..f087ed0 100644 --- a/player.c +++ b/player.c @@ -4,7 +4,7 @@ #include "game.h" -int drawplayer(void) +int spielerzeichnen(void) { return 1; }