ScummVM API documentation
Mohawk::View Class Referenceabstract
Inheritance diagram for Mohawk::View:
Mohawk::CSTimeView

Public Member Functions

 View (MohawkEngine *vm)
 
virtual void idleView ()
 
void setModule (Module *module)
 
ModulegetCurrentModule ()
 
GraphicsManagergetGfx ()
 
Common::Array< uint16 > getSHPL (uint16 id)
 
void installBG (uint16 id)
 
void setColors (Common::SeekableReadStream *tpalStream)
 
void copyFadeColors (uint start, uint count)
 
uint16 getCompoundSHAPId (uint16 shapIndex)
 
void installGroupOfSCRBs (bool main, uint base, uint size, uint count=0)
 
virtual void freeScripts ()
 
void installFeatureShapes (bool regs, uint groupId, uint16 resourceBase)
 
void freeFeatureShapes ()
 
uint16 getGroupFromBaseId (uint16 baseId)
 
void getnthScriptSetGroup (uint16 &scrbIndex, uint16 &shapIndex, uint16 scrbId)
 
Common::SeekableReadStreamgetSCRB (uint16 index, uint16 id=0xffff)
 
FeaturegetFeaturePtr (uint16 id)
 
uint16 getNewFeatureId ()
 
void removeFeature (Feature *feature, bool free)
 
void insertUnderCursor (Feature *feature)
 
FeaturepointOnFeature (bool topdown, uint32 flags, Common::Point pos)
 
void sortView ()
 
virtual uint32 getTime ()=0
 

Public Attributes

uint32 _lastIdleTime
 
bool _needsUpdate
 

Protected Member Functions

void setGraphicsManager (GraphicsManager *gfx)
 
FeaturesortOneList (Feature *root)
 
FeaturemergeLists (Feature *root, Feature *mergeRoot)
 
virtual void finishDraw ()
 

Protected Attributes

MohawkEngine_vm
 
GraphicsManager_gfx
 
Module_currentModule
 
uint16 _backgroundId
 
Feature_rootNode
 
Feature_cursorNode
 
uint16 _numSCRBGroups
 
uint16 _SCRBGroupBases [14]
 
uint16 _SCRBGroupSizes [14]
 
Common::Array< uint16 > _SCRBEntries
 
uint16 _compoundSHAPGroups [14]
 

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