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 983 by alloc, Sun Mar 16 20:06:52 2014 UTC vs.
Revision 993 by alloc, Sun Apr 6 17:06:02 2014 UTC

# Line 11 | Line 11
11   #include "Daodan_Console.h"
12   #include "Daodan_Config.h"
13   #include "patches/Patches.h"
14 + #include "bink-proxy.h"
15   #include "_Version.h"
16  
17 < #include "Oni.h"
17 <
18 < #include "Oni_GL.h"
17 > #include "Oni/Oni.h"
18  
19   HMODULE DDrDLLModule;
20   HMODULE DDrONiModule;
# Line 27 | Line 26 | void __cdecl DDrMain(int argc, char* arg
26          char buffer[80];
27          time(&rawtime);
28          timeinfo = localtime(&rawtime);
29 <        strftime(buffer, 80, "Daodan: %Y-%m-%d %H:%M:%S", timeinfo);
29 >        strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", timeinfo);
30  
31 <        DDrStartupMessage("Daodan: Daodan v."DAODAN_VERSION_STRING" attached!");
32 <        DDrStartupMessage(buffer);
31 >        STARTUPMESSAGE("Daodan v."DAODAN_VERSION_STRING" attached!", 0);
32 >        STARTUPMESSAGE("%s", buffer);
33          
34          DDrConfig(argc, argv);
35  
36 +        if(GetKeyState(VK_SHIFT) & 0x8000) {
37 +                STARTUPMESSAGE("Shift", 0);
38 +                guitest(DDrONiModule);
39 +        }
40 +
41          DD_Patch_Init();
42  
43 +        BinkProxyInit();
44 +
45          ONiMain(argc, argv);
46   }
47   /*

Diff Legend

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