diff options
Diffstat (limited to 'game/Config.h')
-rw-r--r-- | game/Config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/game/Config.h b/game/Config.h index c09a965..312e612 100644 --- a/game/Config.h +++ b/game/Config.h @@ -1,6 +1,17 @@ #pragma once #include "types.h" +#include <crepe/api/Config.h> + +static const crepe::Config ENGINE_CONFIG { + .log { + .level = crepe::Log::Level::DEBUG, + }, + .window_settings { + .window_title = "Jetpack joyride clone", + }, +}; + static constexpr int SORT_IN_LAY_BACK_BACKGROUND = 3; // For all scenes static constexpr int SORT_IN_LAY_BACKGROUND = 4; // For all scenes static constexpr int SORT_IN_LAY_FORE_BACKGROUND = 5; // For all scenes @@ -43,3 +54,6 @@ static constexpr const char* DISTANCE_RUN = "distance_run"; 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 + +static constexpr const char* CAMERA_NAME = "camera"; + |