- Timestamp:
- Jul 17, 2009, 7:04:02 AM (15 years ago)
- Location:
- Daodan
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/build.bat
r428 r437 1 gcc -O3 -s -Wall -shared -fomit-frame-pointer -o build\binkw32.dll src\Oni_Symbols.S src\Daodan.c src\Daodan_DLLStubs.c src\Daodan_Patch.c src\Daodan_Utility.c src\Daodan_Win32.c src\Daodan_Cheater.c src\Daodan_Persistence.c src\Daodan_WindowHack.c src\daodan_gl.c src\Daodan_Character.c src\ inifile_reader.c -lgdi321 gcc -O3 -s -Wall -shared -fomit-frame-pointer -o build\binkw32.dll src\Oni_Symbols.S src\Daodan.c src\Daodan_DLLStubs.c src\Daodan_Patch.c src\Daodan_Utility.c src\Daodan_Win32.c src\Daodan_Cheater.c src\Daodan_Persistence.c src\Daodan_WindowHack.c src\daodan_gl.c src\Daodan_Character.c src\Daodan_Console.c src\inifile_reader.c -lgdi32 -
Daodan/src/BFW_Utility.h
r326 r437 14 14 void ONICALL UUrPlatform_Terminate(); 15 15 16 void ONICALL COrTextArea_Print(uint32_t area, uint32_t priority, uint32_t textshade, uint32_t textshadowshade, const char* text, uint32_t unk_alwaws_0, uint32_t fadetime); 17 16 18 int __cdecl AUrMessageBox(int Buttons, char *Message, ...); 19 20 extern uint32_t COgConsoleLines; 21 extern uint32_t COgFadeTimeValue; 22 extern uint32_t COgDefaultTextShade; 23 extern uint32_t COgDefaultTextShadow; 17 24 18 25 extern FILE* ONgFileStartup; -
Daodan/src/Oni.h
r326 r437 18 18 extern ONtPlatformData ONgPlatformData; 19 19 20 extern void* ONgGameState; 21 20 22 #endif -
Daodan/src/Oni_Character.h
r435 r437 5 5 #include "Daodan.h" 6 6 #include <stdint.h> 7 #include <stdbool.h> 7 8 8 9 typedef struct { … … 22 23 float RotationScale[9]; 23 24 Vector3 Translation; 24 } Matrix4x3 25 } Matrix4x3; 25 26 26 27 typedef struct { … … 83 84 Action2_Fire1 = 0x40, 84 85 Action2_Fire2 = 0x80, 85 Action2_Fire3 = 0x100 86 Action2_Fire3 = 0x100, 86 87 }; 87 88 … … 193 194 int32_t Bone; //duh 194 195 } AttachedParticle; 196 195 197 typedef struct { //Inventory 196 198 int32_t Weapons[3]; … … 213 215 } Inventory; 214 216 215 typedef str cut { //ActiveCharacter217 typedef struct { //ActiveCharacter 216 218 int16_t Number; 217 219 int16_t field_2; //probably Number is an int32 … … 492 494 int32_t field_8BB; 493 495 int32_t PatrolPathOSD[10]; //actually another struct. Not needed atm. 494 int32_t PatrolPathPoints[5][64] //64 of another struct496 int32_t PatrolPathPoints[5][64]; //64 of another struct 495 497 int32_t field_DE8[98]; //DE8-F70 496 498 int32_t CombatStatePtr; -
Daodan/src/Oni_Symbols.S
r435 r437 17 17 symbol ( _g_Instance , 0x0021f9e4 ) 18 18 symbol ( _ONgPlatformData , 0x0023100c ) 19 symbol ( _ONgGameState , 0x001ece7c ) 19 20 20 21 //Oni Persistance … … 49 50 50 51 // Character 51 symbol ( @ONrGameState_NewCharacter@16 , 0x000daC50 ) 52 symbol ( ONrGameState_GetPlayerCharacter@0 , 0x000B63A7 ) 52 symbol ( @ONrGameState_NewCharacter@16 , 0x000dac50 ) 53 symbol ( @ONrGameState_GetPlayerCharacter@0 , 0x000b63a7 ) 54 55 // Console 56 symbol ( @COrTextArea_Print@28 , 0x00031340 ) 57 symbol ( _COgConsoleLines , 0x001cb468 ) 58 symbol ( _COgFadeTimeValue , 0x00133f68 ) 59 symbol ( _COgDefaultTextShade , 0x00133f70 ) 60 symbol ( _COgDefaultTextShadow , 0x00133f74 )
Note:
See TracChangeset
for help on using the changeset viewer.