diff options
author | lukaslw | 2014-08-16 22:54:38 +0200 |
---|---|---|
committer | lukaslw | 2014-08-16 22:54:38 +0200 |
commit | 9bda7c37c376a7c925a4b44184dddc952813c2d5 (patch) | |
tree | b2443f11f25b817ee2dc9dbd3b7fb0194390fb82 /engines/prince/hero.h | |
parent | 422054f81cdcdd3f962afd8f777e83458b3f4588 (diff) | |
download | scummvm-rg350-9bda7c37c376a7c925a4b44184dddc952813c2d5.tar.gz scummvm-rg350-9bda7c37c376a7c925a4b44184dddc952813c2d5.tar.bz2 scummvm-rg350-9bda7c37c376a7c925a4b44184dddc952813c2d5.zip |
PRINCE: Shadows drawing - update
Diffstat (limited to 'engines/prince/hero.h')
-rw-r--r-- | engines/prince/hero.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/engines/prince/hero.h b/engines/prince/hero.h index 743e09ac8d..d5f7d8cc7a 100644 --- a/engines/prince/hero.h +++ b/engines/prince/hero.h @@ -41,7 +41,6 @@ struct DrawNode; class Hero { public: static const uint32 kMoveSetSize = 26; - static const int16 kShadowLineArraySize = 2 * 1280 * 4; static const int16 kStepLeftRight = 8; static const int16 kStepUpDown = 4; static const int16 kHeroShadowZ = 2; @@ -128,7 +127,6 @@ public: void plotPoint(int x, int y); static void showHeroShadow(Graphics::Surface *screen, DrawNode *drawNode); void drawHeroShadow(Graphics::Surface *heroFrame); - void setShadowScale(int32 shadowScale); void freeOldMove(); void freeHeroAnim(); @@ -138,9 +136,7 @@ public: int16 _middleX; // middle of X int16 _middleY; // lower part of hero int16 _moveSetType; - - int8 _zoomFactor; - int16 _scaleValue; + int16 _frameXSize; int16 _frameYSize; int16 _scaledFrameXSize; @@ -149,12 +145,6 @@ public: int16 _drawY; int16 _drawZ; - int32 _shadZoomFactor; - int32 _shadScaleValue; - int32 _shadLineLen; - int16 _shadDrawX; - int16 _shadDrawY; - byte *_coords; // array of coordinates byte *_dirTab; // array of directions byte *_currCoords; // current coordinations @@ -180,7 +170,6 @@ public: int _color; // subtitles color uint32 _animSetNr; // number of animation set Common::Array<Animation *> _moveSet; // MoveAnims MoveSet - byte *_shadowLine; uint32 _moveDelay; uint32 _shadMinus; |