Changeset 893 for Daodan/src/patches
- Timestamp:
- Jul 26, 2013, 12:42:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/patches/Patches.c
r878 r893 13 13 #include "../flatline/Flatline_Hooks.h" 14 14 #include "../Oni.h" 15 //#include "Objt.h" 15 16 16 17 typedef int (__cdecl *CHINESEPROC)(DWORD ThreadId); … … 247 248 void DD_Patch_Flatline() 248 249 { 249 DDrPatch_NOOP((char*)(OniExe + 0x000E1957), 6 );250 250 DDrPatch_MakeCall((void*)(OniExe + 0x000E17F6), FLrHook_Lasers ); 251 251 … … 379 379 } 380 380 381 // Show all (also enemies') lasersights 382 void DD_Patch_ShowAllLasersights() 383 { 384 DDrPatch_NOOP((char*)(OniExe + 0x000E1957), 6 ); 385 } 386 381 387 // Experiment with allowing enemies to be thrown over railings 382 388 void DD_Patch_Throwtest() … … 479 485 } 480 486 487 /* 488 void DD_Patch_ShowTriggerVolumes() 489 { 490 DDrPatch_Int32((int*)(OniExe + 0x000cc9bb+4), (uint32_t)DD_OBJiTriggerVolume_Draw); 491 } 492 493 void DD_Patch_ShowFlags() 494 { 495 DDrPatch_Int32((int*)(OniExe + 0x000c4ed4+4), (uint32_t)DD_OBJiFlag_Draw); 496 } 497 */ 498 481 499 bool DD_Patch_Init() 482 500 { … … 560 578 if (patch_safeprintf) 561 579 DD_Patch_SafePrintf(); 580 581 if (patch_showalllasersights) 582 DD_Patch_ShowAllLasersights(); 562 583 563 584 if (patch_throwtest) … … 582 603 583 604 DD_Patch_ShowNames(); 584 605 /* 606 DD_Patch_ShowTriggerVolumes(); 607 DD_Patch_ShowFlags(); 608 */ 585 609 if (patch_flatline) 586 610 DD_Patch_Flatline();
Note:
See TracChangeset
for help on using the changeset viewer.