resonance 1.0.1
Loading...
Searching...
No Matches
axingstg.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsink.h"
4#include "app/msgsource.h"
5#include "game/autoriffer.h"
9#include "game/axiscontrol.h"
10#include "game/gsperiodical.h"
11#include "game/pitchpicker.h"
13#include "game/trackdata.h"
14#include "gs/musesynth.h"
16
35class AxingSTG : public ScoreTrackGraph {
36public:
42 AxingSTG(TrackData *pTrackData);
43
54 virtual ~AxingSTG();
55
65 virtual void Start();
66
76 virtual void Stop();
77
89 virtual void ConnectInputs(MsgSource *pPrimary, MsgSource *pOptional, MsgSource *pSecondary);
90
100 virtual void SetMixerOutput(MsgSink *pOutput);
101
111 virtual void ConnectToTunnel(MsgSink *pSink);
112
122 virtual void SetNetSink(MsgSink *pSink);
123
124private:
125 AutoRiffer *mAutoRiffer; // +0x2c
126 PitchPicker *mPitchPicker; // +0x30
127 int mReserved; // +0x34, never read or written
128 AxisControl *mAxisControl; // +0x38
129 AxeNewGemMaker *mNewGemMaker; // +0x3c
130 AxeOldGemMaker *mOldGemMaker; // +0x40
131 MuseSynth *mAxeSynth; // +0x44, distinct from the base's synthesiser at +0x14
132 SynthSustainer *mSustainer; // +0x48
133 AxePhraseMaker *mPhraseMaker; // +0x4c
134 GsPeriodical *mPeriodical; // +0x50
135};
Producer of the automatic riff a guitar track plays when it is not being played.
Definition autoriffer.h:39
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
Phrase maker for a guitar track.
Definition axephrasemaker.h:38
virtual void Stop()
Stop the stage.
virtual void SetMixerOutput(MsgSink *pOutput)
Attach the mixer to the base's synthesiser and give it its output sink.
virtual void Start()
Start the stage.
virtual void SetNetSink(MsgSink *pSink)
Install the sink the phrase manager reports phrase changes to.
virtual void ConnectInputs(MsgSource *pPrimary, MsgSource *pOptional, MsgSource *pSecondary)
Wire the stage's objects to the sources that drive it.
virtual void ConnectToTunnel(MsgSink *pSink)
Register one sink with every source the stage provides.
virtual ~AxingSTG()
Stop the stage and release everything the constructor built.
AxingSTG(TrackData *pTrackData)
Translator of analogue stick movement into track control.
Definition axiscontrol.h:32
Repeating post that re-queues itself one period ahead each time it runs.
Definition gsperiodical.h:29
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
Owner of the players that are sounding, and the sink that starts them.
Definition musesynth.h:36
Chooser of which pitch a guitar track's input resolves to.
Definition pitchpicker.h:31
ScoreTrackGraph(TrackData *pTrackData)
Build the stage's quantiser, phrase manager, phrase player, mixer, and synthesiser.
Message filter that suppresses note-offs for the notes a sustain request covers.
Definition synthsustainer.h:25
Converted events of one track of a level.
Definition trackdata.h:52