From b341ff04faba379a524d941db0bcc918a9238b22 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 26 Feb 2012 21:34:38 +1100 Subject: TSAGE: Implement R2R Animation Player drawing code --- engines/tsage/ringworld2/ringworld2_logic.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/tsage/ringworld2/ringworld2_logic.h') diff --git a/engines/tsage/ringworld2/ringworld2_logic.h b/engines/tsage/ringworld2/ringworld2_logic.h index 4ad0c3b15a..c575927827 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.h +++ b/engines/tsage/ringworld2/ringworld2_logic.h @@ -331,7 +331,7 @@ class AnimationSplice { public: int _spliceOffset; int _drawMode; - int _fieldB; + int _secondaryIndex; public: void load(Common::File &f); }; @@ -356,7 +356,7 @@ public: int _fieldC; int _fieldE; int _sliceSize; - int _field14; + int _ySlices; int _field16; int _palStart; int _palSize; @@ -375,6 +375,8 @@ public: }; class AnimationPlayer: public EventHandler { +private: + void rleDecode(const byte *pSrc, byte *pDest, int size); public: AnimationData *_animData; AnimationData *_animData1, *_animData2; @@ -409,7 +411,7 @@ public: virtual void proc14() {} bool load(int animId, Action *endAction = NULL); - void drawFrame(int frameIndex); + void drawFrame(int spliceIndex); void method2(); bool method3(); void method4(); -- cgit v1.2.3