Eliminat el punter a "section"
This commit is contained in:
35
source/section.h
Normal file
35
source/section.h
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user