diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:03:14 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:03:14 +0100 |
commit | 261a2cfd2bedafbc7fcf54e1b86adee206dea519 (patch) | |
tree | f099bca292e99ae54035f9a5ac7a455eec073c3e /game/Config.h | |
parent | d9c67da9b8c2d8d25ef4dd2c700ddc78573d3a60 (diff) | |
parent | 0b9574bdd6c5968c07bcf165d66032b75649b5da (diff) |
merge w/ master
Diffstat (limited to 'game/Config.h')
-rw-r--r-- | game/Config.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/game/Config.h b/game/Config.h index 95846d2..64f2828 100644 --- a/game/Config.h +++ b/game/Config.h @@ -18,8 +18,9 @@ static constexpr int SORT_IN_LAY_FORE_BACKGROUND = 5; // For all scenes static constexpr int SORT_IN_LAY_PARTICLES_BACKGROUND = 6; // For all scenes static constexpr int SORT_IN_LAY_COINS = 7; // Only for GameScene static constexpr int SORT_IN_LAY_OBSTACLES = 8; // Only for GameScene +static constexpr int SORT_IN_LAY_WORKERS_BACK = 9; // Only for GameScene static constexpr int SORT_IN_LAY_PLAYER = 10; // Only for GameScene -static constexpr int SORT_IN_LAY_WORKERS = 12; // Only for GameScene +static constexpr int SORT_IN_LAY_WORKERS_FRONT = 12; // Only for GameScene static constexpr int SORT_IN_LAY_PARTICLES_FOREGROUND = 15; // Only for GameScene static constexpr int COLL_LAY_BOT_TOP = 1; // Only for GameScene @@ -39,21 +40,21 @@ static constexpr float VIEWPORT_X = 1100; // In game units static constexpr float VIEWPORT_Y = 500; // In game units // Font settings -static constexpr const char* FONT = "Jetpackia"; -static constexpr crepe::vec2 FONTOFFSET = {0,0}; +static constexpr const char * FONT = "Jetpackia"; +static constexpr crepe::vec2 FONTOFFSET = {0, 0}; -// Amount of coins in game -static constexpr const char* TOTAL_COINS_GAME = "total_coins_game"; +// Amount of coins in game +static constexpr const char * TOTAL_COINS_GAME = "total_coins_game"; -// Amount of coins in current run -static constexpr const char* TOTAL_COINS_RUN = "total_coins_run"; +// Amount of coins in current run +static constexpr const char * TOTAL_COINS_RUN = "total_coins_run"; // Distance -static constexpr const char* DISTANCE_GAME = "distance_game"; -static constexpr const char* DISTANCE_RUN = "distance_run"; +static constexpr const char * DISTANCE_GAME = "distance_game"; +static constexpr const char * DISTANCE_RUN = "distance_run"; // Player config -static constexpr const char* PLAYER_NAME = "player"; +static constexpr const char * PLAYER_NAME = "player"; static constexpr int PLAYER_SPEED = 7500; // In game units static constexpr int PLAYER_GRAVITY_SCALE = 60; // In game units |