diff options
-rw-r--r-- | engines/hdb/window.cpp | 5 | ||||
-rw-r--r-- | engines/hdb/window.h | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index a8ed9925ce..ff0f2c0b95 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -79,6 +79,11 @@ bool Window::init() { _invWinInfo.x = kScreenWidth - _gfxInfobar->_width + 16; _invWinInfo.y = 40; + _dlvsInfo.width = kInvItemSpaceX * 3; + _dlvsInfo.height = kInvItemSpaceY * 4; + _dlvsInfo.x = (kScreenWidth - _gfxInfobar->_width) + 16; + _dlvsInfo.y = 272; + restartSystem(); return true; diff --git a/engines/hdb/window.h b/engines/hdb/window.h index b030c86e3b..6ee95963c2 100644 --- a/engines/hdb/window.h +++ b/engines/hdb/window.h @@ -33,6 +33,11 @@ enum { kInvItemSpaceX = 48, kInvItemSpaceY = 40, kInvItemPerLine = 3, + kDlvItemSpaceX = 48, + kDlvItemSpaceY = (kTileHeight * 2 + 16), + kDlvItemPerLine = 3, + kDlvItemTextY = (kScreenHeight - 30), + kNumCrazy = 37, kTextOutCenterX = ((kScreenWidth - kTileWidth * 5) / 2), kPauseY = (kScreenHeight / 2 - 64) }; @@ -63,6 +68,18 @@ struct InvWinInfo { InvWinInfo() : x(0), y(0), width(0), height(0), selection(0), active(false) {} }; +struct DlvsInfo { + int x, y; + int width, height; + bool active; + int selected; + bool animate; + uint32 delay1, delay2, delay3; + bool go1, go2, go3; + + DlvsInfo() : x(0), y(0), width(0), height(0), active(false), selected(0), animate(false), delay1(0), delay2(0), delay3(0), go1(false), go2(false), go3(false) {} +}; + struct TOut { char text[128]; int x, y; @@ -125,6 +142,7 @@ private: InvWinInfo _invWinInfo; Common::Array<TOut *> _textOutList; + DlvsInfo _dlvsInfo; // Windows GFX Picture *_gfxTL, *_gfxTM, *_gfxTR; |