| 1 |
|
#include "Daodan.h" |
| 2 |
|
#include "Daodan_Patch.h" |
| 3 |
|
#include "Daodan_Utility.h" |
| 4 |
+ |
#include "Daodan_Win32.h" |
| 5 |
|
|
| 6 |
|
#include "Oni.h" |
| 7 |
|
#include "BFW_Utility.h" |
| 82 |
|
DDrPatch_MakeJump(UUrMachineTime_High_Frequency, DDrMachineTime_High_Frequency); |
| 83 |
|
DDrPatch_MakeJump(UUrMachineTime_Sixtieths, DDrMachineTime_Sixtieths); |
| 84 |
|
|
| 85 |
+ |
// Windowed mode |
| 86 |
+ |
DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize); |
| 87 |
+ |
DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize); |
| 88 |
+ |
|
| 89 |
+ |
init_daodan_gl(); |
| 90 |
+ |
|
| 91 |
|
ONiMain(argc, argv); |
| 92 |
|
} |
| 93 |
|
|