diff options
author | Johannes Schickel | 2006-09-10 13:26:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-09-10 13:26:00 +0000 |
commit | 09f7e35196e5d07a04730b70cc81602be736cfaa (patch) | |
tree | d61d1357c8887c6cc41f46e0bce4b8a8c3643b0a /engines/kyra/screen.h | |
parent | 854eac7f9b99893150c63a91aeb55726b54ef8d0 (diff) | |
download | scummvm-rg350-09f7e35196e5d07a04730b70cc81602be736cfaa.tar.gz scummvm-rg350-09f7e35196e5d07a04730b70cc81602be736cfaa.tar.bz2 scummvm-rg350-09f7e35196e5d07a04730b70cc81602be736cfaa.zip |
Little bit cleanup.
svn-id: r23863
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r-- | engines/kyra/screen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h index 48deaf8400..f678c3f1f9 100644 --- a/engines/kyra/screen.h +++ b/engines/kyra/screen.h @@ -192,12 +192,13 @@ public: static const int _screenDimTableCountK3; uint8 *getPtrToShape(uint8 *shpFile, int shape); + const uint8 *getPtrToShape(const uint8 *shpFile, int shape); - uint16 getShapeSize(uint8 *shp); + uint16 getShapeSize(const uint8 *shp); - // only needed for Kyra3! - uint8 *getPagePtr(int pageNum); private: + uint8 *getPagePtr(int pageNum); + int16 encodeShapeAndCalculateSize(uint8 *from, uint8 *to, int size); void restoreMouseRect(); void copyMouseToScreen(); |