From 621818836e6a1100bbed2dbc1520a1005f1ad9ed Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Tue, 24 Dec 2013 14:43:42 +0700 Subject: ZVISION: New easy-to-use render functions for next rendermanager generation. --- engines/zvision/render_manager.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/zvision/render_manager.h') 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 -- cgit v1.2.3