summaryrefslogtreecommitdiff
path: root/settings.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-09-14 23:26:58 +0000
committerDarkvater <Darkvater@openttd.org>2006-09-14 23:26:58 +0000
commitc34691d2b064f0e3794ebdc51a6c1fd0c449ce6a (patch)
tree986f5c07418dce4d799bc3ee9135d38693876a07 /settings.h
parent8515079501f1a67596edc3687679e1efe28fa10b (diff)
downloadopenttd-c34691d2b064f0e3794ebdc51a6c1fd0c449ce6a.tar.xz
(svn r6450) -Feature: Make the 'patch' console command available for offline use and for
online use for player-based settings.
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.h b/settings.h
index d1f9f7198..1eb26e2a0 100644
--- a/settings.h
+++ b/settings.h
@@ -78,9 +78,9 @@ static inline void *ini_get_variable(const SaveLoad *sld, const void *object)
/** The patch values that are used for new games and/or modified in config file */
extern Patches _patches_newgame;
-void IConsoleSetPatchSetting(const char *name, int32 value);
+bool IConsoleSetPatchSetting(const char *name, int32 value);
void IConsoleGetPatchSetting(const char *name);
const SettingDesc *GetPatchFromName(const char *name, uint *i);
-void SetPatchValue(uint index, const Patches *object, int32 value);
+bool SetPatchValue(uint index, const Patches *object, int32 value);
#endif /* SETTINGS_H */