darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

Saving the game should save all temporary (touched/dirty) maps #87

Open darkf opened 7 years ago

darkf commented 7 years ago

In order for a savegame to be complete it needs to save every map loaded/touched from the base game.

This means keeping around a dict of {map: SerializedMap} in memory and switching to the serialized variant instead of loadMap when loading back to it. (We really probably need some kind of Game manager class that handles the loading/switching of maps.)