Looks like this is _possibly_ working but the last step of actually loading a save needs to be figured out.
This commit is contained in:
parent
6add24fed2
commit
99d56b246c
5 changed files with 37 additions and 9 deletions
2
gui.cpp
2
gui.cpp
|
@ -59,7 +59,7 @@ void GUI::resize_map(int new_size) {
|
|||
|
||||
void GUI::save_world() {
|
||||
$log.log("Game saved!");
|
||||
save::to_file("./savefile.world", $world);
|
||||
save::to_file("./savefile.world", $world, $game_map);
|
||||
}
|
||||
|
||||
void GUI::create_renderer() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue