- [WIP] Puta que susto, una regla mal feta en el .gitignore i ja no comitaba res
- Canvi de comp
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
namespace mini
|
||||
{
|
||||
namespace audio
|
||||
{
|
||||
void init();
|
||||
void quit();
|
||||
|
||||
namespace music
|
||||
{
|
||||
void play(const char *filename, const int loop=-1);
|
||||
void pause();
|
||||
void resume();
|
||||
void stop(const int t=1000);
|
||||
namespace pos {
|
||||
void set(float value);
|
||||
float get();
|
||||
}
|
||||
namespace enable {
|
||||
void set(const bool value);
|
||||
const bool get();
|
||||
}
|
||||
}
|
||||
|
||||
namespace sound
|
||||
{
|
||||
int load(const char *filename);
|
||||
void free(int soundfile);
|
||||
int play(int soundfile, const int volume=-1);
|
||||
void stop(int soundchannel);
|
||||
namespace enable {
|
||||
void set(const bool value);
|
||||
const bool get();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user