Major revamps to color code
commitd0ea2b0e9874cdf515093d6da5770b8a84300197
authorPhilip Pavlick <philip@swash.link>
Thu, 9 Aug 2018 03:13:37 +0000 (8 23:13 -0400)
committerPhilip Pavlick <philip@swash.link>
Thu, 9 Aug 2018 03:13:37 +0000 (8 23:13 -0400)
treed0af02d59a8e09754d9bcb79af64181e4efbf05c
parent0ba9424ca057bc6d7091d07a03fc0f6f851e3d8a
Major revamps to color code

Because using the curses system for handling color and then
reinterpreting it later in the SDL interface was proving to be a hassle,
color has been genericized using a struct and that struct has been
implemented in the normal display code.  This not only made defining
colors a bit easier (though the back-end is a lot more explicit and
special-casey) it also fixed the problem of the SDL interface not
reversing colors properly.

Water is now blue.
src/color.d
src/iocurses.d
src/iomain.d
src/ioterm.d
src/main.d
src/map.d
src/monst.d
src/sym.d
src/tsyms.d
src/you.d