diff options
author | lukaslw | 2014-06-08 19:01:05 +0200 |
---|---|---|
committer | lukaslw | 2014-06-22 20:08:49 +0200 |
commit | 3bf8d86a57ef54ba3f87fbbd12ee5e41ec254bf8 (patch) | |
tree | 64891dcdab324ff213ece7651c068960b46c1698 /engines/prince/graphics.h | |
parent | 3cd6589c26ac16f707972367e528442e6b4f451d (diff) | |
download | scummvm-rg350-3bf8d86a57ef54ba3f87fbbd12ee5e41ec254bf8.tar.gz scummvm-rg350-3bf8d86a57ef54ba3f87fbbd12ee5e41ec254bf8.tar.bz2 scummvm-rg350-3bf8d86a57ef54ba3f87fbbd12ee5e41ec254bf8.zip |
PRINCE: Inventory update, drawing functions improvements
Diffstat (limited to 'engines/prince/graphics.h')
-rw-r--r-- | engines/prince/graphics.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/prince/graphics.h b/engines/prince/graphics.h index 7651dae7a1..c383c03bac 100644 --- a/engines/prince/graphics.h +++ b/engines/prince/graphics.h @@ -38,25 +38,25 @@ public: GraphicsMan(PrinceEngine *vm); ~GraphicsMan(); - void update(); + void update(Graphics::Surface *screen); void change(); void setPalette(const byte *palette); void makeShadowTable(int brightness, byte *shadowTable); - void draw(uint16 x, uint16 y, const Graphics::Surface *s); - void drawTransparentSurface(int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); - void drawTransparentWithBlend(int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); + void draw(Graphics::Surface *screen, uint16 x, uint16 y, const Graphics::Surface *s); + void drawTransparentSurface(Graphics::Surface *screen, int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); + void drawTransparentWithBlend(Graphics::Surface *screen, int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); - static void drawTransparent(Graphics::Surface *frontScreen, DrawNode *drawNode); - static void drawAsShadow(Graphics::Surface *frontScreen, DrawNode *drawNode); - static void drawMask(Graphics::Surface *frontScreen, DrawNode *drawNode); + static void drawTransparent(Graphics::Surface *screen, DrawNode *drawNode); + static void drawAsShadow(Graphics::Surface *screen, DrawNode *drawNode); + static void drawMask(Graphics::Surface *screen, DrawNode *drawNode); byte getBlendTableColor(byte pixelColor, byte backgroundPixelColor); Graphics::Surface *_frontScreen; - Graphics::Surface *_backScreen; + Graphics::Surface *_screenForInventory; const Graphics::Surface *_roomBackground; byte *_shadowTable70; |