aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/music_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/music_node.h')
-rw-r--r--engines/zvision/music_node.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/engines/zvision/music_node.h b/engines/zvision/music_node.h
index 973feaf175..9ccf9ab657 100644
--- a/engines/zvision/music_node.h
+++ b/engines/zvision/music_node.h
@@ -45,20 +45,33 @@ public:
*/
bool process(uint32 deltaTimeInMillis);
+ void setVolume(uint8 volume);
+
+ void setPanTrack(int16 pos);
+ void unsetPanTrack();
private:
int32 _timeLeft;
bool _pantrack;
int32 _pantrack_X;
int32 _attenuate;
- int8 _volume;
- int32 _id;
+ uint8 _volume;
bool _loop;
bool _crossfade;
- int32 _crossfade_delta;
+ uint8 _crossfade_target;
int32 _crossfade_time;
+ bool _stereo;
Audio::SoundHandle _handle;
};
+class PanTrackNode : public SideFX {
+public:
+ PanTrackNode(ZVision *engine, uint32 key, uint32 slot, int16 pos);
+ ~PanTrackNode();
+
+private:
+ uint32 _slot;
+};
+
} // End of namespace ZVision
#endif