mirror of
https://github.com/deater/tb1.git
synced 2024-12-22 13:29:48 +00:00
137d2b45fd
I'm merging all the the tom bombem projects into one git tree
26 lines
450 B
C
26 lines
450 B
C
#ifndef SOUND_H
|
|
#define SOUND_H
|
|
|
|
int initSound();
|
|
void shutdownSound();
|
|
|
|
int loadSound(char *name);
|
|
int playSound();
|
|
int stopSound();
|
|
void deleteSound();
|
|
void soundIdle();
|
|
|
|
void setMusicVolume(float volume);
|
|
void setFxVolume(float volume);
|
|
|
|
void playGameFX(int fx);
|
|
void playMenuFX(int fx);
|
|
|
|
void playEngine();
|
|
void stopEngine();
|
|
|
|
enum game_fx { fx_engine=0, fx_start, fx_crash, fx_win, fx_lose };
|
|
enum menu_fx { fx_action=0, fx_highlight };
|
|
|
|
#endif
|