UFO: Alien Invasion
Loading...
Searching...
No Matches
e_event_actorreactionfireaddtarget.cpp File Reference
Include dependency graph for e_event_actorreactionfireaddtarget.cpp:

Go to the source code of this file.

Functions

static void CL_GetReactionFireHead (const le_t *le, const char **model, int *skin, bool *robot)
int CL_ActorReactionFireAddTargetTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming)
void CL_ActorReactionFireAddTarget (const eventRegister_t *self, dbuffer *msg)
 Network event function for reaction fire target handling. Responsible for updating the HUD with the information that were received from the server.

Function Documentation

◆ CL_ActorReactionFireAddTarget()

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

Network event function for reaction fire target handling. Responsible for updating the HUD with the information that were received from the server.

Parameters
selfThe event pointer
msgThe network message to parse the event data from

Definition at line 70 of file e_event_actorreactionfireaddtarget.cpp.

References _, CL_ActorGetReactionFireFireDef(), CL_GetReactionFireHead(), le_t::entnum, eventRegister_t::formatString, LE_CenterView(), LE_Get(), LE_NotFoundError, fireDef_t::name, NET_ReadFormat(), le_t::origin, fireDef_t::range, UI_ExecuteConfunc(), and VectorDist.

◆ CL_ActorReactionFireAddTargetTime()

◆ CL_GetReactionFireHead()

void CL_GetReactionFireHead ( const le_t * le,
const char ** model,
int * skin,
bool * robot )
static