UFO: Alien Invasion
Loading...
Searching...
No Matches
e_event_actormove.h File Reference
#include "../../e_main.h"
Include dependency graph for e_event_actormove.h:
This graph shows which files directly or indirectly include this file:

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.
void CL_ActorDoMove (const eventRegister_t *self, dbuffer *msg)
 Moves actor.

Function Documentation

◆ CL_ActorDoMove()

void CL_ActorDoMove ( const eventRegister_t * self,
dbuffer * msg )

Moves actor.

Parameters
[in]selfPointer to the event structure that is currently executed
[in]msgThe netchannel message
See also
LET_PathMove
Note
EV_ACTOR_MOVE

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_t::dvtab, le_t::endTime, le_t::entnum, ERR_DROP, getDVdir, i, le_t::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_t::newPos, le_t::pathContents, le_t::pathLength, le_t::pathPos, le_t::pos, le_t::resetFloor(), le_t::speed, le_t::startTime, le_t::team, le_t::type, and VectorCompare.

◆ CL_ActorDoMoveTime()

int CL_ActorDoMoveTime ( const eventRegister_t * self,
dbuffer * msg,
eventTiming_t * eventTiming )