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 474 by rossy, Fri Oct 30 08:52:50 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 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)