UFO: Alien Invasion
|
#include "../../../../client.h"
#include "../../../cl_actor.h"
#include "e_event_actorshoothidden.h"
Go to the source code of this file.
Functions | |
int | CL_ActorShootHiddenTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming) |
Decides if following events should be delayed. More... | |
void | CL_ActorShootHidden (const eventRegister_t *self, dbuffer *msg) |
Shoot with weapon but don't bother with animations - actor is hidden. More... | |
void CL_ActorShootHidden | ( | const eventRegister_t * | self, |
dbuffer * | msg | ||
) |
Shoot with weapon but don't bother with animations - actor is hidden.
Definition at line 66 of file e_event_actorshoothidden.cpp.
References fireDef_s::bounce, fireDef_s::bounceSound, CL_ActorPlaySound(), CL_OutsideMap(), f, fireDef_s::fireAttenuation, FIRESH_GetFiredef(), fireDef_s::fireSound, fireDef_s::hitBodySound, fireDef_s::impactAttenuation, fireDef_s::impactSound, INVSH_GetItemByIDX(), LE_Get(), LE_NotFoundError, NET_ReadFormat(), Q_strvalid, S_LoadAndPlaySample(), SF_BODY, SF_BOUNCING, SF_IMPACT, SKIP_LOCAL_ENTITY, SND_HURT, SND_VOLUME_WEAPONS, fireDef_s::soundOnce, and fireDef_s::splrad.
int CL_ActorShootHiddenTime | ( | const eventRegister_t * | self, |
dbuffer * | msg, | ||
eventTiming_t * | eventTiming | ||
) |
Decides if following events should be delayed.
Definition at line 32 of file e_event_actorshoothidden.cpp.
References CL_GetNextTime(), fireDef_s::delayBetweenShots, FIRESH_GetFiredef(), eventTiming_s::impactTime, INVSH_GetItemByIDX(), NET_ReadFormat(), eventTiming_s::nextTime, eventTiming_s::parsedDeath, and eventTiming_s::shootTime.