| 64 | 
   | 
         // 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.) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 65 | 
   | 
         //DDrPatch_Int16 (OniExe + 0x001b184, 0x9090); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 66 | 
   | 
          | 
 
 
 
 
 
 
 
 
 | 67 | 
 + | 
         // Multi-byte patch (multiple language support) | 
 
 
 
 
 
 
 
 
 | 68 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002d8f8, 0xeb); | 
 
 
 
 
 
 
 
 
 | 69 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002d9ad, 0xeb); | 
 
 
 
 
 
 
 
 
 | 70 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002dbe2, 0xeb); | 
 
 
 
 
 
 
 
 
 | 71 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002dec3, 0xeb); | 
 
 
 
 
 
 
 
 
 | 72 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e2ab, 0xeb); | 
 
 
 
 
 
 
 
 
 | 73 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e2c4, 0xeb); | 
 
 
 
 
 
 
 
 
 | 74 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e379, 0xeb); | 
 
 
 
 
 
 
 
 
 | 75 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e48c, 0xeb); | 
 
 
 
 
 
 
 
 
 | 76 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e4d0, 0xeb); | 
 
 
 
 
 
 
 
 
 | 77 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e4f4, 0xeb); | 
 
 
 
 
 
 
 
 
 | 78 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e646, 0xeb); | 
 
 
 
 
 
 
 
 
 | 79 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e695, 0xeb); | 
 
 
 
 
 
 
 
 
 | 80 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e944, 0xeb); | 
 
 
 
 
 
 
 
 
 | 81 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e95d, 0xeb); | 
 
 
 
 
 
 
 
 
 | 82 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e98e, 0xeb); | 
 
 
 
 
 
 
 
 
 | 83 | 
 + | 
         DDrPatch_Byte  (OniExe + 0x0002e9dc, 0xeb); | 
 
 
 
 
 
 
 
 
 | 84 | 
 + | 
          | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 85 | 
   | 
         return true; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 86 | 
   | 
 } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 87 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 101 | 
   | 
         DDrPatch_MakeJump(UUrMachineTime_Sixtieths, DDrMachineTime_Sixtieths); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 102 | 
   | 
          | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 103 | 
   | 
         // Windowed mode | 
 
 
 
 
 
 
 
 
 
 
 
 | 104 | 
 < | 
         DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 105 | 
 < | 
         DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize); | 
 
 
 
 
 
 
 
 
 
 | 104 | 
 > | 
 //      DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize); | 
 
 
 
 
 
 | 105 | 
 > | 
 //      DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize); | 
 
 
 
 
 
 
 
 
 
 
 
 | 106 | 
   | 
          | 
 
 
 
 
 
 
 
 
 
 
 
 | 107 | 
 < | 
         init_daodan_gl(); | 
 
 
 
 
 
 
 
 
 
 | 107 | 
 > | 
 //      init_daodan_gl(); | 
 
 
 
 
 
 
 
 
 
 
 
 | 108 | 
   | 
          | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 109 | 
   | 
         ONiMain(argc, argv); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 110 | 
   | 
 } |