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:
parent
cfefffe1cc
commit
2c011079a8
7 changed files with 103 additions and 50 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue