UFO: Alien Invasion
|
#include "../../../../client.h"
#include "../../../cl_localentity.h"
#include "../../../cl_actor.h"
#include "e_event_sound.h"
Go to the source code of this file.
Functions | |
int | CL_SoundEventTime (const struct eventRegister_s *self, dbuffer *msg, eventTiming_t *eventTiming) |
void | CL_SoundEvent (const eventRegister_t *self, dbuffer *msg) |
Play a sound on the client side. More... | |
void CL_SoundEvent | ( | const eventRegister_t * | self, |
dbuffer * | msg | ||
) |
Play a sound on the client side.
[in] | self | Pointer to the event structure that is currently executed |
[in] | msg | holds the network data |
Definition at line 60 of file e_event_sound.cpp.
References clientBattleScape_s::cam, camera_s::camorg, cl, CL_ActorGetClosest(), CL_ConvertSoundFromEvent(), cls, Com_DPrintf(), DEBUG_SOUND, LE_Get(), LE_IsBreakable, LE_IsDoor, LE_IsLivingActor(), MAX_QPATH, MAX_ROUTE, NET_ReadFormat(), le_s::origin, S_LoadAndPlaySample(), SND_VOLUME_DEFAULT, SOUND_ATTN_NORM, client_static_s::team, le_s::team, and VectorCopy.
int CL_SoundEventTime | ( | const struct eventRegister_s * | self, |
dbuffer * | msg, | ||
eventTiming_t * | eventTiming | ||
) |
Definition at line 30 of file e_event_sound.cpp.
References CL_GetStepTime(), eventTiming_s::impactTime, LE_Get(), LE_NotFoundError, MAX_QPATH, MAX_ROUTE, NET_ReadFormat(), eventTiming_s::nextTime, and eventTiming_s::shootTime.