diff options
author | Paul Gilbert | 2012-02-24 19:38:46 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-02-24 19:38:46 +1100 |
commit | eba87458d399382e639d81e91d6acb3ce13f2252 (patch) | |
tree | 795f6fe6d7886f34b2b5aa9fae12376dfaedf207 /engines/tsage/ringworld2/ringworld2_logic.h | |
parent | 54c87f20e344568bc1dedebcc0706b2151f94076 (diff) | |
download | scummvm-rg350-eba87458d399382e639d81e91d6acb3ce13f2252.tar.gz scummvm-rg350-eba87458d399382e639d81e91d6acb3ce13f2252.tar.bz2 scummvm-rg350-eba87458d399382e639d81e91d6acb3ce13f2252.zip |
TSAGE: More properly implemented resource streaming for R2R animation player
Diffstat (limited to 'engines/tsage/ringworld2/ringworld2_logic.h')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.h | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.h b/engines/tsage/ringworld2/ringworld2_logic.h index 98fcaae981..651cfec763 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.h +++ b/engines/tsage/ringworld2/ringworld2_logic.h @@ -325,24 +325,38 @@ public: virtual Common::String getClassName() { return "UnkObject1200"; } }; +class AnimationPlayerSubData { +public: + int _field6; + int _fieldA; + int _fieldC; + int _field12; + int _field14; + int _field16; + int _palStart; + int _palSize; + byte _palData[256 * 3]; + int32 _field320; + byte _field330[96]; +public: + void load(Common::File &f); +}; + class AnimationPlayer: public EventHandler { public: + byte *_fieldA; + byte *_field16; + byte *_animData, *_animPtr; Common::File _resourceFile; - void *_fieldA; - void *_field16; - - byte *_dataP; Rect _rect1, _screenBounds; int _field38; int _field3A, _field3C; int _field56; int _field58, _field5A; ScenePalette _palette; - byte _palData[256 * 3]; + AnimationPlayerSubData _subData; Action *_endAction; - int _field576; - int _field57C; - int _palStart, _palSize; + int _field900; int _field904; int _field908; int _field90C; @@ -361,7 +375,7 @@ public: virtual void changePane() {} virtual void proc14() {} - bool load(int rlbNum, Action *endAction = NULL); + bool load(int animId, Action *endAction = NULL); void drawFrame(int frameIndex); void method2(); bool method3(); |