- [FIX] El piso de les portes frontals no es calculaba correctament - [CHG] Ara RAND també canvia de direcció després de un temps random - [FIX] Al crear un nou actor el editor no se ficava en mode SECTION_ACTOR - [NEW] Al pulsar on no hi ha actors ara se fica en mode SECTION_ROOM - [FIX] Quan estem en mode SECTION_ROOM no s'ha de vore un actor seleccionat - Més habitacions. Zona 3 acabada, començant zona 4
30 lines
710 B
C++
30 lines
710 B
C++
#pragma once
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace modules
|
|
{
|
|
namespace game
|
|
{
|
|
#define GAME_NONE -1
|
|
#define GAME_MENU 0
|
|
#define GAME_DEAD 1
|
|
#define GAME_EDITOR_MAP 2
|
|
#define GAME_EDITOR_TEMPLATES 3
|
|
#define GAME_EDITOR_COLORS 4
|
|
#define GAME_EDITOR_BITMAP_FILE 5
|
|
#define GAME_EDITOR_BITMAP_POS 6
|
|
#define GAME_EDITOR_BITMAP_SIZE 7
|
|
|
|
enum sections { SECTION_GENERAL, SECTION_ROOM, SECTION_ACTOR };
|
|
|
|
void init();
|
|
int loop();
|
|
|
|
void setSection(int value);
|
|
const int getSection();
|
|
|
|
std::vector<std::string> getGifs();
|
|
}
|
|
}
|