Open SuperFola opened 1 year ago
./src/Pataro/Map/Level.cpp:38: warning: Level::get_entity has 26 NLOC, 17 CCN, 204 token, 2 PARAM, 32 length
./src/Pataro/Engine.cpp:53: warning: Engine::update has 38 NLOC, 17 CCN, 252 token, 0 PARAM, 48 length
./src/Pataro/Map/Level.cpp:38: warning: Level::get_entity has 26 NLOC, 17 CCN, 204 token, 2 PARAM, 32 length
./src/Pataro/Engine.cpp:53: warning: Engine::update has 38 NLOC, 17 CCN, 252 token, 0 PARAM, 48 length
New PR for #16 so that it lives on the repo (easier for me to do rebases to update the git history of the PR).
This adds loading and saving methods for:
Entity -> this seems to fail when saving
Engine
Map
Level
Room
Tile
TCODColor
Container
Attacker
Destructible
Use
As well as load_and_construct methods where appropriate
Polymorphic Type Registration for MonsterDestructible WIP
Added cereal as a dependency in vcpkg.json
Closes #13