ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan.c
(Generate patch)

Comparing Daodan/src/Daodan.c (file contents):
Revision 473 by gumby, Fri Oct 30 07:41:39 2009 UTC vs.
Revision 476 by gumby, Tue Nov 3 10:38:47 2009 UTC

# Line 7 | Line 7
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  
# Line 52 | Line 53 | bool patch_daodaninit = true;
53   bool patch_bsl = true;
54   bool patch_cheater = true;
55  
56 < bool patch_newweapon = true;
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()
# Line 178 | Line 179 | bool DDrPatch_Init()
179  
180          //Test newweap patch
181   //      if (patch_newweapon) {
182 < //              DDrPatch_NOOP( OniExe + 0x000E4DF8, 2);
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

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)