109 static int MakeKey(
int nDevice,
int nPort,
int nButton);
154 void AddBinding(
int nDevice,
int nPort,
int nButton,
int nSlot,
int nAction,
int nExtra);
183 kActionAxisX = 0x706f7778,
184 kActionAxisY = 0x706f7779,
185 kActionAdvance = 0x6164766e,
186 kActionAxisFX = 0x61786678,
187 kActionAxisRegister = 0x72656769,
188 kActionButtonPow = 0x706f7762,
189 kActionErase = 0x65726173,
190 kActionGhost = 0x67686f73,
191 kActionLoop = 0x6c6f6f70,
192 kActionPitchRiff = 0x72706368,
211 void OnControllerReading(RawControllerMsg *pMsg);
223 void SendStopRiff(Sch::Tick position, Player *pPlayer,
int nTrack,
int nRiff);
231 void SendPitchRiff(Sch::Tick position, Player *pPlayer,
int nTrack,
int nRiff);
240 std::list<Binding>::iterator FindOrAddBinding(
const Binding &binding);
250 void ClearBindingMap();
253 std::list<Binding> mBindings;
254 std::map<int, std::list<Binding>::iterator> mBindingMap;
255 std::vector<Player *> *mPlayers;
258 int mRiffActive[kSlotCount][kRiffCount];
Abstract owner of the process-wide services.
Definition globals.h:47
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
One participant in a session, local or remote.
Definition player.h:39
Event the game passes between a MsgSource and a MsgSink.
Definition rawcontrollermsg.h:24