summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r--src/settings_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index f92480a76..fca85de0c 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -107,6 +107,8 @@ struct SettingDesc : SettingDescBase {
SettingType GetType() const;
};
+typedef std::initializer_list<const SettingDesc> SettingTable;
+
const SettingDesc *GetSettingFromName(const char *name);
bool SetSettingValue(const SettingDesc *sd, int32 value, bool force_newgame = false);
bool SetSettingValue(const SettingDesc *sd, const char *value, bool force_newgame = false);