UFO: Alien Invasion
|
#include "../../e_main.h"
Go to the source code of this file.
Functions | |
int | CL_ActorDoMoveTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming) |
Decides if following events should be delayed. The delay is the amount of time the actor needs to walk from the start to the end pos. More... | |
void | CL_ActorDoMove (const eventRegister_t *self, dbuffer *msg) |
Moves actor. More... | |
void CL_ActorDoMove | ( | const eventRegister_t * | self, |
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 104 of file e_event_actormove.cpp.
References cl, Com_Error(), DIRECTION_FALL, le_s::dvtab, le_s::endTime, le_s::entnum, ERR_DROP, getDVdir, i, le_s::isMoving(), LE_DoEndPathMove(), LE_Get(), LE_IsActor(), LE_IsDead, LE_IsInvisible, LE_Lock(), LE_NotFoundError, LE_SetThink(), LET_HiddenMove(), LET_StartPathMove(), MAX_ROUTE, NET_PeekLong(), NET_ReadByte(), NET_ReadGPos(), NET_ReadLong(), NET_ReadShort(), le_s::newPos, le_s::pathContents, le_s::pathLength, le_s::pathPos, le_s::pos, le_s::resetFloor(), le_s::speed, le_s::startTime, le_s::team, clientBattleScape_s::time, le_s::type, and VectorCompare.
int CL_ActorDoMoveTime | ( | const eventRegister_t * | self, |
dbuffer * | msg, | ||
eventTiming_t * | eventTiming | ||
) |
Decides if following events should be delayed. The delay is the amount of time the actor needs to walk from the start to the end pos.
Definition at line 33 of file e_event_actormove.cpp.
References Com_Error(), ERR_DROP, EV_NULL, getDVdir, leStep_s::lastMoveDuration, leStep_s::lastMoveTime, LE_ActorGetStepTime(), LE_Get(), LE_IsCrouched, LE_NotFoundError, MAX_ROUTE, Mem_AllocType, NET_PeekByte(), NET_PeekLong(), NET_ReadByte(), NET_ReadLong(), NET_ReadShort(), leStep_s::next, eventTiming_s::nextTime, oldPos, le_s::pos, PosAddDV, le_s::stepIndex, le_s::stepList, leStep_s::steps, leStep_s::stepTimes, and VectorCopy.