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

Comparing Daodan/MSVC/Daodan.c (file contents):
Revision 573 by gumby, Thu Sep 9 09:27:04 2010 UTC vs.
Revision 574 by gumby, Mon Oct 11 08:22:59 2010 UTC

# Line 205 | Line 205 | bool DDrPatch_Init()
205          }
206          
207          // Disable loading the vtuneapi.dll
208 <        if (patch_killvtune)
209 <                DDrPatch_Byte  (OniExe + 0x00026340, 0xC3);
208 >        //if (patch_killvtune)
209 >                //DDrPatch_Byte  (OniExe + 0x00026340, 0xC3);
210          
211          // Disable Oni's internal CLrGetCommandLine function (to eventually replace it with our own)
212          if (patch_getcmdline)
# Line 234 | Line 234 | bool DDrPatch_Init()
234                  };      
235                  DDrPatch_Const(0x0051BB64, regen_patch);
236          }
237 +        //Flatline related stuff
238          DDrPatch_MakeCall(0x004FBCEA, DDrText_Hook);
239 +        
240          DDrPatch_Int32( 0x004B24D2,     FLrSpawnHack);
241 +
242          DDrPatch_NOOP(0x004C26CB, 6);
243          DDrPatch_MakeCall( 0x004C26CB, FLrHook_DoorOpen);
244 <        
244 >        DDrPatch_MakeCall( 0x004EE3CF, FLrHook_ConsoleActivate);
245          return true;
246   }
247  

Diff Legend

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