Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

sound.h File Reference

#include <SDL/SDL_mixer.h>
#include <vector>
#include "sample.h"
#include "music.h"

Go to the source code of this file.

Compounds

class  Sound

Defines

#define UFO_SOUND   DATAFILE("sound" DIR_SEP "ufo.wav")
#define GUN_SHOT   DATAFILE("sound" DIR_SEP "shot.wav")
#define WALK_SOUND   DATAFILE("sound" DIR_SEP "walk.wav")
#define BEAR_WALK_SOUND_1   DATAFILE("sound" DIR_SEP "squeak_walk.wav")
#define THEME_MUSIC   DATAFILE("sound" DIR_SEP "nnc1.ogg")
#define ALTERNATE_THEME   DATAFILE("sound" DIR_SEP "nnc2.ogg")

Enumerations

enum  sound { UFO_NOISE, GUNSHOT, WALKING, BEAR_WALK }


Define Documentation

#define ALTERNATE_THEME   DATAFILE("sound" DIR_SEP "nnc2.ogg")
 

Definition at line 24 of file sound.h.

Referenced by Game::step().

#define BEAR_WALK_SOUND_1   DATAFILE("sound" DIR_SEP "squeak_walk.wav")
 

Definition at line 19 of file sound.h.

Referenced by Sound::Sound().

#define GUN_SHOT   DATAFILE("sound" DIR_SEP "shot.wav")
 

Definition at line 15 of file sound.h.

Referenced by Sound::Sound().

#define THEME_MUSIC   DATAFILE("sound" DIR_SEP "nnc1.ogg")
 

Definition at line 23 of file sound.h.

Referenced by Sound::Sound(), and Game::step().

#define UFO_SOUND   DATAFILE("sound" DIR_SEP "ufo.wav")
 

Definition at line 13 of file sound.h.

Referenced by Sound::Sound().

#define WALK_SOUND   DATAFILE("sound" DIR_SEP "walk.wav")
 

Definition at line 17 of file sound.h.

Referenced by Sound::Sound().


Enumeration Type Documentation

enum sound
 

Enumeration values:
UFO_NOISE 
GUNSHOT 
WALKING 
BEAR_WALK 

Definition at line 27 of file sound.h.

Referenced by Sound::PlaySample(), and Sound::SampleIsPlaying().


Generated on Sun Dec 8 12:02:20 2002 for nnc by doxygen1.3-rc1