From 89f946ba3edde6cf1fa3b9d0eddd56aecfaee394 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 13:03:51 +0000 Subject: GOB: Transparency support for 16bit surfaces svn-id: r52950 --- engines/gob/surface.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/gob/surface.h') diff --git a/engines/gob/surface.h b/engines/gob/surface.h index 625462e2b7..9a26dbc79b 100644 --- a/engines/gob/surface.h +++ b/engines/gob/surface.h @@ -93,14 +93,14 @@ public: ConstPixel get(uint16 x = 0, uint16 y = 0) const; void blit(const Surface &from, int16 left, int16 top, int16 right, int16 bottom, - int16 x, int16 y, int16 transp = -1); - void blit(const Surface &from, int16 x, int16 y, int16 transp = -1); - void blit(const Surface &from, int16 transp = -1); + int16 x, int16 y, int32 transp = -1); + void blit(const Surface &from, int16 x, int16 y, int32 transp = -1); + void blit(const Surface &from, int32 transp = -1); void blitScaled(const Surface &from, int16 left, int16 top, int16 right, int16 bottom, - int16 x, int16 y, Common::Rational scale, int16 transp = -1); - void blitScaled(const Surface &from, int16 x, int16 y, Common::Rational scale, int16 transp = -1); - void blitScaled(const Surface &from, Common::Rational scale, int16 transp = -1); + int16 x, int16 y, Common::Rational scale, int32 transp = -1); + void blitScaled(const Surface &from, int16 x, int16 y, Common::Rational scale, int32 transp = -1); + void blitScaled(const Surface &from, Common::Rational scale, int32 transp = -1); void fillRect(uint16 left, uint16 top, uint16 right, uint16 bottom, uint32 color); void fill(uint32 color); -- cgit v1.2.3