summaryrefslogtreecommitdiffstats
path: root/src/defs.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-08 16:41:14 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-08 16:41:34 (EDT)
commitc234b317843200c5059c57c16621fb722f579fb0 (patch)
tree6e60229f6b21e7ca6ccc1d493cbea1855b9f1c0b /src/defs.h
parent8f383005a08607d88f198a4e9ba55527986a71d2 (diff)
downloadmazefight-c234b317843200c5059c57c16621fb722f579fb0.zip
mazefight-c234b317843200c5059c57c16621fb722f579fb0.tar.gz
mazefight-c234b317843200c5059c57c16621fb722f579fb0.tar.bz2
game: Implement fog of war
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index a200ad1..51d76f3 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -80,6 +80,10 @@
#define MF_COLOR_CHKM_G 0x00
#define MF_COLOR_CHKM_B 0x00
#define MF_COLOR_CHKM_A 0xFF
+#define MF_COLOR_FOGW_R 0x2F /* Fog of war color */
+#define MF_COLOR_FOGW_G 0x2F
+#define MF_COLOR_FOGW_B 0x2F
+#define MF_COLOR_FOGW_A 0xFF
#define MF_COLOR_PLYR_R 0x00 /* Player color */
#define MF_COLOR_PLYR_G 0xAF
#define MF_COLOR_PLYR_B 0x7F