ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/flatline/Flatline_Hooks.c
(Generate patch)

Comparing Daodan/src/flatline/Flatline_Hooks.c (file contents):
Revision 877 by alloc, Sun Jun 2 11:25:34 2013 UTC vs.
Revision 878 by alloc, Sun Jun 2 11:58:39 2013 UTC

# Line 3 | Line 3
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};
# Line 21 | Line 21 | char * FLrHook_DoorOpen( DoorObject *Doo
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          {
# Line 53 | Line 53 | void FLrHook_Lasers( Character* PlayerCh
53   }
54   */
55  
56 < void FLrHook_Lasers( Character* Char )
56 > void ONICALL FLrHook_Lasers( Character* Char )
57   {
58          ONiDrawWeaponSight( Char );
59          AI2rDisplayDebuggingInfo( Char );

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)