#include "../../e_main.h"
Go to the source code of this file.
Functions | |
void | CL_ActorShootHidden (const eventRegister_t *self, struct dbuffer *msg) |
Shoot with weapon but don't bother with animations - actor is hidden. | |
int | CL_ActorShootHiddenTime (const eventRegister_t *self, struct dbuffer *msg, const int dt) |
Definition in file e_event_actorshoothidden.h.
void CL_ActorShootHidden | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg | |||
) |
Shoot with weapon but don't bother with animations - actor is hidden.
Definition at line 60 of file e_event_actorshoothidden.c.
References FIRESH_GetFiredef(), fireDef_s::fireSound, INVSH_GetItemByIDX(), NET_ReadFormat(), S_StartLocalSample(), SND_VOLUME_WEAPONS, and fireDef_s::soundOnce.
int CL_ActorShootHiddenTime | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg, | |||
const int | dt | |||
) |
Definition at line 28 of file e_event_actorshoothidden.c.
References cl, fireDef_s::delayBetweenShots, FIRESH_GetFiredef(), impactTime, INVSH_GetItemByIDX(), NET_ReadFormat(), nextTime, and shootTime.