Files
thepool/source/config.h
Raimon Zamora e009aef341 - [CHG] Retocat el mòdul JAudio per a adaptar-se a les necesitats del joc.
- [NEW] audio::getCurrentMusic()
- [NEW] audio::stopAllChannels()
- [FIX] El JAudio i JInput han de inicialitzarse abans de entrar al Init del joc
- Afegides músiques i alguns sons
- Comence a fer que sone cada musica i so en el seu lloc
- [TOFIX] LAG EN EL AUDIO!
2024-10-03 13:09:44 +02:00

31 lines
676 B
C++

#pragma once
namespace config
{
#define SOUND_ALL 0
#define SOUND_BASIC 1
#define SOUND_NONE 2
#define SOUND_MUSIC 2
#define KEY_UP 0
#define KEY_DOWN 1
#define KEY_LEFT 2
#define KEY_RIGHT 3
#define KEY_JUMP 4
#define KEY_PICK 5
void setMusic(const bool value);
void toggleMusic();
const bool isMusicEnabled();
void setSound(const int value);
void toggleSound();
const int getSoundMode();
void defineKey(const int which, const int key);
const int getKey(const int which);
void definePadBtn(const int which, const int btn);
const int getPadBtn(const int which);
}