From 928fbe34f21d91052f3446df9d7e9773bdf32d47 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 22 May 2006 09:59:09 +0000 Subject: (svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files --- settings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'settings.h') diff --git a/settings.h b/settings.h index d8d83c6e2..f837ee835 100644 --- a/settings.h +++ b/settings.h @@ -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); -- cgit v1.2.3-54-g00ecf