diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-30 19:09:18 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-30 19:09:28 +0200 |
| commit | ddde2e8fdf05efac5914ca2b812b7762b78ba9ec (patch) | |
| tree | ac6301455732741846c9b2eb24c61cca27f9e062 /game.c | |
| parent | 16adefc98106a7f401a00864122f65f64305ecce (diff) | |
| download | stalag-ddde2e8fdf05efac5914ca2b812b7762b78ba9ec.tar.gz | |
Refactor debug info
Diffstat (limited to 'game.c')
| -rw-r--r-- | game.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -325,10 +325,7 @@ void DrawGame(void) { | |||
| 325 | EndMode3D(); | 325 | EndMode3D(); |
| 326 | 326 | ||
| 327 | DrawCrosshair(); | 327 | DrawCrosshair(); |
| 328 | 328 | DrawDebugInfo(); | |
| 329 | DrawTextEx(game.font_ui, TextFormat("%i FPS", GetFPS()), (Vector2){ 10, 10 }, 20, 2, GREEN); | ||
| 330 | DrawTextEx(game.font_ui, TextFormat("VSync: %s", game.vsync ? "ON" : "OFF"), (Vector2){ 10, 35 }, 20, 2, GREEN); | ||
| 331 | DrawTextEx(game.font_ui, TextFormat("Speed: %.0f", game.horizontal_speed), (Vector2){ 10, 60 }, 20, 2, GREEN); | ||
| 332 | } | 329 | } |
| 333 | 330 | ||
| 334 | EndDrawing(); | 331 | EndDrawing(); |
