diff options
author | Paul Gilbert | 2015-07-21 19:55:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-21 19:55:34 -0400 |
commit | 60a4a8560494e1e8e038a0a09b9c4144fc354d69 (patch) | |
tree | 44836164beab3c320682d95c526d3a703f29310a /engines/sherlock/tattoo/tattoo.h | |
parent | c38d8d9617dbea00eb9343233796b80955a0f564 (diff) | |
download | scummvm-rg350-60a4a8560494e1e8e038a0a09b9c4144fc354d69.tar.gz scummvm-rg350-60a4a8560494e1e8e038a0a09b9c4144fc354d69.tar.bz2 scummvm-rg350-60a4a8560494e1e8e038a0a09b9c4144fc354d69.zip |
SHERLOCK: RT: Implement credits
Diffstat (limited to 'engines/sherlock/tattoo/tattoo.h')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo.h b/engines/sherlock/tattoo/tattoo.h index 4c7977bd35..a9798dce41 100644 --- a/engines/sherlock/tattoo/tattoo.h +++ b/engines/sherlock/tattoo/tattoo.h @@ -51,9 +51,21 @@ enum { FLAG_ALT_MAP_MUSIC = 525 }; +struct CreditLine { + Common::Point _position; + int _xOffset; + int _width; + Common::String _line, _line2; + + CreditLine(const Common::String &line, const Common::Point &pt, int width) : + _line(line), _position(pt), _width(width), _xOffset(0) {} +}; + class TattooEngine : public SherlockEngine { private: Darts _darts; + Common::Array<CreditLine> _creditLines; + int _creditSpeed; /** * Loads the initial palette for the game @@ -86,6 +98,11 @@ public: virtual ~TattooEngine(); /** + * Initialize and load credit data for display + */ + void initCredits(); + + /** * Draw credits on the screen */ void drawCredits(); |