commit 71a8125411c26a8075e23678f801f953485774ad
parent 100c76f2f8f4f0d4303a558a70c8c2a414b57693
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 19 Apr 2026 06:08:49 +0000
chore: format
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/game.c b/src/game.c
@@ -36,10 +36,7 @@ float gravity = 0.0f;
Rectangle birdRect = {0, 0, 0.0f, 0.0f};
Rectangle baseRect1 = {0, 0, 0.0f, 0.0f};
Rectangle baseRect2 = {0, 0, 0.0f, 0.0f};
-Rectangle pipeRects[2] = {
- {0, 0, 0.0f, 0.0f},
- {0, 0, 0.0f, 0.0f}
-};
+Rectangle pipeRects[2] = {{0, 0, 0.0f, 0.0f}, {0, 0, 0.0f, 0.0f}};
void draw_message() {
if (screen != TITLE)
@@ -85,7 +82,8 @@ void draw_pipes() {
bool topPipe = i % 2 != 0;
Rectangle source = {0, 0, (float)pipeTexture.width,
- topPipe ? -(float)pipeTexture.height : (float)pipeTexture.height};
+ topPipe ? -(float)pipeTexture.height
+ : (float)pipeTexture.height};
Vector2 origin = {0, 0};