|
UFO: Alien Invasion
|
#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, dbuffer *msg, eventTiming_t *eventTiming) |
| Decides if following events should be delayed. | |
| void | CL_ActorDoThrow (const eventRegister_t *self, dbuffer *msg) |
| Throw item with actor. | |
| 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_t::fireSound, eventRegister_t::formatString, 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_t::impactTime, NET_ReadShort(), eventTiming_t::nextTime, eventTiming_t::parsedDeath, and eventTiming_t::shootTime.