Changeset 322 for Daodan/src
- Timestamp:
- May 15, 2009, 1:45:19 PM (16 years ago)
- Location:
- Daodan/src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/BFW_Utility.h
r276 r322 11 11 double ONICALL UUrMachineTime_High_Frequency(); 12 12 int64_t ONICALL UUrMachineTime_Sixtieths(); 13 void ONICALL UUrPlatform_Initialize(); 14 void ONICALL UUrPlatform_Terminate(); 13 15 14 16 extern FILE* ONgFileStartup; -
Daodan/src/Daodan.c
r297 r322 45 45 DDrPatch_Int16 (OniExe + 0x0011ab0e, 0x12c0); 46 46 47 // Patch for alt-tab and the start menu48 DDrPatch_Byte (OniExe + 0x00026010, 0xC3);49 47 50 48 // Hackish fix for Konoko not kicking guns … … 58 56 // const char throwtest_patch[] = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 }; 59 57 // DDrPatch_Const(OniExe + 0x000dc190, throwtest_patch); 58 59 // Disable UUrPlatform_Initalize/Terminate, this enables the Alt-Tab and the Windows key but has the possible side effect of allowing the screensaver to enable itself in-game. 60 DDrPatch_Byte ((void*)UUrPlatform_Initialize, 0xC3); 61 DDrPatch_Byte ((void*)UUrPlatform_Terminate, 0xC3); 62 63 // Unlocks particle action disabling/enabling bits for all events. (Will be controlled by a command line switch when I figure out how to do that without Win32 hacks.) 64 //DDrPatch_Int16 (OniExe + 0x001b184, 0x9090); 60 65 61 66 return true; -
Daodan/src/Oni.h
r273 r322 3 3 #define ONI_H 4 4 5 typedef struct 6 { 7 HINSTANCE Instance; 8 HWND Window; 9 } ONtPlatformData; 10 5 11 void __cdecl ONiMain(int ArgCount, char *ArgList[]); 12 short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData); 6 13 7 14 #endif -
Daodan/src/Oni_Symbols.S
r297 r322 20 20 symbol ( _ONgFileStartup , 0x001711b8 ) 21 21 22 symbol ( @UUrPlatform_Initialize@0 , 0x00026010 ) 23 symbol ( @UUrPlatform_Terminate@0 , 0x00026310 ) 24 22 25 // OpenGL 23 26 symbol ( @gl_enumerate_valid_display_modes@4 , 0x000083a0 )
Note:
See TracChangeset
for help on using the changeset viewer.