| 5 |
|
|
| 6 |
|
#include "Daodan.h" |
| 7 |
|
#include "Daodan_Patch.h" |
| 8 |
< |
#include "Daodan_Utility.h" |
| 9 |
< |
#include "Daodan_Cheater.h" |
| 10 |
< |
#include "Daodan_BSL.h" |
| 11 |
< |
#include "Daodan_Console.h" |
| 8 |
> |
#include "Patches/Utility.h" |
| 9 |
> |
#include "Patches/Cheater.h" |
| 10 |
> |
#include "Patches/BSL.h" |
| 11 |
> |
#include "Patches/Console.h" |
| 12 |
|
#include "Daodan_Config.h" |
| 13 |
< |
#include "patches/Patches.h" |
| 13 |
> |
#include "Patches/Patches.h" |
| 14 |
> |
#include "Patches/Localization.h" |
| 15 |
|
#include "bink-proxy.h" |
| 16 |
|
#include "_Version.h" |
| 17 |
|
|
| 27 |
|
char buffer[80]; |
| 28 |
|
time(&rawtime); |
| 29 |
|
timeinfo = localtime(&rawtime); |
| 30 |
< |
strftime(buffer, 80, "Daodan: %Y-%m-%d %H:%M:%S", timeinfo); |
| 30 |
> |
strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", timeinfo); |
| 31 |
|
|
| 32 |
< |
DDrStartupMessage("Daodan: Daodan v."DAODAN_VERSION_STRING" attached!"); |
| 33 |
< |
DDrStartupMessage(buffer); |
| 32 |
> |
STARTUPMESSAGE("Daodan v."DAODAN_VERSION_STRING" attached!", 0); |
| 33 |
> |
STARTUPMESSAGE("%s", buffer); |
| 34 |
|
|
| 35 |
|
DDrConfig(argc, argv); |
| 36 |
+ |
DD_Localization(); |
| 37 |
|
|
| 38 |
|
if(GetKeyState(VK_SHIFT) & 0x8000) { |
| 39 |
< |
DDrStartupMessage("Daodan: Shift"); |
| 39 |
> |
STARTUPMESSAGE("Shift", 0); |
| 40 |
|
guitest(DDrONiModule); |
| 41 |
|
} |
| 42 |
|
|