We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work.
This commit is contained in:
parent
55b67dcf5d
commit
d798d154ae
22 changed files with 1270 additions and 47 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
#include "components.hpp"
|
||||
#include "levelmanager.hpp"
|
||||
#include <ftxui/dom/canvas.hpp>
|
||||
|
||||
|
||||
namespace System {
|
||||
|
@ -16,4 +17,5 @@ namespace System {
|
|||
void pickup(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
|
||||
void device(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
|
||||
void plan_motion(DinkyECS::World& world, Point move_to);
|
||||
void draw_entities(DinkyECS::World &world, Map &map, const Matrix &lights, ftxui::Canvas &canvas, const Point &cam_orig, size_t view_x, size_t view_y);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue