aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/gfx.h
diff options
context:
space:
mode:
authorWinterGrascph2016-05-21 19:36:24 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit807fda8a9a3d7b975a749c6d82232526bc43281d (patch)
treef4b5f964280fb067259ec0149885e55d4c2d0c1f /engines/dm/gfx.h
parent9655066a069bc86a956b7da19f6a06ceda2fd4bf (diff)
downloadscummvm-rg350-807fda8a9a3d7b975a749c6d82232526bc43281d.tar.gz
scummvm-rg350-807fda8a9a3d7b975a749c6d82232526bc43281d.tar.bz2
scummvm-rg350-807fda8a9a3d7b975a749c6d82232526bc43281d.zip
DM: Add wall flipping display
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r--engines/dm/gfx.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h
index 4c54ff6ca6..8b59d5194a 100644
--- a/engines/dm/gfx.h
+++ b/engines/dm/gfx.h
@@ -12,6 +12,13 @@ extern uint16 gPalCredits[16];
extern uint16 gPalEntrance[16];
extern uint16 gPalDungeonView[6][16];
+typedef struct {
+ uint16 X1;
+ uint16 X2;
+ uint16 Y1;
+ uint16 Y2;
+} Box; // @ BOX_BYTE, BOX_WORD
+
struct Frame;
enum WallSet {
kWallSetStone = 0 // @ C0_WALL_SET_STONE
@@ -91,11 +98,7 @@ class DisplayMan {
// the last two pointers are owned by this array
- byte *_wallSetBitMaps[15] = {NULL}; // @G[0696..0710]_puc_Bitmap_WallSet_...
-
- // only [7-11] is used, indexing convenience
- byte *_wallSetBitMapsNative[12] = {NULL}; // @G[0095..0099]_puc_Bitmap_Wall...
- byte *_wallSetBitMapsFlipped[12] = {NULL}; // @G[0090..0094]_puc_Bitmap_Wall...
+ byte *_wallSetBitMaps[25] = {NULL}; // @G[0696..0710]_puc_Bitmap_WallSet_...
// pointers are not owned by these fields
byte *_floorBitmap = NULL;