Changeset 431 for Daodan/src
- Timestamp:
- Jul 16, 2009, 9:14:01 AM (15 years ago)
- Location:
- Daodan/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_Character.c
r428 r431 18 18 void CHARTest() 19 19 { 20 CharacterObject TestCHAR;21 memset( &TestCHAR, 0, sizeof(CharacterObject));20 CharacterObject* TestCHAR = malloc(sizeof(CharacterObject)); 21 memset(TestCHAR, 0, sizeof(CharacterObject)); 22 22 23 memcpy(TestCHAR .Header.Type, "CHAR", 5);24 memcpy(TestCHAR .OSD.Name, "Gumby", 6);25 memcpy(TestCHAR .OSD.Class, "muro_generic", 13);26 TestCHAR .OSD.TeamID = team_syndicate;23 memcpy(TestCHAR->Header.Type, "CHAR", 4); 24 memcpy(TestCHAR->OSD.Name, "Gumby", 6); 25 memcpy(TestCHAR->OSD.Class, "muro_generic", 13); 26 TestCHAR->OSD.TeamID = team_syndicate; 27 27 28 ONrGameState_NewCharacter( &TestCHAR, NULL);28 ONrGameState_NewCharacter(TestCHAR, NULL, NULL, NULL); 29 29 } -
Daodan/src/Oni_Character.h
r428 r431 90 90 }; 91 91 92 int ONICALL ONrGameState_NewCharacter(CharacterObject* character, void* something);92 int16_t ONICALL ONrGameState_NewCharacter(CharacterObject* character, void* something, void* somethingelse, void* anotherthing); 93 93 94 94 #endif -
Daodan/src/Oni_Symbols.S
r427 r431 48 48 symbol ( _gl_gamma_ramp_valid , 0x001603fc ) 49 49 50 // Char s51 symbol ( @ONrGameState_NewCharacter@ 8, 0x000daC50 )50 // Character 51 symbol ( @ONrGameState_NewCharacter@16 , 0x000daC50 )
Note:
See TracChangeset
for help on using the changeset viewer.