aboutsummaryrefslogtreecommitdiff
path: root/game/hud/HudConfig.h
blob: 1d2ed896a11e5b5d8c195faa062df364769c50b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include "types.h"

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";	

// Distance
static constexpr const char* DISTANCE_PLACEHOLDER = "0000m";
static constexpr const char* DISTANCE_UNIT = "m";
static constexpr int DISTANCE_LENGTH = 5;
static constexpr float DISTANCE_CHAR_WIDTH = 12;
static constexpr float STEP_SIZE_DISTANCE = 100;

// BEST
static constexpr const char* BEST = "BEST:";
static constexpr int BEST_LENGTH = 5;
static constexpr float BEST_CHAR_WIDTH = 10;
static constexpr crepe::vec2 BEST_OFFSET = {0,25};

// COINS
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};