|
UFO: Alien Invasion
|
#include "../../../../client.h"#include "../../../cl_localentity.h"#include "../../../cl_actor.h"#include "../../../cl_hud.h"#include "../../../../ui/ui_main.h"#include "e_event_actorreactionfireaddtarget.h"
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. | |
| 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.
| self | The event pointer |
| msg | The 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.
| int CL_ActorReactionFireAddTargetTime | ( | const eventRegister_t * | self, |
| dbuffer * | msg, | ||
| eventTiming_t * | eventTiming ) |
Definition at line 45 of file e_event_actorreactionfireaddtarget.cpp.
References CL_GetStepTime(), eventRegister_t::formatString, eventTiming_t::impactTime, LE_Get(), LE_NotFoundError, MAX_ROUTE, NET_ReadFormat(), eventTiming_t::nextTime, and eventTiming_t::shootTime.
|
static |
Definition at line 32 of file e_event_actorreactionfireaddtarget.cpp.
References le_t::bodySkin, le_t::headSkin, le_t::model1, le_t::model2, model_t::name, teamDef_t::robot, and le_t::teamDef.
Referenced by CL_ActorReactionFireAddTarget().