(svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files

This commit is contained in:
rubidium
2006-05-22 09:59:09 +00:00
parent d9e968e759
commit a6fc0e521d
3 changed files with 4 additions and 2 deletions

View File

@@ -74,6 +74,9 @@ static inline void *ini_get_variable(const SaveLoad *sld, const void *object)
return (object == NULL) ? sld->address : (byte*)object + (ptrdiff_t)sld->address;
}
/** The patch values that are used for new games and/or modified in config file */
extern Patches _patches_newgame;
void IConsoleSetPatchSetting(const char *name, const char *value);
void IConsoleGetPatchSetting(const char *name);
const SettingDesc *GetPatchFromName(const char *name, uint *i);