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

#include <effects.h>

Inheritance diagram for Myst3::MagnetEffect:
Collaboration diagram for Myst3::MagnetEffect:

List of all members.

Public Member Functions

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

Static Public Member Functions

static MagnetEffectcreate (Myst3Engine *vm, uint32 id)

Protected Member Functions

 MagnetEffect (Myst3Engine *vm)
void apply (Graphics::Surface *src, Graphics::Surface *dst, Graphics::Surface *mask, int32 position)

Protected Attributes

int32 _lastSoundId
Common::MemoryReadStream_shakeStrength
uint32 _lastTime
float _position
float _lastAmpl
int32 _verticalDisplacement [256]

Detailed Description

Definition at line 118 of file effects.h.


Constructor & Destructor Documentation

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

Definition at line 439 of file effects.cpp.

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

Definition at line 430 of file effects.cpp.


Member Function Documentation

void Myst3::MagnetEffect::apply ( Graphics::Surface src,
Graphics::Surface dst,
Graphics::Surface mask,
int32  position 
) [protected]

Definition at line 523 of file effects.cpp.

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

Implements Myst3::Effect.

Definition at line 514 of file effects.cpp.

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

Definition at line 443 of file effects.cpp.

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

Implements Myst3::Effect.

Definition at line 453 of file effects.cpp.


Member Data Documentation

float Myst3::MagnetEffect::_lastAmpl [protected]

Definition at line 136 of file effects.h.

Definition at line 131 of file effects.h.

Definition at line 134 of file effects.h.

float Myst3::MagnetEffect::_position [protected]

Definition at line 135 of file effects.h.

Definition at line 137 of file effects.h.


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


Generated on Sat Sep 14 2019 05:04:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge