diff options
| author | Nipun Garg | 2019-06-28 18:01:49 +0530 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:17:03 +0200 | 
| commit | 48428a75b7d0061f183733cd5a386ef5b5718cee (patch) | |
| tree | 75afdd218ed6d3699d6e54b9993dd258e8e7f19a | |
| parent | 003f8dc2a435f3ea466c9284ed22dadb166f1dc2 (diff) | |
| download | scummvm-rg350-48428a75b7d0061f183733cd5a386ef5b5718cee.tar.gz scummvm-rg350-48428a75b7d0061f183733cd5a386ef5b5718cee.tar.bz2 scummvm-rg350-48428a75b7d0061f183733cd5a386ef5b5718cee.zip | |
HDB: Add _textOutList data
| -rw-r--r-- | engines/hdb/window.h | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/engines/hdb/window.h b/engines/hdb/window.h index 3059ab0b08..b8033702ba 100644 --- a/engines/hdb/window.h +++ b/engines/hdb/window.h @@ -32,7 +32,8 @@ enum {  	kWeaponY = 2,  	kInvItemSpaceX = 48,  	kInvItemSpaceY = 40, -	kInvItemPerLine = 3 +	kInvItemPerLine = 3, +	kTextOutCenterX = ((kScreenWidth - kTileWidth * 5) / 2)  };  struct DialogInfo { @@ -61,6 +62,14 @@ struct InvWinInfo {  	InvWinInfo() : x(0), y(0), width(0), height(0), selection(0), active(false) {}  }; +struct TOut { +	char text[128]; +	int x, y; +	uint32 timer; + +	TOut() : text(""), x(0), y(0), timer(0) {} +}; +  class Window {  public: @@ -98,6 +107,7 @@ private:  	uint32 _dialogDelay;	// Used for Cinematics  	InvWinInfo _invWinInfo; +	Common::Array<TOut *> _textOutList;  	// Windows GFX  	Picture *_gfxTL, *_gfxTM, *_gfxTR; | 
