Added save and load functions
commit64967d7bbea0013fef7c0354d6401b6d1a7b8733
authorPhilip Pavlick <philip@swash.link>
Sun, 19 Aug 2018 07:31:26 +0000 (19 03:31 -0400)
committerPhilip Pavlick <philip@swash.link>
Sun, 19 Aug 2018 07:31:26 +0000 (19 03:31 -0400)
tree7d14fbfed4e7ca33857e7d62902a74ae42903afe
parentdb45b853e7983a8a1502d703bdbf7992ba68a1e7
Added save and load functions

The player is now able to save the current map by pressing S in-game,
and a command-line option -s has been added to allow loading of the
saved level.

As a side-effect of this commit, the game now asks for confirmation
before quitting.
src/controls.d
src/iocurses.d
src/iomain.d
src/ioterm.d
src/keymaps.d
src/main.d
src/moves.d