17 #ifndef HEADER_SUPERTUX_SUPERTUX_GAMECONFIG_HPP 18 #define HEADER_SUPERTUX_SUPERTUX_GAMECONFIG_HPP 22 #include "control/joystick_config.hpp" 23 #include "control/keyboard_config.hpp" 24 #include "math/size.hpp" 25 #include "math/vector.hpp" 26 #include "video/drawing_context.hpp" 27 #include "video/video_system.hpp" 65 VideoSystem::Enum video;
67 bool frame_prediction;
71 float camera_peek_multiplier;
81 bool enable_script_debugger;
95 float m_mobile_controls_scale;
102 std::vector<Addon> addons;
106 bool transitions_enabled;
107 bool confirmation_dialog;
108 bool pause_on_focusloss;
109 bool custom_mouse_cursor;
110 bool do_release_check;
111 bool custom_title_levels;
113 #ifdef ENABLE_DISCORD 116 bool hide_editor_levelnames;
123 std::vector<Notification> notifications;
126 Color menufrontcolor;
127 Color menuhelpbackcolor;
128 Color menuhelpfrontcolor;
129 Color labeltextcolor;
130 Color activetextcolor;
133 Color editorhovercolor;
134 Color editorgrabcolor;
137 int editor_selected_snap_grid_size;
138 bool editor_render_grid;
139 bool editor_snap_to_grid;
140 bool editor_render_background;
141 bool editor_render_lighting;
142 bool editor_autotile_mode;
143 bool editor_autotile_help;
144 int editor_autosave_frequency;
145 bool editor_undo_tracking;
146 int editor_undo_stack_size;
147 bool editor_show_deprecated_tiles;
149 bool multiplayer_auto_manage_players;
150 bool multiplayer_multibind;
151 bool multiplayer_buzz_controllers;
153 std::string repository_url;
155 bool is_christmas()
const;
int fullscreen_refresh_rate
refresh rate for use in fullscreen, 0 for auto
Definition: gameconfig.hpp:46
int random_seed
initial random seed.
Definition: gameconfig.hpp:79
bool window_resizable
Window is resizable.
Definition: gameconfig.hpp:52
Definition: gameconfig.hpp:29
Size aspect_size
the aspect ratio
Definition: gameconfig.hpp:55
std::optional< Vector > tux_spawn_pos
this variable is set if tux should spawn somewhere which isn't the "main" spawn point ...
Definition: gameconfig.hpp:84
Definition: gameconfig.hpp:118
Definition: gameconfig.hpp:97
Definition: joystick_config.hpp:28
Definition: keyboard_config.hpp:29
Size window_size
the width/height of the window managers window
Definition: gameconfig.hpp:49
std::string locale
force SuperTux language to this locale, e.g.
Definition: gameconfig.hpp:89
Size fullscreen_size
the width/height to be used to display the game in fullscreen
Definition: gameconfig.hpp:43