aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-10-13 09:56:30 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-10-13 09:56:30 +0200
commitb5cc8d759a09ad2754efb671dc1af12d52fc542e (patch)
tree8f2731fefaaa7b2afdfdbd80a768b72172b5a6c0 /src/game.c
parente06434fd89345fdc4e931f6fa3904626d75097db (diff)
Added Debug Stats
We now print debug stats (ATM, just FPS) overlaying the actual game. We use the PICO-8 font to keep things consistent; I probable should choose a better color though...
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 2505e2a..9d9f946 100644
--- a/src/game.c
+++ b/src/game.c
@@ -473,5 +473,7 @@ bool pw_game_iterate(struct pw_game *game) {
}
}
- return pw_fb_render(game->fb);
+ return true;
}
+
+bool pw_game_render(struct pw_game *game) { return pw_fb_render(game->fb); }