| 44 |  | // Sets the fadetime to 4800 by default | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 45 |  | DDrPatch_Int16 (OniExe + 0x0011ab0e, 0x12c0); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 46 |  |  | 
 
 
 
 
 
 
 
 
 | 47 | – | // Patch for alt-tab and the start menu | 
 
 
 
 
 
 
 
 
 | 48 | – | DDrPatch_Byte  (OniExe + 0x00026010, 0xC3); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 47 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 48 |  | // Hackish fix for Konoko not kicking guns | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 49 |  | //      const char kickgun_patch[] = { 0x00, 0x05, 0x00, 0x00, 0x00, 0xC7, 0x05, 0x1C, 0xC9, 0x5E, 0x00, 0x70, 0xB8, 0x43, 0x00, 0xC7, 0x05, 0x20, 0xC9, 0x5E, 0x00, 0x20, 0xBE, 0x43 }; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 56 |  | //      const char throwtest_patch[] = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 }; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 57 |  | //      DDrPatch_Const(OniExe + 0x000dc190, throwtest_patch); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 |  |  | 
 
 
 
 
 
 
 
 | 59 | + | // Disable UUrPlatform_Initalize/Terminate, this enables the Alt-Tab and the Windows key but has the possible side effect of allowing the screensaver to enable itself in-game. | 
 
 
 
 
 
 
 
 | 60 | + | DDrPatch_Byte  ((void*)UUrPlatform_Initialize, 0xC3); | 
 
 
 
 
 
 
 
 | 61 | + | DDrPatch_Byte  ((void*)UUrPlatform_Terminate, 0xC3); | 
 
 
 
 
 
 
 
 | 62 | + |  | 
 
 
 
 
 
 
 
 | 63 | + | // Unlocks particle action disabling/enabling bits for all events. (Will be controlled by a command line switch when I figure out how to do that without Win32 hacks.) | 
 
 
 
 
 
 
 
 | 64 | + | //DDrPatch_Int16 (OniExe + 0x001b184, 0x9090); | 
 
 
 
 
 
 
 
 | 65 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 66 |  | return true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 67 |  | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 |  |  |