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();
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 setCondition(int16 condition) { _condition = condition; }
111 void setConditionBit(int16 cb) { _conditionBit = cb; }
112 void setDisableWhenComplete(
bool upd) { _disableWhenComplete = upd; }
113 void setLoop(
bool loop) { _loop = loop; }
114 void setScriptDriven(
bool b) { _scriptDriven = b; }
115 void setSoundHeading(uint16 v) { _soundHeading = v; }
116 void setSoundAttenuation(uint16 v) { _soundAttenuation = v; }
117 void setAdditiveBlending(
bool b) { _additiveBlending = b; }
118 void setTransparency(int32 v) { _transparency = v; }
119 void setTransparencyVar(uint16 v) { _transparencyVar = v; }
124 bool _disableWhenComplete;
129 uint16 _conditionBit;
131 uint16 _startFrameVar;
137 uint32 _soundHeading;
138 uint32 _soundAttenuation;
140 uint16 _nextFrameReadVar;
141 uint16 _nextFrameWriteVar;
145 uint16 _transparencyVar;
158 void playStartupSound();
159 void refreshAmbientSounds();
161 void setSynchronized(
bool b) { _synchronized = b; }
167 uint _startEngineTick;
182 static const uint kBlurIterations = 30;
183 uint8 _blurTableX[kBlurIterations];
184 uint8 _blurTableY[kBlurIterations];
Definition: archive.h:112
Definition: subtitles.h:34