| 3 |
|
#include "Flatline_Server.h" |
| 4 |
|
|
| 5 |
|
//Don't modify this. |
| 6 |
< |
char * FLrHook_DoorOpen( DoorObject *Door, Character *Char) |
| 6 |
> |
char* ONICALL FLrHook_DoorOpen( DoorObject *Door, Character *Char) |
| 7 |
|
{ |
| 8 |
|
int crashStop; |
| 9 |
|
int Args[2] = {Door->Door.ID, 0}; |
| 21 |
|
crashStop = !server_started || FLsPublic_Event(EV_DOOR_OPEN, Args); |
| 22 |
|
return (char*)(Door->Door.class); |
| 23 |
|
} |
| 24 |
< |
short FLrHook_ConsoleActivate( void *inObject, Character *inCharacter ) |
| 24 |
> |
short ONICALL FLrHook_ConsoleActivate( void *inObject, Character *inCharacter ) |
| 25 |
|
{ |
| 26 |
|
if(server_started) |
| 27 |
|
{ |
| 53 |
|
} |
| 54 |
|
*/ |
| 55 |
|
|
| 56 |
< |
void FLrHook_Lasers( Character* Char ) |
| 56 |
> |
void ONICALL FLrHook_Lasers( Character* Char ) |
| 57 |
|
{ |
| 58 |
|
ONiDrawWeaponSight( Char ); |
| 59 |
|
AI2rDisplayDebuggingInfo( Char ); |