Enumerations | |
enum class | lobby_joins { show_none , show_friends , show_all } |
enum | PREFERENCE_VIEW { VIEW_DEFAULT , VIEW_FRIENDS } |
Variables | |
const int | min_window_width = 800 |
const int | min_window_height = 540 |
const int | def_window_width = 1280 |
const int | def_window_height = 720 |
const int | max_window_width = 1920 |
const int | max_window_height = 1080 |
const int | min_font_scaling = 80 |
const int | max_font_scaling = 150 |
const int | min_pixel_scale = 1 |
const int | max_pixel_scale = 4 |
const int | TRANSITION_UPDATE_OFF = 0 |
const int | TRANSITION_UPDATE_ON = 1 |
const int | TRANSITION_UPDATE_PARTIAL = 2 |
const int | TRANSITION_UPDATE_COUNT = 3 |
const unsigned char | CREDENTIAL_SEPARATOR = '\f' |
const std::string | EMPTY_LOGIN = "@@" |
const int | INFINITE_AUTO_SAVES = 61 |
const std::string | default_addons_server = "add-ons.wesnoth.org" |
|
strong |
Enumerator | |
---|---|
show_none | |
show_friends | |
show_all |
Definition at line 63 of file preferences.hpp.
Enumerator | |
---|---|
VIEW_DEFAULT | |
VIEW_FRIENDS |
Definition at line 65 of file preferences.hpp.
const unsigned char pref_constants::CREDENTIAL_SEPARATOR = '\f' |
Definition at line 56 of file preferences.hpp.
Referenced by prefs::load_credentials(), and prefs::save_credentials().
const int pref_constants::def_window_height = 720 |
Definition at line 40 of file preferences.hpp.
Referenced by prefs::resolution(), and video::update_framebuffer().
const int pref_constants::def_window_width = 1280 |
Definition at line 39 of file preferences.hpp.
Referenced by prefs::resolution(), and video::update_framebuffer().
const std::string pref_constants::default_addons_server = "add-ons.wesnoth.org" |
Definition at line 61 of file preferences.hpp.
Referenced by prefs::campaign_server().
const std::string pref_constants::EMPTY_LOGIN = "@@" |
Definition at line 57 of file preferences.hpp.
Referenced by prefs::login().
const int pref_constants::INFINITE_AUTO_SAVES = 61 |
Definition at line 59 of file preferences.hpp.
Referenced by playsingle_controller::before_human_turn(), and play_controller::do_autosave().
const int pref_constants::max_font_scaling = 150 |
Definition at line 46 of file preferences.hpp.
Referenced by prefs::font_scaling(), and prefs::set_font_scaling().
const int pref_constants::max_pixel_scale = 4 |
Definition at line 49 of file preferences.hpp.
Referenced by prefs::pixel_scale(), prefs::set_pixel_scale(), and video::update_framebuffer().
const int pref_constants::max_window_height = 1080 |
Definition at line 43 of file preferences.hpp.
Referenced by video::update_framebuffer().
const int pref_constants::max_window_width = 1920 |
Definition at line 42 of file preferences.hpp.
Referenced by video::update_framebuffer().
const int pref_constants::min_font_scaling = 80 |
Definition at line 45 of file preferences.hpp.
Referenced by prefs::font_scaling(), and prefs::set_font_scaling().
const int pref_constants::min_pixel_scale = 1 |
Definition at line 48 of file preferences.hpp.
Referenced by prefs::pixel_scale(), and prefs::set_pixel_scale().
const int pref_constants::min_window_height = 540 |
Definition at line 37 of file preferences.hpp.
Referenced by video::get_available_resolutions(), video::init_window(), prefs::resolution(), and video::update_framebuffer().
const int pref_constants::min_window_width = 800 |
Definition at line 36 of file preferences.hpp.
Referenced by video::get_available_resolutions(), video::init_window(), prefs::resolution(), and video::update_framebuffer().
const int pref_constants::TRANSITION_UPDATE_COUNT = 3 |
Definition at line 54 of file preferences.hpp.
Referenced by editor::context_manager::toggle_update_transitions().
const int pref_constants::TRANSITION_UPDATE_OFF = 0 |
Definition at line 51 of file preferences.hpp.
Referenced by editor::context_manager::is_active_transitions_hotkey().
const int pref_constants::TRANSITION_UPDATE_ON = 1 |
Definition at line 52 of file preferences.hpp.
Referenced by editor::context_manager::is_active_transitions_hotkey(), editor::context_manager::refresh_after_action(), and editor::context_manager::toggle_update_transitions().
const int pref_constants::TRANSITION_UPDATE_PARTIAL = 2 |
Definition at line 53 of file preferences.hpp.
Referenced by editor::context_manager::is_active_transitions_hotkey(), and editor::context_manager::refresh_after_action().