From 9e0d428ffae9ec381f7fd8cdee7be90d45b6f5ff Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Fri, 26 Aug 2022 23:57:12 -0400 Subject: [PATCH] include forgotten header --- src/Main.h | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/src/Main.h b/src/Main.h index 5964f18..9487338 100644 --- a/src/Main.h +++ b/src/Main.h @@ -18,28 +18,6 @@ */ namespace alai { - /** - * @brief The default value for the game version. - * - */ - const std::string game_version = "0.1.0"; - /** - * @brief The default value for if the game should start in full screen. - * - */ - const bool full_screen = false; - /** - * @brief The default resolution for the game window. - * - */ - const godot::Vector2 window_size = godot::Vector2(1280, 720); - /** - * @brief The default screen the the game should open on. - * - * @details -1 opens it on the currently active screen. And 0 and above are the screens to use. - */ - const int8_t launch_screen = -1; - /** * @brief This class controls the Main node. * @@ -70,7 +48,27 @@ namespace alai * */ godot::ResourceLoader *_resource_loader; - + /** + * @brief The default value for the game version. + * + */ + inline static const std::string default_game_version = "0.1.0"; + /** + * @brief The default value for if the game should start in full screen. + * + */ + inline static const bool default_full_screen = false; + /** + * @brief The default resolution for the game window. + * + */ + inline static const godot::Vector2 default_window_size = godot::Vector2(1280, 720); + /** + * @brief The default screen the the game should open on. + * + * @details -1 opens it on the currently active screen. And 0 and above are the screens to use. + */ + inline static const int8_t default_launch_screen = -1; /** * @brief The first level to load *