diff options
author | Johannes Schickel | 2006-07-30 14:53:28 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-30 14:53:28 +0000 |
commit | 3846565058a62e4636cf9b03f4adb1f4c7f8e5da (patch) | |
tree | 4fcd2a5774c0881762b27a9f6d5195b3e8eab707 /engines/kyra/screen.h | |
parent | 8b38f65d1aa2a2e2f50497e47eb6206e3b349b88 (diff) | |
download | scummvm-rg350-3846565058a62e4636cf9b03f4adb1f4c7f8e5da.tar.gz scummvm-rg350-3846565058a62e4636cf9b03f4adb1f4c7f8e5da.tar.bz2 scummvm-rg350-3846565058a62e4636cf9b03f4adb1f4c7f8e5da.zip |
Implements item shape loading for kyra3.
svn-id: r23637
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r-- | engines/kyra/screen.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h index 73875c9da4..541ced494a 100644 --- a/engines/kyra/screen.h +++ b/engines/kyra/screen.h @@ -190,9 +190,12 @@ public: static const int _screenDimTableCountK3; uint8 *getPtrToShape(uint8 *shpFile, int shape); -private: - uint8 *getPagePtr(int pageNum); + uint16 getShapeSize(uint8 *shp); + + // only needed for Kyra3! + uint8 *getPagePtr(int pageNum); +private: int16 encodeShapeAndCalculateSize(uint8 *from, uint8 *to, int size); void restoreMouseRect(); void copyMouseToScreen(); |