I have a test now that can generate a map image so I'll make it look nice there before bringing the code into the game.

This commit is contained in:
Zed A. Shaw 2025-07-09 01:54:49 -04:00
parent cfefffe1cc
commit 2c011079a8
7 changed files with 103 additions and 50 deletions

View file

@ -411,7 +411,7 @@ void System::plan_motion(World& world, Position move_to) {
* This one is called inside the MapViewUI very often so
* just avoid GameMap unlike the others.
*/
std::wstring System::draw_map(GameLevel level, size_t view_x, size_t view_y, int compass_dir) {
std::wstring System::draw_map(GameLevel& level, size_t view_x, size_t view_y, int compass_dir) {
World &world = *level.world;
Map &map = *level.map;