diff options
author | Nicola Mettifogo | 2008-08-18 07:12:05 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-08-18 07:12:05 +0000 |
commit | c2089be66063515821b8aea6a7a815a8d1d7dbef (patch) | |
tree | a1dabb044f68448c0c814afc9391aa28e1f523c3 /engines/parallaction/graphics.h | |
parent | 87164b6c059ca4bb3ddd4d2257a9e53685b0f364 (diff) | |
download | scummvm-rg350-c2089be66063515821b8aea6a7a815a8d1d7dbef.tar.gz scummvm-rg350-c2089be66063515821b8aea6a7a815a8d1d7dbef.tar.bz2 scummvm-rg350-c2089be66063515821b8aea6a7a815a8d1d7dbef.zip |
* Split up blt routine (there is room for a ton of improvements)
* Added scaling as a new blt option
* Activated scaling for the main character in BRA
svn-id: r33985
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r-- | engines/parallaction/graphics.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index 0aaa12b0e5..497152c08c 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -410,6 +410,7 @@ public: uint frame; uint layer; uint transparentKey; + uint scale; GfxObj(uint type, Frames *frames, const char *name = NULL); virtual ~GfxObj(); @@ -646,8 +647,12 @@ public: void drawText(Font *font, Graphics::Surface* surf, uint16 x, uint16 y, const char *text, byte color); void drawGfxObject(GfxObj *obj, Graphics::Surface &surf, bool scene); - void blt(const Common::Rect& r, byte *data, Graphics::Surface *surf, uint16 z, byte transparentColor); - void unpackBlt(const Common::Rect& r, byte *data, uint size, Graphics::Surface *surf, uint16 z, byte transparentColor); + void blt(const Common::Rect& r, byte *data, Graphics::Surface *surf, uint16 z, uint scale, byte transparentColor); + void unpackBlt(const Common::Rect& r, byte *data, uint size, Graphics::Surface *surf, uint16 z, uint scale, byte transparentColor); + + void bltMaskScale(const Common::Rect& r, byte *data, Graphics::Surface *surf, uint16 z, uint scale, byte transparentColor); + void bltMaskNoScale(const Common::Rect& r, byte *data, Graphics::Surface *surf, uint16 z, byte transparentColor); + void bltNoMaskNoScale(const Common::Rect& r, byte *data, Graphics::Surface *surf, byte transparentColor); }; |