#include "../../e_main.h"
Go to the source code of this file.
Functions | |
int | CL_ActorDoMoveTime (const eventRegister_t *self, struct dbuffer *msg, const int dt) |
void | CL_ActorDoMove (const eventRegister_t *self, struct dbuffer *msg) |
Moves actor. |
Definition in file e_event_actormove.h.
void CL_ActorDoMove | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg | |||
) |
Moves actor.
[in] | self | Pointer to the event structure that is currently executed |
[in] | msg | The netchannel message |
Don't adjust dv values here- the whole thing is needed to move the actor!
Definition at line 61 of file e_event_actormove.c.
References cl, Com_Error(), le_s::endTime, le_s::entnum, ERR_DROP, FLOOR, i, LE_DoEndPathMove(), LE_Get(), LE_IsActor(), LE_IsDead, LE_Lock(), LE_NotFoundError, LE_SetThink(), LET_StartPathMove(), MAX_LE_PATHLENGTH, NET_ReadByte(), NET_ReadShort(), le_s::newPos, le_s::path, le_s::pathContents, le_s::pathLength, le_s::pathPos, le_s::speed, le_s::startTime, le_s::team, and le_s::type.
int CL_ActorDoMoveTime | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg, | |||
const int | dt | |||
) |
Definition at line 29 of file e_event_actormove.c.
References byte, cl, getDVdir, i, LE_ActorGetStepTime(), LE_Get(), LE_NotFoundError, NET_ReadShort(), le_s::path, le_s::pathLength, and le_s::pathPos.