ScummVM API documentation
Kyra::Animator_LoK Class Reference

Classes

struct  AnimObject
 

Public Member Functions

 Animator_LoK (KyraEngine_LoK *vm, OSystem *system)
 
 operator bool () const
 
void init (int actors, int items, int sprites)
 
void close ()
 
AnimObjectobjects ()
 
AnimObjectactors ()
 
AnimObjectitems ()
 
AnimObjectsprites ()
 
void initAnimStateList ()
 
void preserveAllBackgrounds ()
 
void flagAllObjectsForBkgdChange ()
 
void flagAllObjectsForRefresh ()
 
void restoreAllObjectBackgrounds ()
 
void preserveAnyChangedBackgrounds ()
 
virtual void prepDrawAllObjects ()
 
void copyChangedObjectsForward (int refreshFlag, bool refreshScreen=true)
 
void updateAllObjectShapes (bool refreshScreen=true)
 
void animRemoveGameItem (int index)
 
void animAddGameItem (int index, uint16 sceneId)
 
void animAddNPC (int character)
 
void animRefreshNPC (int character)
 
void clearQueue ()
 
void addObjectToQueue (AnimObject *object)
 
void refreshObject (AnimObject *object)
 
void makeBrandonFaceMouse ()
 
void setBrandonAnimSeqSize (int width, int height)
 
void resetBrandonAnimSeqSize ()
 
void setCharacterDefaultFrame (int character)
 
void setCharactersHeight ()
 
int16 fetchAnimWidth (const uint8 *shape, int16 mult)
 
int16 fetchAnimHeight (const uint8 *shape, int16 mult)
 

Public Attributes

int _noDrawShapesFlag
 
uint16 _brandonDrawFrame
 
int _brandonScaleX
 
int _brandonScaleY
 

Protected Member Functions

AnimObjectobjectRemoveQueue (AnimObject *queue, AnimObject *rem)
 
AnimObjectobjectAddHead (AnimObject *queue, AnimObject *head)
 
AnimObjectobjectQueue (AnimObject *queue, AnimObject *add)
 
void preserveOrRestoreBackground (AnimObject *obj, bool restore)
 

Protected Attributes

KyraEngine_LoK_vm
 
Screen_screen
 
OSystem_system
 
bool _initOk
 
AnimObject_screenObjects
 
AnimObject_actors
 
AnimObject_items
 
AnimObject_sprites
 
uint8 * _actorBkgBackUp [2]
 
AnimObject_objectQueue
 
int _brandonAnimSeqSizeWidth
 
int _brandonAnimSeqSizeHeight
 

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