|
UFO: Alien Invasion
|
#include "../../e_main.h"

Go to the source code of this file.
Functions | |
| void | CL_SoundEvent (const eventRegister_t *self, dbuffer *msg) |
| Play a sound on the client side. | |
| 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.
| [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 cl, CL_ActorGetClosest(), CL_ConvertSoundFromEvent(), cls, Com_DPrintf(), DEBUG_SOUND, eventRegister_t::formatString, LE_Get(), LE_IsBreakable, LE_IsDoor, LE_IsLivingActor(), MAX_QPATH, MAX_ROUTE, NET_ReadFormat(), le_t::origin, S_LoadAndPlaySample(), SND_VOLUME_DEFAULT, SOUND_ATTN_NORM, le_t::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_t::impactTime, LE_Get(), LE_NotFoundError, MAX_QPATH, MAX_ROUTE, NET_ReadFormat(), eventTiming_t::nextTime, and eventTiming_t::shootTime.