Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Enumerations | Variables
sound.h File Reference

Sound plugin interface. More...

#include "math/vector.h"
#include "common/logger.h"
#include <string>
Include dependency graph for sound.h:

Go to the source code of this file.

Classes

class  CSoundInterface
 Sound plugin interface. More...
 

Enumerations

enum  Sound {
  SOUND_NONE = -1, SOUND_CLICK = 0, SOUND_BOUM = 1, SOUND_EXPLO = 2,
  SOUND_FLYh = 3, SOUND_FLY = 4, SOUND_STEPs = 5, SOUND_MOTORw = 6,
  SOUND_MOTORt = 7, SOUND_MOTORr = 8, SOUND_ERROR = 9, SOUND_CONVERT = 10,
  SOUND_ENERGY = 11, SOUND_PLOUF = 12, SOUND_BLUP = 13, SOUND_WARNING = 14,
  SOUND_DERRICK = 15, SOUND_LABO = 16, SOUND_STATION = 17, SOUND_REPAIR = 18,
  SOUND_RESEARCH = 19, SOUND_INSECTs = 20, SOUND_BURN = 21, SOUND_TZOING = 22,
  SOUND_GGG = 23, SOUND_MANIP = 24, SOUND_FIRE = 25, SOUND_HUMAN1 = 26,
  SOUND_STEPw = 27, SOUND_SWIM = 28, SOUND_RADAR = 29, SOUND_BUILD = 30,
  SOUND_ALARM = 31, SOUND_SLIDE = 32, SOUND_EXPLOi = 33, SOUND_INSECTa = 34,
  SOUND_INSECTb = 35, SOUND_INSECTw = 36, SOUND_INSECTm = 37, SOUND_TREMBLE = 38,
  SOUND_PSHHH = 39, SOUND_NUCLEAR = 40, SOUND_INFO = 41, SOUND_OPEN = 42,
  SOUND_CLOSE = 43, SOUND_FACTORY = 44, SOUND_EGG = 45, SOUND_MOTORs = 46,
  SOUND_MOTORi = 47, SOUND_SHIELD = 48, SOUND_FIREi = 49, SOUND_GUNDEL = 50,
  SOUND_PSHHH2 = 51, SOUND_MESSAGE = 52, SOUND_BOUMm = 53, SOUND_BOUMv = 54,
  SOUND_BOUMs = 55, SOUND_EXPLOl = 56, SOUND_EXPLOlp = 57, SOUND_EXPLOp = 58,
  SOUND_STEPh = 59, SOUND_STEPm = 60, SOUND_POWERON = 61, SOUND_POWEROFF = 62,
  SOUND_AIE = 63, SOUND_WAYPOINT = 64, SOUND_RECOVER = 65, SOUND_DEADi = 66,
  SOUND_JOSTLE = 67, SOUND_GFLAT = 68, SOUND_DEADg = 69, SOUND_DEADw = 70,
  SOUND_FLYf = 71, SOUND_ALARMt = 72, SOUND_FINDING = 73, SOUND_THUMP = 74,
  SOUND_TOUCH = 75, SOUND_BLITZ = 76, SOUND_MUSHROOM = 77, SOUND_FIREp = 78,
  SOUND_EXPLOg1 = 79, SOUND_EXPLOg2 = 80, SOUND_MAX
}
 Sound enum representing sound file. More...
 
enum  SoundNext { SOPER_CONTINUE = 1, SOPER_STOP = 2, SOPER_LOOP = 3 }
 Enum representing operation that will be performend on a sound at given time. More...
 

Variables

const float MAXVOLUME = 100.0f
 

Detailed Description

Sound plugin interface.

Enumeration Type Documentation

enum Sound

Sound enum representing sound file.

sound/sound.h

Enumerator
SOUND_FLYh 

human

SOUND_STEPs 

smooth

SOUND_MOTORw 

wheel

SOUND_MOTORt 

tank

SOUND_MOTORr 

roller

SOUND_INSECTs 

spider

SOUND_FIRE 

shooting with fireball

SOUND_HUMAN1 

breathing

SOUND_STEPw 

water

SOUND_ALARM 

energy alarm

SOUND_EXPLOi 

insect

SOUND_INSECTa 

ant

SOUND_INSECTb 

bee

SOUND_INSECTw 

worm

SOUND_INSECTm 

mother

SOUND_MOTORs 

submarine

SOUND_MOTORi 

insect (legs)

SOUND_FIREi 

shooting with orgaball (insect)

SOUND_PSHHH2 

shield

SOUND_BOUMm 

metal

SOUND_BOUMv 

plant

SOUND_BOUMs 

smooth

SOUND_EXPLOl 

little

SOUND_EXPLOlp 

little power

SOUND_EXPLOp 

power

SOUND_STEPh 

hard

SOUND_STEPm 

metal

SOUND_DEADg 

shooting death

SOUND_DEADw 

drowning

SOUND_FLYf 

reactor fail

SOUND_ALARMt 

temperature alarm

SOUND_FINDING 

finds a cache object

SOUND_FIREp 

shooting with phazer

SOUND_EXPLOg1 

impact gun 1

SOUND_EXPLOg2 

impact gun 2

SOUND_MAX 

number of items in enum

enum SoundNext

Enum representing operation that will be performend on a sound at given time.

Enumerator
SOPER_CONTINUE 

continue playing

SOPER_STOP 

stop playing

SOPER_LOOP 

start over

Variable Documentation

const float MAXVOLUME = 100.0f

Maximum possible audio volume