UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
e_event_dooropen.cpp File Reference

Go to the source code of this file.

Functions

static void LET_DoorSlidingOpen (le_t *le)
 
static void LET_DoorRotatingOpen (le_t *le)
 
void CL_DoorOpen (const eventRegister_t *self, dbuffer *msg)
 Callback for EV_DOOR_OPEN event - rotates the inline model and recalc routing. More...
 

Function Documentation

void CL_DoorOpen ( const eventRegister_t self,
dbuffer msg 
)

Callback for EV_DOOR_OPEN event - rotates the inline model and recalc routing.

See also
Touch_DoorTrigger

Definition at line 45 of file e_event_dooropen.cpp.

References Com_Error(), ERR_DROP, ET_DOOR, ET_DOOR_SLIDING, LE_Get(), LE_NotFoundError, LE_SetThink(), LET_DoorRotatingOpen(), LET_DoorSlidingOpen(), NET_ReadFormat(), le_s::think, and le_s::type.

static void LET_DoorRotatingOpen ( le_t le)
static

Definition at line 35 of file e_event_dooropen.cpp.

References LET_RotateDoor(), and le_s::rotationSpeed.

Referenced by CL_DoorOpen().

static void LET_DoorSlidingOpen ( le_t le)
static

Definition at line 29 of file e_event_dooropen.cpp.

References LET_SlideDoor(), and le_s::slidingSpeed.

Referenced by CL_DoorOpen().