ScummVM API documentation
Mohawk::CSTimeChar Class Reference

Public Member Functions

 CSTimeChar (MohawkEngine_CSTime *vm, CSTimeScene *scene, uint id)
 
void idle ()
 
void setupAmbientAnims (bool onetime)
 
void idleAmbients ()
 
void stopAmbients (bool restpos)
 
void setupRestPos ()
 
void removeChr ()
 
uint16 getChrBaseId ()
 
uint getScriptCount ()
 
void playNIS (uint16 id)
 
bool NISIsDone ()
 
void removeNIS ()
 
void startFlapping (uint16 id)
 
void interruptFlapping ()
 

Public Attributes

uint16 _unknown1
 
uint16 _unknown2
 
uint16 _unknown3
 
Common::Array< CSTimeAmbient > _ambients
 
bool _enabled
 
uint16 _flappingState
 

Protected Member Functions

void installAmbientAnim (uint id, uint32 flags)
 
uint16 getChrTypeScriptBase ()
 
void playFlapWave (uint16 id)
 
void updateWaveStatus ()
 
void setupTalk ()
 
void idleTalk ()
 
void stopFlapping ()
 

Protected Attributes

MohawkEngine_CSTime * _vm
 
CSTimeScene * _scene
 
uint _id
 
Feature * _NIS
 
Feature * _restFeature
 
Feature * _talkFeature
 
Feature * _talkFeature1
 
Feature * _talkFeature2
 
Feature * _talkFeature3
 
uint16 _playingWaveId
 
CueList _cueList
 
uint _nextCue
 
uint32 _lastTime1
 
uint32 _lastTime2
 
uint32 _lastTime3
 
bool _resting
 
byte _waveStatus
 
byte _surfingState
 

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