Changeset 878 for Daodan/src/flatline
- Timestamp:
- Jun 2, 2013, 1:58:39 PM (11 years ago)
- Location:
- Daodan/src/flatline
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/flatline/Flatline.c
r877 r878 15 15 16 16 uint32_t last1 = 0; uint32_t last2 = 0; 17 player_info Players[MAX_PLAYERS] = {{0}, {0}, {0}, {0}};17 player_info Players[MAX_PLAYERS]; 18 18 player_info * PlayerList[MAX_CONNECTIONS] = {0}; 19 19 multiplayer_status MultiplayerStatus; … … 33 33 34 34 35 short TRrAnimation_GetType(c har* anim)35 short TRrAnimation_GetType(const void* anim) 36 36 { 37 37 return *(short*)(anim + 0x15A); … … 42 42 { 43 43 ONCC *ONCC = Char->ONCC; 44 void *TRAC = ONCC->TRAC;44 void *TRAC = (void*)ONCC->TRAC; 45 45 short index = Char->Number; 46 46 short animType; -
Daodan/src/flatline/Flatline_BSL.c
r877 r878 211 211 } 212 212 213 uint16_t tele(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret)213 uint16_t ONICALL tele(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret) 214 214 { 215 215 ActiveCharacter *AC = ONrGetActiveCharacter(ONgGameState->PlayerCharacter); -
Daodan/src/flatline/Flatline_Hooks.c
r877 r878 4 4 5 5 //Don't modify this. 6 char *FLrHook_DoorOpen( DoorObject *Door, Character *Char)6 char* ONICALL FLrHook_DoorOpen( DoorObject *Door, Character *Char) 7 7 { 8 8 int crashStop; … … 22 22 return (char*)(Door->Door.class); 23 23 } 24 short FLrHook_ConsoleActivate( void *inObject, Character *inCharacter )24 short ONICALL FLrHook_ConsoleActivate( void *inObject, Character *inCharacter ) 25 25 { 26 26 if(server_started) … … 54 54 */ 55 55 56 void FLrHook_Lasers( Character* Char )56 void ONICALL FLrHook_Lasers( Character* Char ) 57 57 { 58 58 ONiDrawWeaponSight( Char ); -
Daodan/src/flatline/Flatline_Hooks.h
r877 r878 3 3 4 4 #include "../Oni.h" 5 char *FLrHook_DoorOpen( DoorObject *Door, Character *Char);6 short FLrHook_ConsoleActivate( void *inObject, Character *inCharacter );7 void FLrHook_Lasers( Character* PlayerChar );5 char* ONICALL FLrHook_DoorOpen( DoorObject *Door, Character *Char); 6 short ONICALL FLrHook_ConsoleActivate( void *inObject, Character *inCharacter ); 7 void ONICALL FLrHook_Lasers( Character* PlayerChar ); 8 8 9 9 #endif
Note:
See TracChangeset
for help on using the changeset viewer.