|
|
void | load () |
| |
|
void | save () |
| |
|
void | check_values () |
| |
|
bool | is_christmas () const |
| |
|
|
int | profile |
| |
|
Size | fullscreen_size |
| | the width/height to be used to display the game in fullscreen
|
| |
|
int | fullscreen_refresh_rate |
| | refresh rate for use in fullscreen, 0 for auto
|
| |
|
Size | window_size |
| | the width/height of the window managers window
|
| |
|
bool | window_resizable |
| | Window is resizable.
|
| |
|
Size | aspect_size |
| | the aspect ratio
|
| |
|
float | magnification |
| |
|
bool | use_fullscreen |
| |
|
VideoSystem::Enum | video |
| |
|
int | vsync |
| |
|
bool | frame_prediction |
| |
|
bool | show_fps |
| |
|
bool | show_player_pos |
| |
|
bool | show_controller |
| |
|
float | camera_peek_multiplier |
| |
|
bool | sound_enabled |
| |
|
bool | music_enabled |
| |
|
int | sound_volume |
| |
|
int | music_volume |
| |
|
int | flash_intensity |
| |
| int | random_seed |
| | initial random seed. More...
|
| |
|
bool | enable_script_debugger |
| |
|
std::optional< Vector > | tux_spawn_pos |
| | this variable is set if tux should spawn somewhere which isn't the "main" spawn point
|
| |
| std::string | locale |
| | force SuperTux language to this locale, e.g. More...
|
| |
|
KeyboardConfig | keyboard_config |
| |
|
JoystickConfig | joystick_config |
| |
|
bool | mobile_controls |
| |
|
float | m_mobile_controls_scale |
| |
|
std::vector< Addon > | addons |
| |
|
bool | developer_mode |
| |
|
bool | christmas_mode |
| |
|
bool | transitions_enabled |
| |
|
bool | confirmation_dialog |
| |
|
bool | pause_on_focusloss |
| |
|
bool | custom_mouse_cursor |
| |
|
bool | do_release_check |
| |
|
bool | custom_title_levels |
| |
|
bool | hide_editor_levelnames |
| |
|
std::vector< Notification > | notifications |
| |
|
Color | menubackcolor |
| |
|
Color | menufrontcolor |
| |
|
Color | menuhelpbackcolor |
| |
|
Color | menuhelpfrontcolor |
| |
|
Color | labeltextcolor |
| |
|
Color | activetextcolor |
| |
|
Color | hlcolor |
| |
|
Color | editorcolor |
| |
|
Color | editorhovercolor |
| |
|
Color | editorgrabcolor |
| |
|
float | menuroundness |
| |
|
int | editor_selected_snap_grid_size |
| |
|
bool | editor_render_grid |
| |
|
bool | editor_snap_to_grid |
| |
|
bool | editor_render_background |
| |
|
bool | editor_render_lighting |
| |
|
bool | editor_autotile_mode |
| |
|
bool | editor_autotile_help |
| |
|
int | editor_autosave_frequency |
| |
|
bool | editor_undo_tracking |
| |
|
int | editor_undo_stack_size |
| |
|
bool | editor_show_deprecated_tiles |
| |
|
bool | multiplayer_auto_manage_players |
| |
|
bool | multiplayer_multibind |
| |
|
bool | multiplayer_buzz_controllers |
| |
|
std::string | repository_url |
| |
◆ locale
| std::string Config::locale |
force SuperTux language to this locale, e.g.
"de". A file "data/locale/xx.po" must exist for this to work. An empty string means autodetect.
◆ random_seed
initial random seed.
0 ==> set from time()
The documentation for this class was generated from the following files: