Now have good coverage on map but need to actually confirm results in the test.
This commit is contained in:
parent
97255eb813
commit
d0d62836e3
5 changed files with 61 additions and 7 deletions
2
map.hpp
2
map.hpp
|
@ -69,6 +69,7 @@ public:
|
|||
void add_door(Room &room);
|
||||
bool can_move(Point move_to);
|
||||
void generate();
|
||||
void set_door(Room &room, int value);
|
||||
void place_rooms(Room &root);
|
||||
|
||||
Point place_entity(size_t room_index);
|
||||
|
@ -79,7 +80,6 @@ public:
|
|||
void set_target(const Point &at, int value=0);
|
||||
void clear_target(const Point &at);
|
||||
bool walk(Point &src, Point &target);
|
||||
void set_door(Room &room, int value);
|
||||
|
||||
Point map_to_camera(const Point &loc, const Point &cam_orig);
|
||||
Point center_camera(const Point &around, size_t view_x, size_t view_y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue