e_event_doorclose.c File Reference

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

Go to the source code of this file.

Functions

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

Detailed Description

Definition in file e_event_doorclose.c.


Function Documentation

void CL_DoorClose ( const eventRegister_t self,
struct dbuffer msg 
)

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

See also:
EV_DOOR_CLOSE
G_ClientUseEdict
Touch_DoorTrigger

Todo:
YAW should be the orientation of the door

Definition at line 35 of file e_event_doorclose.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