Use hashmaps to store control schemes
commit4d031fb1f84d1357f69f5979239d42c1bfbc75df
authorPhilip Pavlick <philip@swash.link>
Wed, 25 Jul 2018 08:21:02 +0000 (25 04:21 -0400)
committerPhilip Pavlick <philip@swash.link>
Wed, 25 Jul 2018 08:21:02 +0000 (25 04:21 -0400)
tree3bd19e0efcae9ffdb47576badc9c11dcbe252e6a
parent6160df9a6a3a5e93fff51e5d27ba70e401229dac
Use hashmaps to store control schemes

Instead of using a class as we originally planned, use a hashmap to
store key bindings.  Hashmaps are generated by the function "keymap" in
controls.d.
src/controls.d [new file with mode: 0644]
src/global.d
src/iocurses.d
src/iomain.d
src/keymap.d [deleted file]
src/keys.d
src/moves.d
src/spelunk.d