Añadida la unidad service.h

This commit is contained in:
2024-09-09 11:28:24 +02:00
parent d4417d67d5
commit 7e1085ea42
2 changed files with 44 additions and 0 deletions

15
source/service.h Normal file
View File

@@ -0,0 +1,15 @@
#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
int checkServiceButton(Input *input);