diff options
author | Florian Kagerer | 2009-04-03 21:32:50 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-04-03 21:32:50 +0000 |
commit | 9638c7ec4bc90a8c8df9f6decde9914376f4186b (patch) | |
tree | 30f65a2b70a1b857726da4f6a87ecc28ee4da07c /engines/kyra/screen_lol.h | |
parent | 002cda6c5babe4a9e2e2b2da28f7f889a9a3e99a (diff) | |
download | scummvm-rg350-9638c7ec4bc90a8c8df9f6decde9914376f4186b.tar.gz scummvm-rg350-9638c7ec4bc90a8c8df9f6decde9914376f4186b.tar.bz2 scummvm-rg350-9638c7ec4bc90a8c8df9f6decde9914376f4186b.zip |
LOL: - added support for magic atlas
- fixed minor palette bug
svn-id: r39818
Diffstat (limited to 'engines/kyra/screen_lol.h')
-rw-r--r-- | engines/kyra/screen_lol.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/engines/kyra/screen_lol.h b/engines/kyra/screen_lol.h index abdc11d7c5..30567ee808 100644 --- a/engines/kyra/screen_lol.h +++ b/engines/kyra/screen_lol.h @@ -60,6 +60,11 @@ public: void smoothScrollTurnStep2(int srcPage1Num, int srcPage2Num, int dstPageNum); void smoothScrollTurnStep3(int srcPage1Num, int srcPage2Num, int dstPageNum); + // magic atlas + // This method basically works like copyRegion, but the pixels + // copied also have a palette overlay applied to them. + void copyBlockSpecial(int page1, int x1, int y1, int page2, int x2, int y2, int w, int h, int dim, uint8 *ovl); + // palette stuff void fadeToBlack(int delay=0x54, const UpdateFunctor *upFunc = 0); void loadSpecialColours(uint8 *destPalette); @@ -87,6 +92,22 @@ private: int _curDimIndex; uint8 *_levelOverlays[8]; + + // magic atlas + void calcMapBoundaries(int dstX, int dstY, int c, int d); + + int _mapDimX; + int _mapDimY; + int _mapDimW; + int _mapDimH; + int _mapDimDstX; + int _mapBlockWidth; + int _mapDimDstY; + int _mapBlockHeight; + int _mapDimU5; + int _mapDimU6; + int _mapBlockWidth2; + int _mapDimU8; }; } // end of namespace Kyra |