Created the generator hierarchy

This commit is contained in:
Kayne Ruse
2014-06-21 06:47:30 +10:00
parent d3bf099a98
commit 924ebc2ee9
20 changed files with 475 additions and 39 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#config
INCLUDES+=. ../../common/map
INCLUDES+=. ../mapgen ../../common/map
LIBS+=
CXXFLAGS+=-std=c++11 $(addprefix -I,$(INCLUDES))
+3 -9
View File
@@ -22,21 +22,15 @@
#ifndef ROOMDATA_HPP_
#define ROOMDATA_HPP_
#include "map_type.hpp"
//map system
#include "region_pager_lua.hpp"
struct RoomData {
enum class RoomType {
OVERWORLD = 0,
RUINS = 1,
TOWERS = 2,
FORESTS = 3,
CAVE = 4,
};
//members
RegionPagerLua pager;
RoomType type;
MapType type;
//TODO: collision map
//TODO: NPCs?