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

Public Member Functions

 CSTimeView (MohawkEngine_CSTime *vm)
 
uint32 getTime () override
 
void setupView ()
 
Feature * installViewFeature (uint16 scrbId, uint32 flags, Common::Point *pos)
 
void installGroup (uint16 resourceId, uint size, uint count, bool regs, uint16 baseId)
 
void removeGroup (uint16 resourceId)
 
void loadBitmapCursors (uint16 baseId)
 
void setBitmapCursor (uint16 id)
 
uint16 getBitmapCursor ()
 
void dragFeature (NewFeature *feature, Common::Point pos, uint mode, uint32 flags, Common::Rect *rect)
 
- Public Member Functions inherited from Mohawk::View
 View (MohawkEngine *vm)
 
virtual void idleView ()
 
void setModule (Module *module)
 
Module * getCurrentModule ()
 
GraphicsManager * getGfx ()
 
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::SeekableReadStream * getSCRB (uint16 index, uint16 id=0xffff)
 
Feature * getFeaturePtr (uint16 id)
 
uint16 getNewFeatureId ()
 
void removeFeature (Feature *feature, bool free)
 
void insertUnderCursor (Feature *feature)
 
Feature * pointOnFeature (bool topdown, uint32 flags, Common::Point pos)
 
void sortView ()
 
virtual uint32 getTime ()=0
 

Protected Member Functions

void removeObjectsUsingBaseId (uint16 baseId)
 
void freeShapesUsingResourceId (uint16 resourceId)
 
void freeScriptsUsingResourceId (uint16 resourceId)
 
void groupFreeScript (uint index)
 
void groupAdjustView (uint index, uint count)
 
void finishDraw () override
 
- Protected Member Functions inherited from Mohawk::View
void setGraphicsManager (GraphicsManager *gfx)
 
Feature * sortOneList (Feature *root)
 
Feature * mergeLists (Feature *root, Feature *mergeRoot)
 
virtual void finishDraw ()
 

Protected Attributes

MohawkEngine_CSTime * _timeVm
 
uint16 _bitmapCursorId
 
uint16 _SCRBGroupResources [14]
 
- Protected Attributes inherited from Mohawk::View
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]
 

Additional Inherited Members

- Public Attributes inherited from Mohawk::View
uint32 _lastIdleTime
 
bool _needsUpdate
 

Member Function Documentation

◆ getTime()

uint32 Mohawk::CSTimeView::getTime ( )
overridevirtual

Implements Mohawk::View.

◆ finishDraw()

void Mohawk::CSTimeView::finishDraw ( )
overrideprotectedvirtual

Reimplemented from Mohawk::View.


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