summaryrefslogtreecommitdiff
path: root/settings.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-02 15:52:19 +0000
committerDarkvater <darkvater@openttd.org>2005-05-02 15:52:19 +0000
commitd102d0c26dfad035938426ddef5c3194844999d6 (patch)
tree046b689f2282f62a4969988c6d1b6898c5d25205 /settings.h
parent7a012a3465273d3696a243c8d4a5a9561c521fce (diff)
downloadopenttd-d102d0c26dfad035938426ddef5c3194844999d6.tar.xz
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.h b/settings.h
index e4bf27601..2d7f0bf8f 100644
--- a/settings.h
+++ b/settings.h
@@ -42,4 +42,7 @@ typedef struct SettingDesc {
const void *b;
} SettingDesc;
+void IConsoleSetPatchSetting(const char *name, const char *value);
+void IConsoleGetPatchSetting(const char *name);
+
#endif /* SETTINGS_H */