(svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC.

This commit is contained in:
peter1138
2007-04-05 12:59:57 +00:00
parent 614dd12f21
commit 39f92d1f21
3 changed files with 34 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ extern Patches _patches_newgame;
bool IConsoleSetPatchSetting(const char *name, int32 value);
void IConsoleGetPatchSetting(const char *name);
void IConsoleListPatches();
const SettingDesc *GetPatchFromName(const char *name, uint *i);
bool SetPatchValue(uint index, const Patches *object, int32 value);