diff options
Diffstat (limited to 'interface.c')
| -rw-r--r-- | interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interface.c b/interface.c index d2cb4e0..58d8721 100644 --- a/interface.c +++ b/interface.c | |||
| @@ -8,7 +8,7 @@ void DrawCrosshair(void) { | |||
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | void DrawDebugInfo(void) { | 10 | void DrawDebugInfo(void) { |
| 11 | DrawTextEx(game.font_ui, TextFormat("%i FPS", GetFPS()), (Vector2){ 10, 10 }, 20, 2, GREEN); | 11 | DrawTextEx(game.font_ui, TextFormat("%i FPS", GetFPS()), (Vector2){ 10, 10 }, 20, 2, GREEN); |
| 12 | DrawTextEx(game.font_ui, TextFormat("VSync: %s", game.vsync ? "ON" : "OFF"), (Vector2){ 10, 35 }, 20, 2, GREEN); | 12 | DrawTextEx(game.font_ui, TextFormat("VSync: %s", game.vsync ? "ON" : "OFF"), (Vector2){ 10, 35 }, 20, 2, GREEN); |
| 13 | DrawTextEx(game.font_ui, TextFormat("Speed: %.0f", game.horizontal_speed), (Vector2){ 10, 60 }, 20, 2, GREEN); | 13 | DrawTextEx(game.font_ui, TextFormat("Speed: %.0f", game.player.horizontal_speed), (Vector2){ 10, 60 }, 20, 2, GREEN); |
| 14 | } | 14 | } |
