#include "../../../../client.h"
#include "../../../cl_localentity.h"
#include "e_event_actorthrow.h"
Go to the source code of this file.
Functions | |
int | CL_ActorDoThrowTime (const eventRegister_t *self, struct dbuffer *msg, const int dt) |
void | CL_ActorDoThrow (const eventRegister_t *self, struct dbuffer *msg) |
Throw item with actor. |
Definition in file e_event_actorthrow.c.
void CL_ActorDoThrow | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg | |||
) |
Throw item with actor.
[in] | self | Pointer to the event structure that is currently executed |
[in] | msg | The netchannel message |
Definition at line 40 of file e_event_actorthrow.c.
References FIRESH_GetFiredef(), fireDef_s::fireSound, model_s::flags, INVSH_GetItemByIDX(), LE_AddGrenade(), NET_ReadFormat(), S_LoadSample(), S_PlaySample(), SF_BOUNCED, SND_VOLUME_DEFAULT, and SOUND_ATTN_IDLE.
int CL_ActorDoThrowTime | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg, | |||
const int | dt | |||
) |
Definition at line 29 of file e_event_actorthrow.c.
References cl, and NET_ReadShort().