diff options
author | WinterGrascph | 2016-05-05 22:18:51 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | c725fdec9eececc155d0c39bf905910100baeea0 (patch) | |
tree | 6c7b1e6c860a6d460f177c1eeb1e9dbec746cb34 /engines/dm/gfx.h | |
parent | 18ff2e9940f584041798af670a07c381a02918aa (diff) | |
download | scummvm-rg350-c725fdec9eececc155d0c39bf905910100baeea0.tar.gz scummvm-rg350-c725fdec9eececc155d0c39bf905910100baeea0.tar.bz2 scummvm-rg350-c725fdec9eececc155d0c39bf905910100baeea0.zip |
DM: Add horizontal and vertical bitmap flipping
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r-- | engines/dm/gfx.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index e479c6cfc4..39cfff9783 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -58,8 +58,8 @@ class DisplayMan { byte **_unpackedBitmaps; void unpackGraphics(); - inline void drawFrameToScreen(byte *bitmap, Frame &f, Color transparent); - inline void drawFrameToBitMap(byte *bitmap, Frame &f, Color transparent, byte *destBitmap, uint16 destWidth); + void drawFrameToScreen(byte *bitmap, Frame &f, Color transparent); + void drawFrameToBitMap(byte *bitmap, Frame &f, Color transparent, byte *destBitmap, uint16 destWidth); public: DisplayMan(DMEngine *dmEngine); ~DisplayMan(); @@ -72,8 +72,11 @@ public: uint16 getImageHeight(uint16 index); void DisplayMan::blitToBitmap(byte *srcBitmap, uint16 srcFromX, uint16 srcToX, uint16 srcFromY, uint16 srcToY, int16 srcWidth, uint16 destX, uint16 destY, byte *destBitmap, uint16 destWidth, Color transparent = colorNoTransparency); - inline void DisplayMan::blitToScreen(byte *srcBitmap, uint16 srcFromX, uint16 srcToX, uint16 srcFromY, uint16 srcToY, - int16 srcWidth, uint16 destX, uint16 destY, Color transparent = colorNoTransparency); + void DisplayMan::blitToScreen(byte *srcBitmap, uint16 srcFromX, uint16 srcToX, uint16 srcFromY, uint16 srcToY, + int16 srcWidth, uint16 destX, uint16 destY, Color transparent = colorNoTransparency); + void flipBitmapVertical(byte *bitmap, uint16 width, uint16 height); + void flipBitmapHorizontal(byte *bitmap, uint16 width, uint16 height); + void clearBitmap(byte *bitmap, uint16 width, uint16 height, Color color); byte *getCurrentVgaBuffer(); void updateScreen(); void drawDungeon(); |