UFO: Alien Invasion
e_event_doorclose.cpp File Reference
Include dependency graph for e_event_doorclose.cpp:

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

◆ CL_DoorClose()

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_t::think, and le_t::type.

◆ LET_DoorRotatingClose()

static void LET_DoorRotatingClose ( le_t le)
static

Definition at line 35 of file e_event_doorclose.cpp.

References LET_RotateDoor(), and le_t::rotationSpeed.

Referenced by CL_DoorClose().

◆ LET_DoorSlidingClose()

static void LET_DoorSlidingClose ( le_t le)
static

Definition at line 29 of file e_event_doorclose.cpp.

References LET_SlideDoor(), and le_t::slidingSpeed.

Referenced by CL_DoorClose().