Eliminat el punter a "section"

This commit is contained in:
2024-09-28 09:28:22 +02:00
parent 0a8d0479a0
commit 8d263931b2
19 changed files with 191 additions and 172 deletions

35
source/section.h Normal file
View File

@@ -0,0 +1,35 @@
#pragma once
#include <SDL2/SDL.h>
namespace section
{
// Secciones del programa
enum name_e
{
NAME_INIT = 0,
NAME_LOGO = 1,
NAME_INTRO = 2,
NAME_TITLE = 3,
NAME_GAME = 4,
NAME_HI_SCORE_TABLE = 5,
NAME_GAME_DEMO = 6,
NAME_INSTRUCTIONS = 7,
NAME_QUIT = 8,
};
// Opciones para la sección
enum options_e
{
OPTIONS_GAME_PLAY_1P = 0,
OPTIONS_GAME_PLAY_2P = 1,
OPTIONS_TITLE_1 = 2,
OPTIONS_TITLE_2 = 3,
OPTIONS_QUIT_NORMAL = 4,
OPTIONS_QUIT_SHUTDOWN = 5,
OPTIONS_NULL = 6,
};
extern name_e name;
extern options_e options;
}