Files
thepool/source/config.h
Raimon Zamora 0ccd8a570a - [NEW] Sempre es pot navegar pels menus amb cursors, RETURN i ESCAPE
- [NEW] El gamepad es configura amb la info del gamescontrollerdb.txt per defecte
- [NEW] El botó de START en el gamepad funciona com el ESCAPE del teclat
- [FIX] La música ingame continuava estant mal
- [FIX] Si la música està desactivada que no sone la del logo
2024-10-06 19:23:06 +02:00

31 lines
676 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);
}