resonance 1.0.1
Loading...
Searching...
No Matches
jameffectsmgr.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "app/msgsink.h"
6#include "app/msgsource.h"
7#include "gs/effector.h"
8#include "msg/jameffectmsg.h"
9#include "msg/message.h"
10
11class PhraseMgr;
12class PlayMap;
13
27class JamEffectsMgr : public MsgSink, public MsgSource {
28public:
40 JamEffectsMgr(int nTrack,
41 unsigned char nChannel,
42 PlayMap *pPlayMap,
43 PhraseMgr *pPhraseMgr,
44 MsgSink *pSink);
45
52 virtual ~JamEffectsMgr();
53
63 virtual void DispatchPriv(Message *pMsg);
64
76 void Enable(long long nMask);
77
78private:
89 void PostRemixFxMsg(JamEffectMsg *pMsg);
90
97 Effector *GetEffector(int nType) const;
98
107 void EnableAll(int bEnabled);
108
109 PlayMap *mPlayMap; // +0x18, not read by any recovered routine
110 PhraseMgr *mPhraseMgr; // +0x1c
111 int mTrack; // +0x20
112 unsigned char mChannel; // +0x24
113 std::vector<Effector *> mEffectors; // +0x28
114};
One switchable audio effect that a powerup applies to a player's track.
Definition effector.h:42
Event the game passes between a MsgSource and a MsgSink.
Definition jameffectmsg.h:20
JamEffectsMgr(int nTrack, unsigned char nChannel, PlayMap *pPlayMap, PhraseMgr *pPhraseMgr, MsgSink *pSink)
PitchingSTG's constructor at 0x001c46e8 supplies every argument.
virtual ~JamEffectsMgr()
Delete every effect.
virtual void DispatchPriv(Message *pMsg)
Act on a message.
void Enable(long long nMask)
Switch every effect on or off from one bit of a mask.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
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 gem phrases on one track, and the seam between the network and the gems.
Definition phrasemgr.h:51
Traversal order over one playable sequence.
Definition playmap.h:47