--- Daodan/src/Daodan.c 2014/03/16 20:06:52 983 +++ Daodan/src/Daodan.c 2014/04/06 17:06:02 993 @@ -11,11 +11,10 @@ #include "Daodan_Console.h" #include "Daodan_Config.h" #include "patches/Patches.h" +#include "bink-proxy.h" #include "_Version.h" -#include "Oni.h" - -#include "Oni_GL.h" +#include "Oni/Oni.h" HMODULE DDrDLLModule; HMODULE DDrONiModule; @@ -27,15 +26,22 @@ 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); + if(GetKeyState(VK_SHIFT) & 0x8000) { + STARTUPMESSAGE("Shift", 0); + guitest(DDrONiModule); + } + DD_Patch_Init(); + BinkProxyInit(); + ONiMain(argc, argv); } /*