| 20 | 
   | 
 bool patch_clipcursor = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 21 | 
   | 
 bool patch_cooldowntimer = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 | 
   | 
 bool patch_daodandisplayenum = true; | 
 
 
 
 
 
 
 
 
 
 | 23 | 
 – | 
 bool patch_daodaninit = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
 bool patch_directinput = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
   | 
 bool patch_disablecmdline = true; | 
 
 
 
 
 
 
 
 
 | 25 | 
 + | 
 bool patch_flatline = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
   | 
 bool patch_fonttexturecache = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
 bool patch_getcmdline = true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
 bool patch_kickguns = false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 119 | 
   | 
                                 patch_cooldowntimer = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 120 | 
   | 
                         else if (!_stricmp(name, "daodandisplayenum")) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 121 | 
   | 
                                 patch_daodandisplayenum = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 | 122 | 
 – | 
                         else if (!_stricmp(name, "daodaninit")) | 
 
 
 
 
 
 
 
 
 
 | 123 | 
 – | 
                                 patch_daodaninit = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 122 | 
   | 
                         else if (!_stricmp(name, "directinput")) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 123 | 
   | 
                                 patch_directinput = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 124 | 
   | 
                         else if (!_stricmp(name, "disablecmdline")) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 125 | 
   | 
                                 patch_disablecmdline = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 | 126 | 
 + | 
                         else if (!_stricmp(name, "flatline")) | 
 
 
 
 
 
 
 
 
 | 127 | 
 + | 
                                 patch_flatline = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 128 | 
   | 
                         else if (!_stricmp(name, "fonttexturecache")) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 129 | 
   | 
                                 patch_fonttexturecache = !_stricmp(inifile_cleanstr(value), "true"); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 130 | 
   | 
                         else if (!_stricmp(name, "getcmdline")) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 303 | 
   | 
                 if (fp) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 304 | 
   | 
                 { | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 305 | 
   | 
                         fputs("[Options]\n", fp); | 
 
 
 
 
 
 
 
 
 | 306 | 
 + | 
                         fputs("[Patch]\n", fp); | 
 
 
 
 
 
 
 
 
 | 307 | 
 + | 
                         fputs("[BSL]\n", fp); | 
 
 
 
 
 
 
 
 
 | 308 | 
 + | 
                         fputs("[Language]\n", fp); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 309 | 
   | 
                         fclose(fp); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 310 | 
   | 
                 } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 311 | 
   | 
         } |