ScummVM API documentation
Myst3::WaterEffect Class Reference
Inheritance diagram for Myst3::WaterEffect:
Myst3::Effect

Public Member Functions

bool update ()
 
void applyForFace (uint face, Graphics::Surface *src, Graphics::Surface *dst)
 
- Public Member Functions inherited from Myst3::Effect
bool hasFace (uint face)
 
Common::Rect getUpdateRectForFace (uint face)
 

Static Public Member Functions

static WaterEffectcreate (Myst3Engine *vm, uint32 id)
 
- Static Public Member Functions inherited from Myst3::Effect
static FaceMaskloadMask (Common::SeekableReadStream *maskStream)
 

Protected Member Functions

 WaterEffect (Myst3Engine *vm)
 
void doStep (float position, bool isFrame)
 
void apply (Graphics::Surface *src, Graphics::Surface *dst, Graphics::Surface *mask, bool bottomFace, int32 waterEffectAmpl)
 
- Protected Member Functions inherited from Myst3::Effect
 Effect (Myst3Engine *vm)
 
bool loadMasks (const Common::String &room, uint32 id, Archive::ResourceType type)
 

Protected Attributes

uint32 _lastUpdate
 
int32 _step
 
int8 _bottomDisplacement [640]
 
int8 _verticalDisplacement [640]
 
int8 _horizontalDisplacements [5][640]
 
- Protected Attributes inherited from Myst3::Effect
Myst3Engine_vm
 
FaceMaskMap _facesMasks
 

Additional Inherited Members

- Protected Types inherited from Myst3::Effect
typedef Common::HashMap< uint, FaceMask * > FaceMaskMap
 

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