aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/hero.h
diff options
context:
space:
mode:
authorlukaslw2014-05-14 00:21:59 +0200
committerlukaslw2014-06-22 20:08:03 +0200
commit2c9559b620def087f1d7e9bff3b2a07686c946f6 (patch)
treed740b785048f1bd2f9c931aca1d854fe358d5e1d /engines/prince/hero.h
parent07b232804f2e3dcaf7935b794e31a68fe03eb824 (diff)
downloadscummvm-rg350-2c9559b620def087f1d7e9bff3b2a07686c946f6.tar.gz
scummvm-rg350-2c9559b620def087f1d7e9bff3b2a07686c946f6.tar.bz2
scummvm-rg350-2c9559b620def087f1d7e9bff3b2a07686c946f6.zip
PRINCE: Hero drawing - memory leak fix, shadow palette working
Diffstat (limited to 'engines/prince/hero.h')
-rw-r--r--engines/prince/hero.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/hero.h b/engines/prince/hero.h
index 75f6a3a78b..9e67cda6c3 100644
--- a/engines/prince/hero.h
+++ b/engines/prince/hero.h
@@ -103,7 +103,7 @@ public:
Common::RandomSource _randomSource;
bool loadAnimSet(uint32 heroAnimNumber);
- const Graphics::Surface * getSurface();
+ Graphics::Surface *getSurface();
void setPos(int16 x, int16 y) { _middleX = x; _middleY = y; }
void setVisible(bool flag) { _visible = flag; }
@@ -121,7 +121,7 @@ public:
void showHeroAnimFrame();
void line(int x1, int y1, int x2, int y2);
void plotPoint(int x, int y);
- void showHeroShadow();
+ void showHeroShadow(Graphics::Surface *heroFrame);
void setShadowScale(int32 shadowScale);
void specialAnim();
void getState();