| 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; |
| 36 |
|
bool patch_pathfinding = true; |
| 37 |
|
bool patch_projaware = true; |
| 38 |
|
bool patch_safeprintf = true; |
| 39 |
+ |
bool patch_showalllasersights = false; |
| 40 |
|
bool patch_throwtest = false; |
| 41 |
|
bool patch_usedaodangl = true; |
| 42 |
|
bool patch_usegettickcount = true; |
| 120 |
|
patch_cooldowntimer = !_stricmp(inifile_cleanstr(value), "true"); |
| 121 |
|
else if (!_stricmp(name, "daodandisplayenum")) |
| 122 |
|
patch_daodandisplayenum = !_stricmp(inifile_cleanstr(value), "true"); |
| 122 |
– |
else if (!_stricmp(name, "daodaninit")) |
| 123 |
– |
patch_daodaninit = !_stricmp(inifile_cleanstr(value), "true"); |
| 123 |
|
else if (!_stricmp(name, "directinput")) |
| 124 |
|
patch_directinput = !_stricmp(inifile_cleanstr(value), "true"); |
| 125 |
|
else if (!_stricmp(name, "disablecmdline")) |
| 126 |
|
patch_disablecmdline = !_stricmp(inifile_cleanstr(value), "true"); |
| 127 |
+ |
else if (!_stricmp(name, "flatline")) |
| 128 |
+ |
patch_flatline = !_stricmp(inifile_cleanstr(value), "true"); |
| 129 |
|
else if (!_stricmp(name, "fonttexturecache")) |
| 130 |
|
patch_fonttexturecache = !_stricmp(inifile_cleanstr(value), "true"); |
| 131 |
|
else if (!_stricmp(name, "getcmdline")) |
| 152 |
|
patch_projaware = !_stricmp(inifile_cleanstr(value), "true"); |
| 153 |
|
else if (!_stricmp(name, "safeprintf")) |
| 154 |
|
patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true"); |
| 155 |
+ |
else if (!_stricmp(name, "showalllasersights")) |
| 156 |
+ |
patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true"); |
| 157 |
|
else if (!_stricmp(name, "throwtest")) |
| 158 |
|
patch_throwtest = !_stricmp(inifile_cleanstr(value), "true"); |
| 159 |
|
else if (!_stricmp(name, "usedaodangl")) |
| 306 |
|
if (fp) |
| 307 |
|
{ |
| 308 |
|
fputs("[Options]\n", fp); |
| 309 |
+ |
fputs("[Patch]\n", fp); |
| 310 |
+ |
fputs("[BSL]\n", fp); |
| 311 |
+ |
fputs("[Language]\n", fp); |
| 312 |
|
fclose(fp); |
| 313 |
|
} |
| 314 |
|
} |