| 46 |
|
bool patch_daodandisplayenum = true; |
| 47 |
|
bool patch_usegettickcount = true; |
| 48 |
|
bool patch_cheatsenabled = true; |
| 49 |
< |
bool patch_usedaodangl = false; |
| 50 |
< |
bool patch_windowhack = true; |
| 49 |
> |
bool patch_usedaodangl = true; |
| 50 |
> |
bool patch_windowhack = false; |
| 51 |
|
bool patch_daodaninit = true; |
| 52 |
|
bool patch_bsl = true; |
| 53 |
|
bool patch_cheater = true; |
| 54 |
|
|
| 55 |
+ |
bool patch_newweapon = true; |
| 56 |
+ |
|
| 57 |
|
bool opt_usedaodanbsl = true; |
| 58 |
+ |
bool opt_border = true; |
| 59 |
+ |
bool opt_shadow = true; |
| 60 |
+ |
bool opt_topmost = false; |
| 61 |
|
|
| 62 |
|
bool DDrPatch_Init() |
| 63 |
|
{ |
| 175 |
|
DDrPatch_Byte (OniExe + 0x00135af0, 0x07); |
| 176 |
|
DDrPatch_Byte (OniExe + 0x00135af4, 0x0B); |
| 177 |
|
} |
| 178 |
+ |
|
| 179 |
+ |
//Test newweap patch |
| 180 |
+ |
// if (patch_newweapon) { |
| 181 |
+ |
// DDrPatch_NOOP( OniExe + 0x000E4DF8, 2); |
| 182 |
+ |
// } |
| 183 |
|
|
| 184 |
|
// Disable loading the vtuneapi.dll |
| 185 |
|
if (patch_killvtune) |
| 222 |
|
case s_options: |
| 223 |
|
if (!stricmp(name, "usedaodanbsl")) |
| 224 |
|
opt_usedaodanbsl = !stricmp(inifile_cleanstr(value), "true"); |
| 225 |
+ |
else if (!stricmp(name, "border")) |
| 226 |
+ |
opt_border = !stricmp(inifile_cleanstr(value), "true"); |
| 227 |
+ |
else if (!stricmp(name, "shadow")) |
| 228 |
+ |
opt_shadow = !stricmp(inifile_cleanstr(value), "true"); |
| 229 |
+ |
else if (!stricmp(name, "topmost")) |
| 230 |
+ |
opt_topmost = !stricmp(inifile_cleanstr(value), "true"); |
| 231 |
+ |
else if (!stricmp(name, "multibyte")) |
| 232 |
+ |
patch_multibyte = !stricmp(inifile_cleanstr(value), "true"); |
| 233 |
|
else if (!stricmp(name, "debug")) |
| 234 |
|
AKgDebug_DebugMaps = !stricmp(inifile_cleanstr(value), "true"); |
| 235 |
|
else if (!stricmp(name, "debugfiles")) |