--- Daodan/src/Daodan_Config.c 2013/04/29 16:29:16 838 +++ Daodan/src/Daodan_Config.c 2013/07/26 10:42:31 893 @@ -20,22 +20,23 @@ bool patch_cheattable = true; bool patch_clipcursor = true; bool patch_cooldowntimer = true; bool patch_daodandisplayenum = true; -bool patch_daodaninit = true; bool patch_directinput = true; bool patch_disablecmdline = true; +bool patch_flatline = true; bool patch_fonttexturecache = true; bool patch_getcmdline = true; bool patch_kickguns = false; bool patch_killvtune = true; bool patch_largetextures = true; bool patch_levelplugins = true; -bool patch_multibyte = false; bool patch_newweapon = true; +bool patch_nomultibyte = true; bool patch_optionsvisible = true; bool patch_particledisablebit = false; bool patch_pathfinding = true; bool patch_projaware = true; bool patch_safeprintf = true; +bool patch_showalllasersights = false; bool patch_throwtest = false; bool patch_usedaodangl = true; bool patch_usegettickcount = true; @@ -85,8 +86,8 @@ bool DDrIniCallback(char* section, bool opt_gamma = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "ignore_private_data")) opt_ignore_private_data = !_stricmp(inifile_cleanstr(value), "true"); - else if (!_stricmp(name, "multibyte")) - patch_multibyte = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "nomultibyte")) + patch_nomultibyte = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "sound")) opt_sound = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "switch")) @@ -119,12 +120,12 @@ bool DDrIniCallback(char* section, bool patch_cooldowntimer = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "daodandisplayenum")) patch_daodandisplayenum = !_stricmp(inifile_cleanstr(value), "true"); - else if (!_stricmp(name, "daodaninit")) - patch_daodaninit = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "directinput")) patch_directinput = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "disablecmdline")) patch_disablecmdline = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "flatline")) + patch_flatline = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "fonttexturecache")) patch_fonttexturecache = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "getcmdline")) @@ -137,8 +138,8 @@ bool DDrIniCallback(char* section, bool patch_largetextures = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "levelplugins")) patch_levelplugins = !_stricmp(inifile_cleanstr(value), "true"); - else if (!_stricmp(name, "multibyte")) - patch_multibyte = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "nomultibyte")) + patch_nomultibyte = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "newweap")) patch_newweapon = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "optionsvisible")) @@ -151,6 +152,8 @@ bool DDrIniCallback(char* section, bool patch_projaware = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "safeprintf")) patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true"); + else if (!_stricmp(name, "showalllasersights")) + patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "throwtest")) patch_throwtest = !_stricmp(inifile_cleanstr(value), "true"); else if (!_stricmp(name, "usedaodangl")) @@ -303,6 +306,9 @@ void DDrConfig(int argc, char* argv[]) if (fp) { fputs("[Options]\n", fp); + fputs("[Patch]\n", fp); + fputs("[BSL]\n", fp); + fputs("[Language]\n", fp); fclose(fp); } }