- [FIX] No s'escoltava so, no estic segur de perqué. He agafat el JailAudio de mini i ja va tot. - [NEW] Afegida opció "SET INFINITELIVES" desde la consola - [NEW] Afegida opció "SET KIOSK" desde la consola - [FIX] Les SDL_texture es veien borroses - [FIX] En windows no es carregaven be els GIFs del txt per culpa del salt de linea doble que té.
39 lines
906 B
C++
39 lines
906 B
C++
#pragma once
|
|
|
|
namespace config
|
|
{
|
|
#define SOUND_ALL 0
|
|
#define SOUND_BASIC 1
|
|
#define SOUND_NONE 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
|
|
#define KEY_MENU 6
|
|
|
|
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);
|
|
|
|
void setProgoloDesbloquejat();
|
|
const bool isProgoloDesbloquejat();
|
|
|
|
void setKioskMode(const bool value);
|
|
const bool getKioskMode();
|
|
|
|
void setInifiniteLives(const bool value);
|
|
const bool getInfiniteLives();
|
|
} |