ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <effects.h>

Inheritance diagram for Myst3::WaterEffect:
Collaboration diagram for Myst3::WaterEffect:

List of all members.

Public Member Functions

virtual ~WaterEffect ()
bool update ()
void applyForFace (uint face, Graphics::Surface *src, Graphics::Surface *dst)

Static Public Member Functions

static WaterEffectcreate (Myst3Engine *vm, uint32 id)

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 Attributes

uint32 _lastUpdate
int32 _step
int8 _bottomDisplacement [640]
int8 _verticalDisplacement [640]
int8 _horizontalDisplacements [5][640]

Private Member Functions

bool isRunning ()

Detailed Description

Definition at line 73 of file effects.h.

Constructor & Destructor Documentation

Myst3::WaterEffect::~WaterEffect (  )  [virtual]

Definition at line 168 of file effects.cpp.

Myst3::WaterEffect::WaterEffect ( Myst3Engine vm  )  [protected]

Definition at line 162 of file effects.cpp.

Member Function Documentation

void Myst3::WaterEffect::apply ( Graphics::Surface src,
Graphics::Surface dst,
Graphics::Surface mask,
bool  bottomFace,
int32  waterEffectAmpl 
) [protected]

Definition at line 267 of file effects.cpp.

void Myst3::WaterEffect::applyForFace ( uint  face,
Graphics::Surface src,
Graphics::Surface dst 
) [virtual]

Implements Myst3::Effect.

Definition at line 254 of file effects.cpp.

WaterEffect * Myst3::WaterEffect::create ( Myst3Engine vm,
uint32  id 
) [static]

Definition at line 171 of file effects.cpp.

void Myst3::WaterEffect::doStep ( float  position,
bool  isFrame 
) [protected]

Definition at line 209 of file effects.cpp.

bool Myst3::WaterEffect::isRunning (  )  [private]

Definition at line 182 of file effects.cpp.

bool Myst3::WaterEffect::update (  )  [virtual]

Implements Myst3::Effect.

Definition at line 187 of file effects.cpp.

Member Data Documentation

Definition at line 91 of file effects.h.

Definition at line 93 of file effects.h.

Definition at line 88 of file effects.h.

Definition at line 89 of file effects.h.

Definition at line 92 of file effects.h.

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

Generated on Sat Aug 8 2020 05:03:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge