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

Go to the source code of this file.

Functions

static void LET_DoorSlidingClose (le_t *le)
 
static void LET_DoorRotatingClose (le_t *le)
 
void CL_DoorClose (const eventRegister_t *self, dbuffer *msg)
 Callback for EV_DOOR_CLOSE event - rotates the inline model and recalc routing. More...
 

Function Documentation

void CL_DoorClose ( const eventRegister_t self,
dbuffer msg 
)

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

See also
EV_DOOR_CLOSE
G_ClientUseEdict
Touch_DoorTrigger

Definition at line 47 of file e_event_doorclose.cpp.

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

static void LET_DoorRotatingClose ( le_t le)
static

Definition at line 35 of file e_event_doorclose.cpp.

References LET_RotateDoor(), and le_s::rotationSpeed.

Referenced by CL_DoorClose().

static void LET_DoorSlidingClose ( le_t le)
static

Definition at line 29 of file e_event_doorclose.cpp.

References LET_SlideDoor(), and le_s::slidingSpeed.

Referenced by CL_DoorClose().