mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 17:33:17 +00:00
Add no_addon item to the game_config:: namespace.
This will be used to switch addons off during runtime. Used for fallback if loading fails. Can later be used to give gui controll over loading the addons.
This commit is contained in:
parent
632ce4aa44
commit
21484aa5bc
@ -60,7 +60,7 @@ namespace game_config
|
||||
std::string wesnoth_program_dir;
|
||||
bool debug = false, debug_lua = false, editor = false,
|
||||
ignore_replay_errors = false, mp_debug = false, exit_at_end = false,
|
||||
no_delay = false, disable_autosave = false;
|
||||
no_delay = false, disable_autosave = false, no_addons = false;
|
||||
|
||||
int cache_compression_level = 6;
|
||||
|
||||
|
@ -53,7 +53,7 @@ namespace game_config
|
||||
extern const int gold_carryover_percentage;
|
||||
|
||||
extern bool debug, debug_lua, editor, ignore_replay_errors, mp_debug,
|
||||
exit_at_end, no_delay, disable_autosave;
|
||||
exit_at_end, no_delay, disable_autosave, no_addons;
|
||||
|
||||
extern int cache_compression_level;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user