- Música i só amb SDL_mixer
This commit is contained in:
13
mini.h
13
mini.h
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#define MINI_VERSION "0.9.02d"
|
||||
#define MINI_VERSION "0.9.32d"
|
||||
|
||||
#define KEY_UNKNOWN 0
|
||||
#define KEY_A 4
|
||||
@@ -257,7 +257,14 @@ const char *freads();
|
||||
const char *freadw();
|
||||
bool freadb();
|
||||
|
||||
void playchirp(const char *song);
|
||||
void stopchirp();
|
||||
void playmusic(const char *filename, const int volume=-1);
|
||||
void pausemusic();
|
||||
void resumemusic();
|
||||
void stopmusic();
|
||||
|
||||
int loadsound(const char *filename);
|
||||
void freesound(int soundfile);
|
||||
int playsound(int soundfile, const int volume=-1);
|
||||
void stopsound(int soundchannel);
|
||||
|
||||
void exit();
|
||||
|
||||
Reference in New Issue
Block a user