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:
Fabian Müller 2014-11-06 06:55:38 +01:00
parent 632ce4aa44
commit 21484aa5bc
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;