From e27d509615ca48c8b007f66349f554ce2a9758f9 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 6 Jan 2026 21:20:34 -0700 Subject: Working on top status thingy --- src/game.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 2acbb97..f471580 100644 --- a/src/game.c +++ b/src/game.c @@ -205,6 +205,11 @@ void updateGameEntityInfo(Game* game) DrawText(getEntityName(selectedEntity->id), x, y, fontSize, BLACK); } +void updateGameTopStatus(Game* game) +{ + DrawText(TextFormat("Speed %.2f", game->player.speed), 150.0, 1.0, 20, GREEN); +} + void updateGameScene(Game* game) { // Handle toggle cursor. @@ -267,6 +272,7 @@ void updateGameScene(Game* game) updateMap(&game->map, game); updateGameEntityInfo(game); + updateGameTopStatus(game); updateInteractionChat(&game->interactionChat, game); updateInteractionMenu(&game->interactionMenu, game); } -- cgit v1.2.3