summaryrefslogtreecommitdiff
path: root/src/settings_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-07 00:19:09 +0000
committerrubidium <rubidium@openttd.org>2008-01-07 00:19:09 +0000
commitacc7c9eb01b24b31334860594bbb00c85ccd8546 (patch)
treee2d571e7a2bcd64e4935d2f2df1811bb45953f7e /src/settings_func.h
parent7be2160cfb8d7c21e0e8df134af4d012b9295873 (diff)
downloadopenttd-acc7c9eb01b24b31334860594bbb00c85ccd8546.tar.xz
(svn r11771) -Codechange: split settings.h into better separated headers.
Diffstat (limited to 'src/settings_func.h')
-rw-r--r--src/settings_func.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/settings_func.h b/src/settings_func.h
new file mode 100644
index 000000000..ef23f7479
--- /dev/null
+++ b/src/settings_func.h
@@ -0,0 +1,17 @@
+/* $Id$ */
+
+/** @file settings_func.h Functions related to setting/changing the settings. */
+
+#ifndef SETTINGS_FUNC_H
+#define SETTINGS_FUNC_H
+
+bool IConsoleSetPatchSetting(const char *name, int32 value);
+void IConsoleGetPatchSetting(const char *name);
+void IConsoleListPatches();
+
+void LoadFromConfig();
+void SaveToConfig();
+void CheckConfig();
+void UpdatePatches();
+
+#endif /* SETTINGS_FUNC_H */