--- Daodan/src/Daodan.c 2009/10/17 12:35:06 467 +++ Daodan/src/Daodan.c 2009/10/30 08:52:50 474 @@ -46,13 +46,18 @@ bool patch_safeprintf = true; bool patch_daodandisplayenum = true; bool patch_usegettickcount = true; bool patch_cheatsenabled = true; -bool patch_usedaodangl = false; -bool patch_windowhack = true; +bool patch_usedaodangl = true; +bool patch_windowhack = false; bool patch_daodaninit = true; bool patch_bsl = true; bool patch_cheater = true; +// bool patch_newweapon = true; + bool opt_usedaodanbsl = true; +bool opt_border = true; +bool opt_shadow = false; +bool opt_topmost = false; bool DDrPatch_Init() { @@ -170,6 +175,11 @@ bool DDrPatch_Init() DDrPatch_Byte (OniExe + 0x00135af0, 0x07); DDrPatch_Byte (OniExe + 0x00135af4, 0x0B); } + + //Test newweap patch +// if (patch_newweapon) { +// DDrPatch_NOOP( OniExe + 0x000E4DF8, 2); +// } // Disable loading the vtuneapi.dll if (patch_killvtune) @@ -212,6 +222,14 @@ bool DDrIniCallback(char* section, bool case s_options: if (!stricmp(name, "usedaodanbsl")) opt_usedaodanbsl = !stricmp(inifile_cleanstr(value), "true"); + else if (!stricmp(name, "border")) + opt_border = !stricmp(inifile_cleanstr(value), "true"); + else if (!stricmp(name, "shadow")) + opt_shadow = !stricmp(inifile_cleanstr(value), "true"); + else if (!stricmp(name, "topmost")) + opt_topmost = !stricmp(inifile_cleanstr(value), "true"); + else if (!stricmp(name, "multibyte")) + patch_multibyte = !stricmp(inifile_cleanstr(value), "true"); else if (!stricmp(name, "debug")) AKgDebug_DebugMaps = !stricmp(inifile_cleanstr(value), "true"); else if (!stricmp(name, "debugfiles"))