From 6e9c653b7dc5efd30cd52b38ad61f4a5db890e7b Mon Sep 17 00:00:00 2001 From: _N3m0 Date: Wed, 13 Mar 2024 14:51:54 +0100 Subject: [PATCH] placeholder timer --- main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.c b/main.c index fab0c64..a1d11e2 100644 --- a/main.c +++ b/main.c @@ -373,6 +373,19 @@ int main(void) .r = 0xC6, .g = 0xC6, .b = 0xC6, .a = 255 }); + int timer_pad = 10; + int timer_mid = (screen_width * 3) / 4; + DrawTexture( + fixed_tile_texture, // TODO: double_fixed_tile_texture + timer_mid - timer_pad - fixed_tile_texture.width, 0, + WHITE + ); + DrawTexture( + fixed_tile_texture, // TODO: double_fixed_tile_texture + timer_mid + timer_pad, 0, + WHITE + ); + for (int x=0; x