The server is building, but still needs work
There is some missing character creation/unloading code, and there are a few other issues highlighted by TODO tags, see below. In general, 'mapIndex' has been renamed to 'roomIndex'. Multiple rooms have not been fully implemented yet, but I'm working on it. Other issues: * FileFormat needs to be changed to MapLoader * Server's character movement is still slaved to the clients The client does not build.
This commit is contained in:
+11
-5
@@ -22,6 +22,11 @@
|
||||
#ifndef ROOMDATA_HPP_
|
||||
#define ROOMDATA_HPP_
|
||||
|
||||
//map system
|
||||
#include "map_allocator.hpp"
|
||||
#include "map_file_format.hpp"
|
||||
#include "region_pager.hpp"
|
||||
|
||||
struct RoomData {
|
||||
enum class RoomType {
|
||||
OVERWORLD,
|
||||
@@ -31,11 +36,12 @@ struct RoomData {
|
||||
CAVES,
|
||||
};
|
||||
|
||||
/* TODO: more
|
||||
* "multiple rooms system" using this structure
|
||||
* Pager
|
||||
* collision map
|
||||
*/
|
||||
//members
|
||||
RegionPager<LuaAllocator, LuaFormat> pager;
|
||||
RoomType type;
|
||||
|
||||
//TODO: collision map
|
||||
//TODO: NPCs?
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user