Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions example_community_patch_settings_da.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[=========================================================================================================================================]>

[graphics]
# Vis den resterende tid for den galaktiske anomali under Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[=========================================================================================================================================]>

[graphics]
# Verbleibende Zeit der galaktischen Anomalie unter Helfen / Starten / Abholen anzeigen.
galactic_anomaly_timer = false


# Subgroup: Anzeige
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_en-GB-x-cockney.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[=============================================================================================================]>

[graphics]
# Show the remaining Galactic Anomaly time below Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_en-x-minionese.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[============================================================]>

[graphics]
# Show the remaining Galactic Anomaly time below Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[===========================================================================================================================]>

[graphics]
# Show the remaining Galactic Anomaly time below Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[====================================================================================================================]>

[graphics]
# Mostrar el tiempo restante de la anomalía galáctica debajo de Ayudar / Participar / Reclamar.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[=======================================================================================================================================================]>

[graphics]
# Afficher le temps restant de l’anomalie galactique sous les boutons Aider / Participer / Récupérer.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_nl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[==============================================================================================================================================================]>

[graphics]
# Toon de resterende tijd van de galactische anomalie onder Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[===========================================================================================================================]>

[graphics]
# Показывать оставшееся время галактической аномалии под кнопками помощи, участия и наград.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
3 changes: 3 additions & 0 deletions example_community_patch_settings_tlh.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ enable_experimental = false
# <[==========================================================================]>

[graphics]
# Show the remaining Galactic Anomaly time below Help All / Engage / Claim.
galactic_anomaly_timer = false


# Subgroup: Display
# -----------------
Expand Down
2 changes: 2 additions & 0 deletions mods/src/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,8 @@ void Config::Load()
get_config_or_default<std::string>(config, parsed, "graphics", "loader_image", DCG::loader_image, write_log);
this->loader_logo_scale =
get_config_or_default(config, parsed, "graphics", "loader_logo_scale", DCG::loader_logo_scale, write_log);
this->galactic_anomaly_timer =
get_config_or_default(config, parsed, "graphics", "galactic_anomaly_timer", DCG::galactic_anomaly_timer, write_log);
this->loader_tip_enabled =
get_config_or_default(config, parsed, "graphics", "loader_tip_enabled", DCG::loader_tip_enabled, write_log);

Expand Down
1 change: 1 addition & 0 deletions mods/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class Config final
std::string loader_image;
float loader_logo_scale;
bool loader_tip_enabled;
bool galactic_anomaly_timer;

bool installLoadingScreenHooks;
bool installTransitionScreenHooks;
Expand Down
1 change: 1 addition & 0 deletions mods/src/defaultconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace Control

namespace Graphics
{
constexpr bool galactic_anomaly_timer = false;
constexpr bool borderless_fullscreen = true;
constexpr bool allow_cursor = true;
constexpr const char* zoom_label_player_detail = "native";
Expand Down
Loading
Loading