| 7 |
|
#include "Daodan_Cheater.h" |
| 8 |
|
#include "Daodan_Persistence.h" |
| 9 |
|
#include "Daodan_BSL.h" |
| 10 |
+ |
#include "Daodan_Console.h" |
| 11 |
|
|
| 12 |
|
#include "Daodan_WindowHack.h" |
| 13 |
|
|
| 47 |
|
bool patch_daodandisplayenum = true; |
| 48 |
|
bool patch_usegettickcount = true; |
| 49 |
|
bool patch_cheatsenabled = true; |
| 50 |
< |
bool patch_usedaodangl = false; |
| 51 |
< |
bool patch_windowhack = true; |
| 50 |
> |
bool patch_usedaodangl = true; |
| 51 |
> |
bool patch_windowhack = false; |
| 52 |
|
bool patch_daodaninit = true; |
| 53 |
|
bool patch_bsl = true; |
| 54 |
|
bool patch_cheater = true; |
| 55 |
|
|
| 56 |
+ |
// bool patch_newweapon = true; |
| 57 |
+ |
|
| 58 |
|
bool opt_usedaodanbsl = true; |
| 59 |
|
bool opt_border = true; |
| 60 |
< |
bool opt_shadow = true; |
| 60 |
> |
bool opt_shadow = false; |
| 61 |
|
bool opt_topmost = false; |
| 62 |
|
|
| 63 |
|
bool DDrPatch_Init() |
| 176 |
|
DDrPatch_Byte (OniExe + 0x00135af0, 0x07); |
| 177 |
|
DDrPatch_Byte (OniExe + 0x00135af4, 0x0B); |
| 178 |
|
} |
| 179 |
+ |
|
| 180 |
+ |
//Test newweap patch |
| 181 |
+ |
// if (patch_newweapon) { |
| 182 |
+ |
|
| 183 |
+ |
//Makes it always say "Recieved weapon_name." |
| 184 |
+ |
//Needs check for loc_4DFC66 |
| 185 |
+ |
DDrPatch_NOOP( OniExe + 0x000E4DF8,2); |
| 186 |
+ |
|
| 187 |
+ |
//Adds Weapon name and ammo meter to pickup autoprompt |
| 188 |
+ |
DDrPatch_NOOP( OniExe + 0x000FAC73, 9); |
| 189 |
+ |
DDrPatch_NOOP( OniExe + 0x000FAC80, 5); |
| 190 |
+ |
DDrPatch_MakeCall( OniExe + 0xFAC85, DDrWeapon2Message); |
| 191 |
+ |
|
| 192 |
+ |
//Moves location of colors |
| 193 |
+ |
DDrPatch_Int32( OniExe + 0x0002E3D5, (int)&DDrDSayColors[0].Char ); |
| 194 |
+ |
DDrPatch_Int32( OniExe + 0x0002E3DA, (int)&DDrDSayColors[0].Char ); |
| 195 |
+ |
// } |
| 196 |
|
|
| 197 |
|
// Disable loading the vtuneapi.dll |
| 198 |
|
if (patch_killvtune) |