| 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_hdscreens_lowres = true; |
| 29 |
+ |
bool patch_highres_console = true; |
| 30 |
|
bool patch_kickguns = false; |
| 31 |
|
bool patch_killvtune = true; |
| 32 |
|
bool patch_largetextures = true; |
| 33 |
|
bool patch_levelplugins = true; |
| 32 |
– |
bool patch_multibyte = false; |
| 34 |
|
bool patch_newweapon = true; |
| 35 |
+ |
bool patch_nomultibyte = true; |
| 36 |
|
bool patch_optionsvisible = true; |
| 37 |
|
bool patch_particledisablebit = false; |
| 38 |
|
bool patch_pathfinding = true; |
| 39 |
|
bool patch_projaware = true; |
| 40 |
|
bool patch_safeprintf = true; |
| 41 |
+ |
bool patch_showalllasersights = false; |
| 42 |
|
bool patch_throwtest = false; |
| 43 |
|
bool patch_usedaodangl = true; |
| 44 |
|
bool patch_usegettickcount = true; |
| 88 |
|
opt_gamma = !_stricmp(inifile_cleanstr(value), "true"); |
| 89 |
|
else if (!_stricmp(name, "ignore_private_data")) |
| 90 |
|
opt_ignore_private_data = !_stricmp(inifile_cleanstr(value), "true"); |
| 91 |
< |
else if (!_stricmp(name, "multibyte")) |
| 92 |
< |
patch_multibyte = !_stricmp(inifile_cleanstr(value), "true"); |
| 91 |
> |
else if (!_stricmp(name, "nomultibyte")) |
| 92 |
> |
patch_nomultibyte = !_stricmp(inifile_cleanstr(value), "true"); |
| 93 |
|
else if (!_stricmp(name, "sound")) |
| 94 |
|
opt_sound = !_stricmp(inifile_cleanstr(value), "true"); |
| 95 |
|
else if (!_stricmp(name, "switch")) |
| 122 |
|
patch_cooldowntimer = !_stricmp(inifile_cleanstr(value), "true"); |
| 123 |
|
else if (!_stricmp(name, "daodandisplayenum")) |
| 124 |
|
patch_daodandisplayenum = !_stricmp(inifile_cleanstr(value), "true"); |
| 122 |
– |
else if (!_stricmp(name, "daodaninit")) |
| 123 |
– |
patch_daodaninit = !_stricmp(inifile_cleanstr(value), "true"); |
| 125 |
|
else if (!_stricmp(name, "directinput")) |
| 126 |
|
patch_directinput = !_stricmp(inifile_cleanstr(value), "true"); |
| 127 |
|
else if (!_stricmp(name, "disablecmdline")) |
| 128 |
|
patch_disablecmdline = !_stricmp(inifile_cleanstr(value), "true"); |
| 129 |
+ |
else if (!_stricmp(name, "flatline")) |
| 130 |
+ |
patch_flatline = !_stricmp(inifile_cleanstr(value), "true"); |
| 131 |
|
else if (!_stricmp(name, "fonttexturecache")) |
| 132 |
|
patch_fonttexturecache = !_stricmp(inifile_cleanstr(value), "true"); |
| 133 |
|
else if (!_stricmp(name, "getcmdline")) |
| 134 |
|
patch_getcmdline = !_stricmp(inifile_cleanstr(value), "true"); |
| 135 |
+ |
else if (!_stricmp(name, "hdscreens_lowres")) |
| 136 |
+ |
patch_hdscreens_lowres = !_stricmp(inifile_cleanstr(value), "true"); |
| 137 |
+ |
else if (!_stricmp(name, "highres_console")) |
| 138 |
+ |
patch_highres_console = !_stricmp(inifile_cleanstr(value), "true"); |
| 139 |
|
else if (!_stricmp(name, "kickguns")) |
| 140 |
|
patch_kickguns = !_stricmp(inifile_cleanstr(value), "true"); |
| 141 |
|
else if (!_stricmp(name, "killvtune")) |
| 144 |
|
patch_largetextures = !_stricmp(inifile_cleanstr(value), "true"); |
| 145 |
|
else if (!_stricmp(name, "levelplugins")) |
| 146 |
|
patch_levelplugins = !_stricmp(inifile_cleanstr(value), "true"); |
| 147 |
< |
else if (!_stricmp(name, "multibyte")) |
| 148 |
< |
patch_multibyte = !_stricmp(inifile_cleanstr(value), "true"); |
| 147 |
> |
else if (!_stricmp(name, "nomultibyte")) |
| 148 |
> |
patch_nomultibyte = !_stricmp(inifile_cleanstr(value), "true"); |
| 149 |
|
else if (!_stricmp(name, "newweap")) |
| 150 |
|
patch_newweapon = !_stricmp(inifile_cleanstr(value), "true"); |
| 151 |
|
else if (!_stricmp(name, "optionsvisible")) |
| 158 |
|
patch_projaware = !_stricmp(inifile_cleanstr(value), "true"); |
| 159 |
|
else if (!_stricmp(name, "safeprintf")) |
| 160 |
|
patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true"); |
| 161 |
+ |
else if (!_stricmp(name, "showalllasersights")) |
| 162 |
+ |
patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true"); |
| 163 |
|
else if (!_stricmp(name, "throwtest")) |
| 164 |
|
patch_throwtest = !_stricmp(inifile_cleanstr(value), "true"); |
| 165 |
|
else if (!_stricmp(name, "usedaodangl")) |
| 312 |
|
if (fp) |
| 313 |
|
{ |
| 314 |
|
fputs("[Options]\n", fp); |
| 315 |
+ |
fputs("[Patch]\n", fp); |
| 316 |
+ |
fputs("[BSL]\n", fp); |
| 317 |
+ |
fputs("[Language]\n", fp); |
| 318 |
|
fclose(fp); |
| 319 |
|
} |
| 320 |
|
} |