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 WaterEffect * | create (Myst3Engine *vm, uint32 id) |
Static Public Member Functions inherited from Myst3::Effect | |
static FaceMask * | loadMask (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 |