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 326 by rossy, Thu May 28 10:33:59 2009 UTC vs.
Revision 329 by rossy, Wed Jun 3 12:12:21 2009 UTC

# Line 64 | Line 64 | bool DDrPatch_Init()
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  
# Line 83 | Line 101 | void __cdecl DDrMain(int argc, char* arg
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   }

Diff Legend

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