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 425 by rossy, Tue Jul 14 06:40:55 2009 UTC vs.
Revision 426 by rossy, Thu Jul 16 01:24:07 2009 UTC

# Line 36 | Line 36 | bool patch_alttab = true;
36   bool patch_particledisablebit = false;
37   bool patch_multibyte = false;
38   bool patch_cheattable = true;
39 + bool patch_argb8888 = true;
40  
41   bool patch_safeprintf = true;
42   bool patch_daodandisplayenum = true;
# Line 154 | Line 155 | bool DDrPatch_Init()
155                  DDrPatch_Int32 (OniExe + 0x000f617a, (int)&DDr_CheatTable[0].message_on);
156          }
157          
158 +        if (patch_argb8888)
159 +        {
160 +                DDrPatch_Byte  (OniExe + 0x00135af0, 0x07);
161 +                DDrPatch_Byte  (OniExe + 0x00135af4, 0x0B);
162 +        }
163 +        
164          return true;
165   }
166  
# Line 205 | Line 212 | bool DDrIniCallback(char* section, bool
212                                  patch_multibyte = !stricmp(value, "true");
213                          else if (!stricmp(name, "cheattable"))
214                                  patch_cheattable = !stricmp(value, "true");
215 +                        else if (!stricmp(name, "argb8888"))
216 +                                patch_argb8888 = !stricmp(value, "true");
217                          else if (!stricmp(name, "safeprintf"))
218                                  patch_safeprintf = !stricmp(value, "true");
219                          else if (!stricmp(name, "daodandisplayenum"))

Diff Legend

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