(svn r6450) -Feature: Make the 'patch' console command available for offline use and for

online use for player-based settings.
This commit is contained in:
Darkvater
2006-09-14 23:26:58 +00:00
parent 8515079501
commit c34691d2b0
3 changed files with 25 additions and 13 deletions

View File

@@ -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 */