--- Daodan/src/Daodan.c 2013/07/26 10:42:31 893 +++ Daodan/src/Daodan.c 2014/04/07 10:33:27 994 @@ -5,22 +5,21 @@ #include "Daodan.h" #include "Daodan_Patch.h" -#include "Daodan_Utility.h" -#include "Daodan_Cheater.h" -#include "Daodan_BSL.h" -#include "Daodan_Console.h" +#include "Patches/Utility.h" +#include "Patches/Cheater.h" +#include "Patches/BSL.h" +#include "Patches/Console.h" #include "Daodan_Config.h" -#include "patches/Patches.h" +#include "Patches/Patches.h" +#include "Patches/Localization.h" +#include "bink-proxy.h" #include "_Version.h" -#include "Oni.h" - -#include "Oni_GL.h" +#include "Oni/Oni.h" HMODULE DDrDLLModule; HMODULE DDrONiModule; - void __cdecl DDrMain(int argc, char* argv[]) { time_t rawtime; @@ -28,16 +27,23 @@ void __cdecl DDrMain(int argc, char* arg char buffer[80]; time(&rawtime); timeinfo = localtime(&rawtime); - strftime(buffer, 80, "Daodan: %Y-%m-%d %H:%M:%S", timeinfo); + strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", timeinfo); - DDrStartupMessage("Daodan: Daodan v."DAODAN_VERSION_STRING" attached!"); - DDrStartupMessage(buffer); + STARTUPMESSAGE("Daodan v."DAODAN_VERSION_STRING" attached!", 0); + STARTUPMESSAGE("%s", buffer); DDrConfig(argc, argv); + DD_Localization(); + + if(GetKeyState(VK_SHIFT) & 0x8000) { + STARTUPMESSAGE("Shift", 0); + guitest(DDrONiModule); + } DD_Patch_Init(); - - + + BinkProxyInit(); + ONiMain(argc, argv); } /*