Did a full code review to identify things to fix and either fixed them or noted BUG where I should come back.
This commit is contained in:
parent
ae43dad499
commit
9abb39a3bf
14 changed files with 72 additions and 35 deletions
6
save.hpp
6
save.hpp
|
@ -11,11 +11,13 @@ namespace save {
|
|||
namespace fs = std::filesystem;
|
||||
|
||||
struct MapData {
|
||||
int limit;
|
||||
size_t width;
|
||||
size_t height;
|
||||
std::vector<Room> rooms;
|
||||
Matrix walls;
|
||||
int limit;
|
||||
|
||||
DEFINE_SERIALIZABLE(MapData, rooms, walls);
|
||||
DEFINE_SERIALIZABLE(MapData, limit, width, height, rooms, walls);
|
||||
};
|
||||
|
||||
struct Facts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue