Added sound effect for grass magic tool.
Sound effects are now in stereo.
This commit is contained in:
parent
e404adb2e6
commit
c544d42145
8 changed files with 123 additions and 66 deletions
|
|
@ -1,13 +1,20 @@
|
|||
#ifndef PLAYSOUND_H
|
||||
#define PLAYSOUND_H
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_mixer.h"
|
||||
#include "sounds.h"
|
||||
|
||||
#define SNDPOS_LEFT -997
|
||||
#define SNDPOS_CENTER -998
|
||||
#define SNDPOS_RIGHT -999
|
||||
|
||||
#define SNDDIST_NEAR -999
|
||||
|
||||
extern Mix_Chunk * sounds[NUM_SOUNDS];
|
||||
extern int mute, use_sound;
|
||||
|
||||
void playsound(int chan, int s, int override);
|
||||
void playsound(SDL_Surface * screen, int chan, int s, int override, int x, int y);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue