ScummVM API documentation
Gob::Scenery Class Reference
Inheritance diagram for Gob::Scenery:
Gob::Scenery_v1 Gob::Scenery_v2

Classes

struct  Animation
 
struct  AnimFramePiece
 
struct  AnimLayer
 
struct  PieceDesc
 
struct  Static
 
struct  StaticLayer
 
struct  StaticPlane
 

Public Member Functions

void init ()
 
int16 loadStatic (char search)
 
void freeStatic (int16 index)
 
void renderStatic (int16 scenery, int16 layer)
 
void updateStatic (int16 orderFrom)
 
void freeAnim (int16 index)
 
void updateAnim (int16 layer, int16 frame, int16 animation, int16 flags, int16 drawDeltaX, int16 drawDeltaY, char doDraw)
 
void updateAnimObjectVideo (int16 layer, int16 frame, int16 animation, int16 flags, int16 drawDeltaX, int16 drawDeltaY, char doDraw)
 
void writeAnimLayerInfo (uint16 index, uint16 layer, int16 varDX, int16 varDY, int16 varUnk0, int16 varFrames)
 
int16 getStaticLayersCount (uint16 index)
 
int16 getAnimLayersCount (uint16 index)
 
StaticLayergetStaticLayer (uint16 index, uint16 layer)
 
AnimLayergetAnimLayer (uint16 index, uint16 layer)
 
virtual int16 loadAnim (char search)
 
 Scenery (GobEngine *vm)
 

Public Attributes

struct Gob::Scenery::PieceDesc PACKED_STRUCT
 
struct Gob::Scenery::StaticPlane PACKED_STRUCT
 
struct Gob::Scenery::StaticLayer PACKED_STRUCT
 
struct Gob::Scenery::AnimFramePiece PACKED_STRUCT
 
struct Gob::Scenery::AnimLayer PACKED_STRUCT
 
int16 _curStatic
 
int16 _curStaticLayer
 
int16 _maxDrawOrder
 
int16 _toRedrawLeft
 
int16 _toRedrawRight
 
int16 _toRedrawTop
 
int16 _toRedrawBottom
 
int16 _animTop
 
int16 _animLeft
 
int16 _animBottom
 
int16 _animRight
 
int16 * _pCaptureCounter
 

Protected Member Functions

void loadPieces (int16 pictDescId, PieceDesc *&pieceDesc, uint32 &piecesCount)
 
void updateStatic (int16 orderFrom, byte index, byte layer)
 

Protected Attributes

char _spriteRefs [20]
 
int16 _spriteResId [20]
 
int16 _staticPictCount [10]
 
int16 _staticResId [10]
 
int16 _animPictCount [10]
 
int16 _animResId [10]
 
char _staticPictToSprite [70]
 
char _animPictToSprite [70]
 
Static _statics [10]
 
Animation _animations [10]
 
GobEngine_vm
 

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