UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
e_event_actorreactionfireaddtarget.cpp File Reference

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. More...
 

Function Documentation

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_s::entnum, LE_CenterView(), LE_Get(), LE_NotFoundError, fireDef_s::name, NET_ReadFormat(), le_s::origin, fireDef_s::range, UI_ExecuteConfunc(), and VectorDist.

int CL_ActorReactionFireAddTargetTime ( const eventRegister_t self,
dbuffer msg,
eventTiming_t eventTiming 
)
static void CL_GetReactionFireHead ( const le_t le,
const char **  model,
int skin,
bool *  robot 
)
static