Añadidas nuevas funciones al botón de servicio

El botón de servicio se puede usar en cualquier sección del juego
This commit is contained in:
2024-09-15 13:03:53 +02:00
parent a435e3ed8c
commit 04935c652d
14 changed files with 171 additions and 40 deletions

View File

@@ -5,11 +5,17 @@
#include "common/input.h"
#include "const.h"
#define SERVICE_NULL 0
#define SERVICE_EXIT 1
#define SERVICE_CONFIG 2
#define SERVICE_SHADERS 3
#define SERVICE_PAUSE 4
enum service_e
{
SERVICE_NULL,
SERVICE_EXIT,
SERVICE_CONFIG,
SERVICE_SHADERS,
SERVICE_PAUSE,
SERVICE_SWAP_CONTROLLERS,
SERVICE_RESET,
SERVICE_MUTE
};
// Comprueba el botón de servicio del controlador "index"
int checkServiceButton(Input *input, int index);