diff options
author | Marisa-Chan | 2013-12-24 14:43:42 +0700 |
---|---|---|
committer | Marisa-Chan | 2013-12-24 14:43:42 +0700 |
commit | 621818836e6a1100bbed2dbc1520a1005f1ad9ed (patch) | |
tree | 87319880e2d9230ddd1373374cc062a6fb71fde4 /engines/zvision/render_manager.h | |
parent | 570630ee3df60e1dd22fbab1595a4d9dfaa38774 (diff) | |
download | scummvm-rg350-621818836e6a1100bbed2dbc1520a1005f1ad9ed.tar.gz scummvm-rg350-621818836e6a1100bbed2dbc1520a1005f1ad9ed.tar.bz2 scummvm-rg350-621818836e6a1100bbed2dbc1520a1005f1ad9ed.zip |
ZVISION: New easy-to-use render functions for next rendermanager generation.
Diffstat (limited to 'engines/zvision/render_manager.h')
-rw-r--r-- | engines/zvision/render_manager.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.h b/engines/zvision/render_manager.h index 14ca704ce1..e16d3562dc 100644 --- a/engines/zvision/render_manager.h +++ b/engines/zvision/render_manager.h @@ -369,6 +369,16 @@ public: void scaleBuffer(const void *src, void *dst, uint32 srcWidth, uint32 srcHeight, byte bytesPerPixel, uint32 dstWidth, uint32 dstHeight); + void blitSurfaceToSurface(Graphics::Surface &src, Graphics::Surface &dst, int x, int y); + void blitSurfaceToSurface(Graphics::Surface &src, Graphics::Surface &dst, int x, int y, uint32 colorkey); + void blitSurfaceToBkg(Graphics::Surface &src, int x, int y); + void blitSurfaceToBkg(Graphics::Surface &src, int x, int y, uint32 colorkey); + void blitSurfaceUpBkg(Graphics::Surface &src, int x, int y); + void blitSurfaceUpBkg(Graphics::Surface &src, int x, int y, uint32 colorkey); + Graphics::Surface *getBkgRect(Common::Rect &rect); + Graphics::Surface *loadImage(const char *file); + Graphics::Surface *loadImage(Common::String &file); + private: /** * Renders a subRectangle of an image to the backbuffer. The destinationRect and SubRect |