diff options
author | Paul Gilbert | 2014-12-26 22:00:39 +1100 |
---|---|---|
committer | Paul Gilbert | 2014-12-26 22:00:39 +1100 |
commit | 1d62e224b98e4d2c9736c4965b3da5735b32c022 (patch) | |
tree | 0b6295553aa4312d4784b72fb2266e178964a197 /engines/xeen/resources.cpp | |
parent | a93177e0b3a7aba23667b1edbf81fe4d949d69b7 (diff) | |
download | scummvm-rg350-1d62e224b98e4d2c9736c4965b3da5735b32c022.tar.gz scummvm-rg350-1d62e224b98e4d2c9736c4965b3da5735b32c022.tar.bz2 scummvm-rg350-1d62e224b98e4d2c9736c4965b3da5735b32c022.zip |
XEEN: Implement button handlng and rest of Dark Side title screen
Diffstat (limited to 'engines/xeen/resources.cpp')
-rw-r--r-- | engines/xeen/resources.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/resources.cpp b/engines/xeen/resources.cpp index 6690ad08e0..40353c1cdc 100644 --- a/engines/xeen/resources.cpp +++ b/engines/xeen/resources.cpp @@ -250,6 +250,11 @@ void SpriteResource::draw(XSurface &dest, int frame, const Common::Point &destPo drawOffset(dest, _index[frame]._offset2, destPos); } +void SpriteResource::draw(XSurface &dest, int frame) const { + draw(dest, frame, Common::Point()); +} + + void SpriteResource::drawOffset(XSurface &dest, uint16 offset, const Common::Point &destPos) const { // Get cell header Common::MemoryReadStream f(_data, _filesize); |