UFO: Alien Invasion
Loading...
Searching...
No Matches
e_event_dooropen.cpp File Reference
Include dependency graph for e_event_dooropen.cpp:

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.

Function Documentation

◆ CL_DoorOpen()

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, eventRegister_t::formatString, LE_Get(), LE_NotFoundError, LE_SetThink(), LET_DoorRotatingOpen(), LET_DoorSlidingOpen(), NET_ReadFormat(), le_t::think, and le_t::type.

◆ LET_DoorRotatingOpen()

void LET_DoorRotatingOpen ( le_t * le)
static

Definition at line 35 of file e_event_dooropen.cpp.

References LET_RotateDoor(), and le_t::rotationSpeed.

Referenced by CL_DoorOpen().

◆ LET_DoorSlidingOpen()

void LET_DoorSlidingOpen ( le_t * le)
static

Definition at line 29 of file e_event_dooropen.cpp.

References LET_SlideDoor(), and le_t::slidingSpeed.

Referenced by CL_DoorOpen().