UFO: Alien Invasion
|
#include "../../e_main.h"
Go to the source code of this file.
Functions | |
void | CL_ActorDoThrow (const eventRegister_t *self, dbuffer *msg) |
Throw item with actor. More... | |
int | CL_ActorDoThrowTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming) |
Decides if following events should be delayed. More... | |
void CL_ActorDoThrow | ( | const eventRegister_t * | self, |
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 50 of file e_event_actorthrow.cpp.
References FIRESH_GetFiredef(), fireDef_s::fireSound, INVSH_GetItemByIDX(), LE_AddGrenade(), NET_ReadFormat(), S_LoadAndPlaySample(), SF_BOUNCED, SND_VOLUME_DEFAULT, and SOUND_ATTN_IDLE.
int CL_ActorDoThrowTime | ( | const eventRegister_t * | self, |
dbuffer * | msg, | ||
eventTiming_t * | eventTiming | ||
) |
Decides if following events should be delayed.
Definition at line 32 of file e_event_actorthrow.cpp.
References eventTiming_s::impactTime, NET_ReadShort(), eventTiming_s::nextTime, eventTiming_s::parsedDeath, and eventTiming_s::shootTime.