25 #include "engines/myst3/gfx.h" 26 #include "engines/myst3/node.h" 28 #include "math/vector3d.h" 29 #include "video/bink_decoder.h" 43 void drawOverlay()
override;
48 uint16 getId() {
return _id; }
49 bool isVideoLoaded() {
return _bink.isVideoLoaded(); }
50 void setPosU(int32 v) { _posU = v; }
51 void setPosV(int32 v) { _posV = v; }
52 void setForce2d(
bool b);
53 void setForceOpaque(
bool b) { _forceOpaque = b; }
54 void setStartFrame(int32 v);
55 void setEndFrame(int32 v);
56 void setVolume(int32 v) { _volume = v; }
64 Math::Vector3d _pTopLeft;
65 Math::Vector3d _pBottomLeft;
66 Math::Vector3d _pBottomRight;
67 Math::Vector3d _pTopRight;
74 Video::BinkDecoder _bink;
82 bool _additiveBlending;
85 int32 adjustFrameForRate(int32 frame,
bool dataToBink);
87 void drawNextFrameToTexture();
99 void drawOverlay()
override;
100 virtual void update(
bool pauseAtFirstFrame =
false) ;
102 void setEndFrameVar(uint16 v) { _endFrameVar = v; }
103 void setNextFrameReadVar(uint16 v) { _nextFrameReadVar = v; }
104 void setNextFrameWriteVar(uint16 v) { _nextFrameWriteVar = v; }
105 void setPlayingVar(uint16 v) { _playingVar = v; }
106 void setPosUVar(uint16 v) { _posUVar = v; }
107 void setPosVVar(uint16 v) { _posVVar = v; }
108 void setVolumeVar(uint16 v) { _volumeVar = v; }
109 void setStartFrameVar(uint16 v) { _startFrameVar = v; }
110 void setPreloaded(
bool b) { _isPreloaded = b; }
111 void setNoFrameSkip(
bool b) { _noFrameSkip = b; }
112 void setUnk147(uint16 v) { _unk147 = v; }
113 void setUnk148(uint16 v) { _unk148 = v; }
114 void setCondition(int16 condition) { _condition = condition; }
115 void setConditionBit(int16 cb) { _conditionBit = cb; }
116 void setDisableWhenComplete(
bool upd) { _disableWhenComplete = upd; }
117 void setLoop(
bool loop) { _loop = loop; }
118 void setScriptDriven(
bool b) { _scriptDriven = b; }
119 void setSoundHeading(uint16 v) { _soundHeading = v; }
120 void setSoundAttenuation(uint16 v) { _soundAttenuation = v; }
121 void setAdditiveBlending(
bool b) { _additiveBlending = b; }
122 void setTransparency(int32 v) { _transparency = v; }
123 void setTransparencyVar(uint16 v) { _transparencyVar = v; }
128 bool _disableWhenComplete;
137 uint16 _conditionBit;
139 uint16 _startFrameVar;
145 uint32 _soundHeading;
146 uint32 _soundAttenuation;
148 uint16 _nextFrameReadVar;
149 uint16 _nextFrameWriteVar;
153 uint16 _transparencyVar;
166 void playStartupSound();
167 void refreshAmbientSounds();
169 void setSynchronized(
bool b) { _synchronized = b; }
175 uint _startEngineTick;
184 void update(
bool pauseAtFirstFrame =
false);
190 static const uint kBlurIterations = 30;
191 uint8 _blurTableX[kBlurIterations];
192 uint8 _blurTableY[kBlurIterations];
Definition: archive.h:112
Definition: subtitles.h:34