Refactored the maze functions to be a builder that can do different things to the maze. Also when I hit p in the game it'll save the map to a file. This was extremely hard for no reason.
This commit is contained in:
parent
20f03731e5
commit
5f1a453fb4
8 changed files with 270 additions and 254 deletions
|
@ -320,6 +320,8 @@ namespace gui {
|
|||
sound::mute(false);
|
||||
$debug_ui.debug();
|
||||
shaders::reload();
|
||||
dbc::log("save map!");
|
||||
$map_ui.save_map("map.txt", $main_ui.$compass_dir);
|
||||
break;
|
||||
case KEY::O:
|
||||
autowalking = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue