e_event_dooropen.c File Reference

#include "../../../../client.h"
#include "../../../cl_localentity.h"
#include "e_event_dooropen.h"
Include dependency graph for e_event_dooropen.c:

Go to the source code of this file.

Functions

void CL_DoorOpen (const eventRegister_t *self, struct dbuffer *msg)
 Callback for EV_DOOR_OPEN event - rotates the inline model and recalc routing.

Detailed Description

Definition in file e_event_dooropen.c.


Function Documentation

void CL_DoorOpen ( const eventRegister_t self,
struct dbuffer msg 
)

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

See also:
Touch_DoorTrigger

Todo:
YAW should be the orientation of the door

Definition at line 33 of file e_event_dooropen.c.

References le_s::angles, cl, CL_RecalcRouting(), CM_SetInlineModelOrientation(), Com_DPrintf(), DEBUG_CLIENT, DOOR_ROTATION_ANGLE, le_s::inlineModelName, LE_Get(), LE_NotFoundError, NET_ReadFormat(), le_s::origin, and YAW.


Generated by  doxygen 1.6.2