diff options
author | WinterGrascph | 2016-05-22 16:35:29 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 082e3fb37ccd97f9d8a782f4fb47adf9a0661ecb (patch) | |
tree | 9ea9be395b366d6d89ca2cef32d2d68ffe8aa3e9 /engines/dm/gfx.h | |
parent | 3ada56f6b1e8f2b65b6a77dbd3ff4d91bba705a0 (diff) | |
download | scummvm-rg350-082e3fb37ccd97f9d8a782f4fb47adf9a0661ecb.tar.gz scummvm-rg350-082e3fb37ccd97f9d8a782f4fb47adf9a0661ecb.tar.bz2 scummvm-rg350-082e3fb37ccd97f9d8a782f4fb47adf9a0661ecb.zip |
DM: Add global variable dependencies for isDrawnWallOrnAnAlcove
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r-- | engines/dm/gfx.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index bc7296e9c2..bbd9eb48f9 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -49,6 +49,23 @@ enum StairIndex { kStairsNativeIndex_Side_D0L = 17 // @ G0692_i_StairsNativeBitmapIndex_Side_D0L }; +enum ViewWall { + kViewWall_D3L_RIGHT = 0, // @ C00_VIEW_WALL_D3L_RIGHT + kViewWall_D3R_LEFT = 1, // @ C01_VIEW_WALL_D3R_LEFT + kViewWall_D3L_FRONT = 2, // @ C02_VIEW_WALL_D3L_FRONT + kViewWall_D3C_FRONT = 3, // @ C03_VIEW_WALL_D3C_FRONT + kViewWall_D3R_FRONT = 4, // @ C04_VIEW_WALL_D3R_FRONT + kViewWall_D2L_RIGHT = 5, // @ C05_VIEW_WALL_D2L_RIGHT + kViewWall_D2R_LEFT = 6, // @ C06_VIEW_WALL_D2R_LEFT + kViewWall_D2L_FRONT = 7, // @ C07_VIEW_WALL_D2L_FRONT + kViewWall_D2C_FRONT = 8, // @ C08_VIEW_WALL_D2C_FRONT + kViewWall_D2R_FRONT = 9, // @ C09_VIEW_WALL_D2R_FRONT + kViewWall_D1L_RIGHT = 10, // @ C10_VIEW_WALL_D1L_RIGHT + kViewWall_D1R_LEFT = 11, // @ C11_VIEW_WALL_D1R_LEFT + kViewWall_D1C_FRONT = 12 // @ C12_VIEW_WALL_D1C_FRONT +}; + + enum Color { kColorNoTransparency = 255, @@ -163,6 +180,8 @@ class DisplayMan { void applyCreatureReplColors(int replacedColor, int replacementColor); // @ F0093_DUNGEONVIEW_ApplyCreatureReplacementColors + bool isDrawnWallOrnAnAlcove(int16 wallOrnOrd, ViewWall viewWallIndex); // @ F0107_DUNGEONVIEW_IsDrawnWallOrnamentAnAlcove_CPSF + // some methods use this for a stratchpad, don't make assumptions about content between function calls byte *_tmpBitmap = NULL; public: @@ -201,7 +220,7 @@ public: int16 _championPortraitOrdinal = 0; // @ G0289_i_DungeonView_ChampionPortraitOrdinal int16 _currMapAlcoveOrnIndices[kAlcoveOrnCount] = {0}; // @ G0267_ai_CurrentMapAlcoveOrnamentIndices int16 _currMapFountainOrnIndices[kFountainOrnCount] = {0}; // @ G0268_ai_CurrentMapFountainOrnamentIndices - int16 _currMapWallOrnInfo[16][2] = {0}; // @ G0101_aai_CurrentMapWallOrnamentsInf + int16 _currMapWallOrnInfo[16][2] = {0}; // @ G0101_aai_CurrentMapWallOrnamentsInfo int16 _currMapFloorOrnInfo[16][2] = {0}; // @ G0102_aai_CurrentMapFloorOrnamentsInfo int16 _currMapDoorOrnInfo[17][2] = {0}; // @ G0103_aai_CurrentMapDoorOrnamentsInfo byte *_currMapAllowedCreatureTypes = NULL; // @ G0264_puc_CurrentMapAllowedCreatureTypes |