Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions | Variables
sound.hpp File Reference
#include "inexor/network/SharedVar.hpp"

Go to the source code of this file.

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::sound
 

Enumerations

enum  { SND_MAP = 1<<0 }
 
enum  {
  S_JUMP = 0, S_LAND, S_RIFLE, S_PUNCH1,
  S_SG, S_CG, S_RLFIRE, S_RLHIT,
  S_WEAPLOAD, S_ITEMAMMO, S_ITEMHEALTH, S_ITEMARMOUR,
  S_ITEMPUP, S_ITEMSPAWN, S_TELEPORT, S_NOAMMO,
  S_PUPOUT, S_PAIN1, S_PAIN2, S_PAIN3,
  S_PAIN4, S_PAIN5, S_PAIN6, S_DIE1,
  S_DIE2, S_FLAUNCH, S_FEXPLODE, S_SPLASH1,
  S_SPLASH2, S_GRUNT1, S_GRUNT2, S_RUMBLE,
  S_PAINO, S_PAINR, S_DEATHR, S_PAINE,
  S_DEATHE, S_PAINS, S_DEATHS, S_PAINB,
  S_DEATHB, S_PAINP, S_PIGGR2, S_PAINH,
  S_DEATHH, S_PAIND, S_DEATHD, S_PIGR1,
  S_ICEBALL, S_SLIMEBALL, S_JUMPPAD, S_PISTOL,
  S_V_BASECAP, S_V_BASELOST, S_V_FIGHT, S_V_BOOST,
  S_V_BOOST10, S_V_QUAD, S_V_QUAD10, S_V_RESPAWNPOINT,
  S_FLAGPICKUP, S_FLAGDROP, S_FLAGRETURN, S_FLAGSCORE,
  S_FLAGRESET, S_BURN, S_CHAINSAW_ATTACK, S_CHAINSAW_IDLE,
  S_HIT, S_FLAGFAIL
}
 hardcoded sound slots (to reference them in code) sound files get assigned to these slots in sounds.cfg More...
 

Functions

int inexor::sound::playsound (int n, const vec *loc, extentity *ent, int flags, int loops, int fade, int chanid, int radius, int expire)
 
int inexor::sound::playsoundname (const char *s, const vec *loc, int vol, int flags, int loops, int fade, int chanid, int radius, int expire)
 
void inexor::sound::preloadsound (int n)
 
void inexor::sound::preloadmapsound (int n)
 
bool inexor::sound::stopsound (int n, int chanid, int fade)
 
void inexor::sound::stopsounds ()
 
void inexor::sound::initsound ()
 
void inexor::sound::clear_sound ()
 
void inexor::sound::clearmapsounds ()
 
void inexor::sound::updatesounds ()
 
void inexor::sound::preloadmapsounds ()
 

Variables

SharedVar< int > inexor::sound::soundchans
 
SharedVar< int > inexor::sound::soundfreq
 
SharedVar< int > inexor::sound::soundbufferlen
 

Enumeration Type Documentation

anonymous enum
Enumerator
SND_MAP 
anonymous enum

hardcoded sound slots (to reference them in code) sound files get assigned to these slots in sounds.cfg

Enumerator
S_JUMP 
S_LAND 
S_RIFLE 
S_PUNCH1 
S_SG 
S_CG 
S_RLFIRE 
S_RLHIT 
S_WEAPLOAD 
S_ITEMAMMO 
S_ITEMHEALTH 
S_ITEMARMOUR 
S_ITEMPUP 
S_ITEMSPAWN 
S_TELEPORT 
S_NOAMMO 
S_PUPOUT 
S_PAIN1 
S_PAIN2 
S_PAIN3 
S_PAIN4 
S_PAIN5 
S_PAIN6 
S_DIE1 
S_DIE2 
S_FLAUNCH 
S_FEXPLODE 
S_SPLASH1 
S_SPLASH2 
S_GRUNT1 
S_GRUNT2 
S_RUMBLE 
S_PAINO 
S_PAINR 
S_DEATHR 
S_PAINE 
S_DEATHE 
S_PAINS 
S_DEATHS 
S_PAINB 
S_DEATHB 
S_PAINP 
S_PIGGR2 
S_PAINH 
S_DEATHH 
S_PAIND 
S_DEATHD 
S_PIGR1 
S_ICEBALL 
S_SLIMEBALL 
S_JUMPPAD 
S_PISTOL 
S_V_BASECAP 
S_V_BASELOST 
S_V_FIGHT 
S_V_BOOST 
S_V_BOOST10 
S_V_QUAD 
S_V_QUAD10 
S_V_RESPAWNPOINT 
S_FLAGPICKUP 
S_FLAGDROP 
S_FLAGRETURN 
S_FLAGSCORE 
S_FLAGRESET 
S_BURN 
S_CHAINSAW_ATTACK 
S_CHAINSAW_IDLE 
S_HIT 
S_FLAGFAIL