diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 13:34:27 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 13:34:27 +0100 |
commit | a216cfc457cdde754c5673e9423d00147a2f1574 (patch) | |
tree | c38213bb40881cda872fb4b9720d3349fb3e3e9c /game/hud/HudConfig.h | |
parent | 3297acbb3687d8a98a11a1ca26a766db3d85501b (diff) |
fps in hud
Diffstat (limited to 'game/hud/HudConfig.h')
-rw-r--r-- | game/hud/HudConfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/game/hud/HudConfig.h b/game/hud/HudConfig.h index 5972f0a..e3497fb 100644 --- a/game/hud/HudConfig.h +++ b/game/hud/HudConfig.h @@ -5,6 +5,7 @@ static constexpr crepe::vec2 TOP_LEFT = {-530,-230}; static constexpr const char* HUD_DISTANCE = "hud_distance"; static constexpr const char* HUD_BEST = "hud_best"; static constexpr const char* HUD_COINS = "hud_coins"; +static constexpr const char* HUD_FPS = "hud_fps"; // Distance static constexpr const char* DISTANCE_PLACEHOLDER = "0000m"; @@ -24,4 +25,10 @@ static constexpr const char* COINS = "0000"; static constexpr int COINS_LENGTH = 4; static constexpr float COINS_CHAR_WIDTH = 10; static constexpr crepe::vec2 COINS_OFFSET = {0,50}; + +// FPS +static constexpr const char* FPS = "00"; +static constexpr int FPS_LENGTH = 2; +static constexpr float FPS_CHAR_WIDTH = 10; +static constexpr crepe::vec2 FPS_OFFSET = {1030,0};
\ No newline at end of file |