diff options
author | rubidium <rubidium@openttd.org> | 2008-01-07 00:19:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-07 00:19:09 +0000 |
commit | 2469bca24c313387ebee109d35ac34863a27e2b7 (patch) | |
tree | e2d571e7a2bcd64e4935d2f2df1811bb45953f7e /src/settings_func.h | |
parent | 588f1d2aca8d3ea15233c3864d0cc729aac0d64a (diff) | |
download | openttd-2469bca24c313387ebee109d35ac34863a27e2b7.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.h | 17 |
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 */ |