15 lines
337 B
C
15 lines
337 B
C
#pragma once
|
|
|
|
#include <SDL2/SDL.h>
|
|
#include "common/utils.h"
|
|
#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
|
|
|
|
// Comprueba el botón de servicio del controlador "index"
|
|
int checkServiceButton(Input *input, int index); |