25 #include "common/hashmap.h" 26 #include "common/rect.h" 28 #include "engines/myst3/archive.h" 52 virtual bool update() = 0;
55 bool hasFace(uint face) {
return _facesMasks.contains(face); }
64 bool loadMasks(
const Common::String &room, uint32
id, Archive::ResourceType type);
69 FaceMaskMap _facesMasks;
83 void doStep(
float position,
bool isFrame);
85 bool bottomFace, int32 waterEffectAmpl);
90 int8 _bottomDisplacement[640];
91 int8 _verticalDisplacement[640];
92 int8 _horizontalDisplacements[5][640];
109 void doStep(int32 position,
float ampl);
114 int32 _displacement[256];
136 int32 _verticalDisplacement[256];
147 float getPitchOffset() {
return _pitchOffset; }
148 float getHeadingOffset() {
return _headingOffset; }
154 uint _magnetEffectShakeStep;
156 float _headingOffset;
168 float getHeadingOffset() {
return _headingOffset; }
174 float _headingOffset;
192 float _amplitudeIncrement;
194 uint8 _pattern[4096];
195 int32 _displacement[256];
Definition: effects.h:160
Definition: effects.h:139
Definition: effects.h:178
Definition: formatinfo.h:28
Definition: effects.h:117