forked from jaildesigner-jailgames/jaildoctors_dilemma
añadido map.h y map.cpp
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#define CONST_H
|
||||
|
||||
// Textos
|
||||
#define WINDOW_CAPTION "Pepe el Cazavampiros"
|
||||
#define TEXT_COPYRIGHT "@2021 JailDesigner (v0.1)"
|
||||
#define WINDOW_CAPTION "New JailGame"
|
||||
#define TEXT_COPYRIGHT "@2022 JailDesigner (v0.1)"
|
||||
|
||||
// Tamaño de bloque
|
||||
#define BLOCK 8
|
||||
@@ -49,21 +49,20 @@ const int GAMECANVAS_FIRST_QUARTER_Y = GAMECANVAS_HEIGHT / 4;
|
||||
const int GAMECANVAS_THIRD_QUARTER_Y = (GAMECANVAS_HEIGHT / 4) * 3;
|
||||
|
||||
// Secciones del programa
|
||||
#define PROG_SECTION_LOGO 0
|
||||
#define PROG_SECTION_INTRO 1
|
||||
#define PROG_SECTION_TITLE 2
|
||||
#define PROG_SECTION_GAME 3
|
||||
#define PROG_SECTION_QUIT 4
|
||||
#define SECTION_PROG_LOGO 0
|
||||
#define SECTION_PROG_INTRO 1
|
||||
#define SECTION_PROG_TITLE 2
|
||||
#define SECTION_PROG_GAME 3
|
||||
#define SECTION_PROG_QUIT 4
|
||||
|
||||
// Subsecciones
|
||||
#define GAME_SECTION_PLAY_1P 0
|
||||
#define GAME_SECTION_PLAY_2P 1
|
||||
#define GAME_SECTION_PAUSE 2
|
||||
#define GAME_SECTION_GAMEOVER 3
|
||||
#define TITLE_SECTION_1 3
|
||||
#define TITLE_SECTION_2 4
|
||||
#define TITLE_SECTION_3 5
|
||||
#define TITLE_SECTION_INSTRUCTIONS 6
|
||||
#define SECTION_GAME_PLAY 0
|
||||
#define SECTION_GAME_PAUSE 1
|
||||
#define SECTION_GAME_GAMEOVER 2
|
||||
#define SECTION_TITLE_1 3
|
||||
#define SECTION_TITLE_2 4
|
||||
#define SECTION_TITLE_3 5
|
||||
#define SECTION_TITLE_INSTRUCTIONS 6
|
||||
|
||||
// Estados de cada elemento que pertenece a un evento
|
||||
#define EVENT_WAITING 1
|
||||
@@ -71,7 +70,7 @@ const int GAMECANVAS_THIRD_QUARTER_Y = (GAMECANVAS_HEIGHT / 4) * 3;
|
||||
#define EVENT_COMPLETED 3
|
||||
|
||||
// Estados de entrada
|
||||
#define NO_INPUT 0
|
||||
#define INPUT_NULL 0
|
||||
#define INPUT_FIRE_LEFT 7
|
||||
#define INPUT_FIRE_UP 8
|
||||
#define INPUT_FIRE_RIGHT 9
|
||||
|
||||
Reference in New Issue
Block a user