--- Daodan/src/Daodan_Config.c 2013/08/11 22:31:16 894 +++ Daodan/src/Daodan_Config.c 2014/04/05 10:19:11 992 @@ -6,7 +6,7 @@ #include "Daodan_Patch.h" #include "Daodan_Utility.h" -#include "Oni_Symbols.h" +#include "Oni/Oni.h" #include "Inifile_Reader.h" @@ -26,6 +26,7 @@ bool patch_flatline = true; bool patch_fonttexturecache = true; bool patch_getcmdline = true; bool patch_hdscreens_lowres = true; +bool patch_highres_console = true; bool patch_kickguns = false; bool patch_killvtune = true; bool patch_largetextures = true; @@ -38,6 +39,7 @@ bool patch_pathfinding = true; bool patch_projaware = true; bool patch_safeprintf = true; bool patch_showalllasersights = false; +bool patch_showtriggervolumes = true; bool patch_throwtest = false; bool patch_usedaodangl = true; bool patch_usegettickcount = true; @@ -59,7 +61,7 @@ bool DDrIniCallback(char* section, bool { if (!_stricmp(section, "options")) ini_section = s_options; - else if (!_stricmp(section, "patch")) + else if (!_stricmp(section, "patch") || !_stricmp(section, "patches")) ini_section = s_patch; else if (!_stricmp(section, "bsl")) ini_section = s_bsl; @@ -133,6 +135,8 @@ bool DDrIniCallback(char* section, bool patch_getcmdline = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "hdscreens_lowres")) patch_hdscreens_lowres = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "highres_console")) + patch_highres_console = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "kickguns")) patch_kickguns = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "killvtune")) @@ -157,6 +161,8 @@ bool DDrIniCallback(char* section, bool patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "showalllasersights")) patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "showtriggervolumes")) + patch_showtriggervolumes = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "throwtest")) patch_throwtest = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "usedaodangl"))