ScummVM API documentation
Gob::Mult Class Referenceabstract
Inheritance diagram for Gob::Mult:
Gob::Mult_v1 Gob::Mult_v2

Classes

struct  Mult_AnimData
 
struct  Mult_AnimKey
 
struct  Mult_Data
 
struct  Mult_GobState
 
struct  Mult_ImdKey
 
struct  Mult_Object
 
struct  Mult_PalFadeKey
 
struct  Mult_PalKey
 
struct  Mult_SndKey
 
struct  Mult_StaticKey
 
struct  Mult_TextKey
 

Public Member Functions

void initAll ()
 
void freeAll ()
 
void checkFreeMult ()
 
void freeMult (bool freeObjectSprites=false)
 
void zeroMultData ()
 
void playMult (int16 startFrame, int16 endFrame, char checkEscape, char handleMouse)
 
int openObjVideo (const Common::String &file, VideoPlayer::Properties &properties, int animation)
 
void closeObjVideo (Mult_Object &object)
 
void clearObjectVideos ()
 
virtual void loadMult (int16 resId)=0
 
virtual void freeMultKeys ()=0
 
virtual bool hasMultData (uint16 multIndex)=0
 
virtual void setMultData (uint16 multIndex)=0
 
virtual void zeroMultData (uint16 multIndex)=0
 
virtual void multSub (uint16 multIndex)=0
 
virtual void animate ()=0
 
 Mult (GobEngine *vm)
 

Public Attributes

struct Gob::Mult::Mult_AnimData PACKED_STRUCT
 
struct Gob::Mult::Mult_GobState PACKED_STRUCT
 
struct Gob::Mult::Mult_Object PACKED_STRUCT
 
struct Gob::Mult::Mult_StaticKey PACKED_STRUCT
 
struct Gob::Mult::Mult_AnimKey PACKED_STRUCT
 
struct Gob::Mult::Mult_TextKey PACKED_STRUCT
 
struct Gob::Mult::Mult_PalKey PACKED_STRUCT
 
struct Gob::Mult::Mult_PalFadeKey PACKED_STRUCT
 
struct Gob::Mult::Mult_SndKey PACKED_STRUCT
 
struct Gob::Mult::Mult_ImdKey PACKED_STRUCT
 
struct Gob::Mult::Mult_Data PACKED_STRUCT
 
Mult_Data_multData
 
int16 _frame
 
int16 _objCount
 
Mult_Object_objects
 
int16 * _renderData
 
Mult_Object ** _renderObjs
 
int8 * _orderArray
 
SurfacePtr _animSurf
 
int16 _animLeft
 
int16 _animTop
 
int16 _animWidth
 
int16 _animHeight
 

Protected Member Functions

void drawText (bool &stop, bool &stopNoClear)
 
void prepPalAnim (bool &stop)
 
void doPalAnim ()
 
void doFadeAnim (bool &stop)
 
void doSoundAnim (bool &stop, int16 frame)
 
virtual void playMultInit ()=0
 
virtual void drawStatics (bool &stop)=0
 
virtual void drawAnims (bool &stop)=0
 
virtual void newCycleAnim (Mult_Object &animObj)=0
 

Protected Attributes

int16 _index
 
int16 _counter
 
bool _animDataAllocated
 
Mult_Data_multDatas [8]
 
bool _doPalSubst
 
Variables_animArrayX
 
Variables_animArrayY
 
Mult_AnimData_animArrayData
 
int16 _palKeyIndex
 
Video::Color_oldPalette
 
Video::Color _palAnimPalette [256]
 
int16 _palAnimKey
 
int16 _palAnimRed [4]
 
int16 _palAnimGreen [4]
 
int16 _palAnimBlue [4]
 
char _palFadingRed
 
char _palFadingGreen
 
char _palFadingBlue
 
GobEngine_vm
 

The documentation for this class was generated from the following file: