aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/hero.h
diff options
context:
space:
mode:
authorlukaslw2014-05-30 20:15:00 +0200
committerlukaslw2014-06-22 20:08:24 +0200
commit4f291feadd7ee75b91213df677bf71f5f85e6700 (patch)
treea386cb3437a1c20efb118507d7d62e9d79145efd /engines/prince/hero.h
parent775944de6217c85d139e226a00ca700e81d4753d (diff)
downloadscummvm-rg350-4f291feadd7ee75b91213df677bf71f5f85e6700.tar.gz
scummvm-rg350-4f291feadd7ee75b91213df677bf71f5f85e6700.tar.bz2
scummvm-rg350-4f291feadd7ee75b91213df677bf71f5f85e6700.zip
PRINCE: zoomBitmap update - loadZoom(), selectZoom()
Diffstat (limited to 'engines/prince/hero.h')
-rw-r--r--engines/prince/hero.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/prince/hero.h b/engines/prince/hero.h
index 00a81bdc7e..839907a574 100644
--- a/engines/prince/hero.h
+++ b/engines/prince/hero.h
@@ -38,11 +38,13 @@ class GraphicsMan;
class Hero {
public:
- static const uint32 kMoveSetSize = 26;
- static const int16 kZoomStep = 4;
static const int16 kMaxPicWidth = 1280;
static const int16 kMaxPicHeight = 480;
+ static const uint32 kMoveSetSize = 26;
+ static const int16 kZoomStep = 4;
+ static const int32 kZoomBitmapLen = kMaxPicHeight / kZoomStep * kMaxPicWidth / kZoomStep;
static const int16 kZoomBitmapWidth = kMaxPicWidth / kZoomStep;
+ static const int16 kZoomBitmapHeight = kMaxPicHeight / kZoomStep;
static const int16 kShadowLineArraySize = 2 * 1280 * 4;
static const int32 kShadowBitmapSize = kMaxPicWidth * kMaxPicHeight / 8;
static const int16 kScreenWidth = 640;
@@ -178,7 +180,7 @@ public:
// AnimSet number of animation set
Common::Array<Animation *> _moveSet; // MoveAnims MoveSet
// TurnAnim ??
- Animation *_zoomBitmap; // change to sth else, not Animation ??
+ byte *_zoomBitmap;
byte *_shadowBitmap;
byte *_shadowLine;