resonance 1.0.1
Loading...
Searching...
No Matches
voxingstg.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsink.h"
4#include "app/msgsource.h"
9#include "game/trackdata.h"
10#include "gs/voxer.h"
11
24class VoxingSTG : public ScoreTrackGraph {
25public:
36 VoxingSTG(TrackData *pTrackData);
37
47 virtual ~VoxingSTG();
48
58 virtual void Start();
59
68 virtual void Stop();
69
81 virtual void ConnectInputs(MsgSource *pPrimary, MsgSource *pOptional, MsgSource *pSecondary);
82
92 virtual void SetMixerOutput(MsgSink *pOutput);
93
103 virtual void ConnectToTunnel(MsgSink *pSink);
104
114 virtual void SetNetSink(MsgSink *pSink);
115
116private:
117 Voxer *mVoxer; // +0x2c
118 JamEffectsMgr *mJamEffects; // +0x30, null outside play mode 2
119 AxeNewGemMaker *mNewGemMaker; // +0x34
120 AxeOldGemMaker *mOldGemMaker; // +0x38
121};
Producer of the gems a guitar or vocal track presents, in its later form.
Definition axenewgemmaker.h:25
Producer of the gems a guitar or vocal track presents, in its earlier form.
Definition axeoldgemmaker.h:32
Manager of the jam effects a track applies to its voices.
Definition jameffectsmgr.h:27
Receiver of engine messages.
Definition msgsink.h:37
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
ScoreTrackGraph(TrackData *pTrackData)
Build the stage's quantiser, phrase manager, phrase player, mixer, and synthesiser.
Converted events of one track of a level.
Definition trackdata.h:52
Pitcher that drives the vocal track.
Definition voxer.h:41
VoxingSTG(TrackData *pTrackData)
Build the producer, the old and then the new gem maker, and, in play mode 2, the jam effects manager.
virtual void Start()
Start the stage.
virtual void ConnectInputs(MsgSource *pPrimary, MsgSource *pOptional, MsgSource *pSecondary)
Wire the stage's objects to the sources that drive it.
virtual void Stop()
Stop the stage.
virtual void SetNetSink(MsgSink *pSink)
Install the sink the phrase manager reports phrase changes to.
virtual ~VoxingSTG()
Stop the stage and release the four objects the constructor built.
virtual void ConnectToTunnel(MsgSink *pSink)
Register one sink with every source the stage provides.
virtual void SetMixerOutput(MsgSink *pOutput)
Attach the mixer to the synthesiser and give it its output sink.