Esempio n. 1
0
bool use_twelve_hour_clock_format()
{
	return get("use_twelve_hour_clock_format", false);
}
Esempio n. 2
0
bool joystick_support_enabled()
{
	return get("joystick_support_enabled", false);
}
Esempio n. 3
0
int joystick_num_mouse_yaxis()
{
	const int value = utils::clamp<int>(lexical_cast_default<int>(get("joystick_num_scroll_yaxis"), 0), -1, 3);
	return value;
}
Esempio n. 4
0
bool message_bell()
{
	return get("message_bell", true);
}
Esempio n. 5
0
bool music_on()
{
	return get("music", true);
}
Esempio n. 6
0
bool ellipses()
{
	return get("show_side_colors", false);
}
Esempio n. 7
0
bool turn_bell()
{
	return get("turn_bell", true);
}
Esempio n. 8
0
bool show_unmoved_orb() {
	return get("show_unmoved_orb", game_config::show_unmoved_orb);
}
Esempio n. 9
0
bool show_partial_orb() {
	return get("show_partial_orb", game_config::show_partial_orb);
}
Esempio n. 10
0
bool show_allied_orb() {
	return get("show_ally_orb", game_config::show_ally_orb);
}
Esempio n. 11
0
bool show_enemy_orb() {
	return get("show_enemy_orb", game_config::show_enemy_orb);
}
Esempio n. 12
0
bool damage_prediction_allow_monte_carlo_simulation()
{
	return get("damage_prediction_allow_monte_carlo_simulation", true);
}
Esempio n. 13
0
bool disable_loadingscreen_animation()
{
	return get("disable_loadingscreen_animation", false);
}
Esempio n. 14
0
bool disable_auto_moves()
{
	return get("disable_auto_moves", false);
}
Esempio n. 15
0
bool fullscreen()
{
	return get("fullscreen", false);
}
Esempio n. 16
0
std::string allied_color() {
	std::string ally_color = get("ally_orb_color");
	if (ally_color.empty())
		return game_config::colors::ally_orb_color;
	return fix_orb_color_name(ally_color);
}
Esempio n. 17
0
bool idle_anim()
{
	return  get("idle_anim", true);
}
Esempio n. 18
0
std::string core_id() {
	std::string core_id = get("core");
	if (core_id.empty())
		return "default";
	return core_id;
}
Esempio n. 19
0
bool grid()
{
	return get("grid", false);
}
Esempio n. 20
0
std::string enemy_color() {
	std::string enemy_color = get("enemy_orb_color");
	if (enemy_color.empty())
		return game_config::colors::enemy_orb_color;
	return fix_orb_color_name(enemy_color);
}
Esempio n. 21
0
bool UI_sound_on()
{
	return get("UI_sound", true);
}
Esempio n. 22
0
std::string unmoved_color() {
	std::string unmoved_color = get("unmoved_orb_color");
	if (unmoved_color.empty())
		return game_config::colors::unmoved_orb_color;
	return fix_orb_color_name(unmoved_color);
}
Esempio n. 23
0
bool sound_on()
{
	return get("sound", true);
}
Esempio n. 24
0
std::string partial_color() {
	std::string partmoved_color = get("partial_orb_color");
	if (partmoved_color.empty())
		return game_config::colors::partial_orb_color;
	return fix_orb_color_name(partmoved_color);
}
Esempio n. 25
0
bool stop_music_in_background()
{
	return get("stop_music_in_background", false);
}
Esempio n. 26
0
bool scroll_to_action()
{
	return get("scroll_to_action", true);
}
Esempio n. 27
0
int joystick_mouse_deadzone()
{
	const int value = utils::clamp<int>(lexical_cast_default<int>(get("joystick_scroll_deadzone"), 1500), 0, 16000);
	return value;
}
Esempio n. 28
0
bool maximized()
{
	return get("maximized", !fullscreen());
}
Esempio n. 29
0
int joystick_mouse_yaxis_num()
{
	const int value = utils::clamp<int>(lexical_cast_default<int>(get("joystick_scroll_yaxis_num"), 1), 0, 7);
	return value;
}
Esempio n. 30
0
bool confirm_load_save_from_different_version()
{
	return get("confirm_load_save_from_different_version", true);
}