Ripped out the string based map and created a Matrix map drawing function.

This commit is contained in:
Zed A. Shaw 2025-07-12 10:51:55 -04:00
parent d9219a8c64
commit dd541ae59d
4 changed files with 11 additions and 28 deletions

View file

@ -19,7 +19,7 @@ namespace System {
void init_positions(World &world, SpatialMap &collider);
void device(World &world, Entity actor, Entity item);
void plan_motion(World& world, Position move_to);
std::wstring draw_map(GameLevel& level, size_t view_x, size_t view_y, int compass_dir);
void draw_map(GameLevel& level, Matrix& grid, int compass_dir);
Entity spawn_item(World& world, const string& name);
bool drop_item(GameLevel& level, Entity item);