64 const HxStr &colorName,
367 int mFreestyleStartBar;
368 int mFreestyleEndBar;
Event the game passes between a MsgSource and a MsgSink.
Definition axisypowmsg.h:24
Event the game passes between a MsgSource and a MsgSink.
Definition caughtpowerbarmsg.h:22
Appearance of a player's avatar.
Definition freqappearance.h:39
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
virtual int UnusedQuery()
virtual int GetBestStreak()
Report the best streak of consecutive captures.
PowerupCollectionI * mCollection
Definition localplayer.h:383
void OnBarTick(int nTick)
Run the update of the bar that starts at a tick, then post the next bar's.
virtual int CountMissedGem()
virtual int CountCaughtGem()
virtual int GetMultiplier(int nBar)
Report the multiplier a capture starting at a bar earns.
virtual void AddSink(MsgSink *pSink)
virtual void AnnounceState()
Announce the player's whole state and start the per-bar command.
virtual void DeactivatePlacer()
Run PowerupPlacer::Deactivate() on the placer.
virtual int GetGameMode()
virtual void SetFreestyleSpan(int nStartBar, int nEndBar)
LocalPlayer(int nId, int nInputSlot, const HxStr &colorName, const FreqAppearance *pAppearance, Sch::TickClock *pClock, int nTrack)
Build the player and the powerup collection and placer its play mode calls for.
virtual int GetInputSlot() const
virtual ~LocalPlayer()
Delete the placer and the collection.
virtual void SetLooping(int bLooping, const Sch::Tick &position)
Start or stop looping.
virtual void DispatchPriv(Message *pMsg)
Receive one message.
virtual int IsFreestyleBar(int nBar)
virtual void SetGhost(int bGhost)
Show or hide the player's ghost.
virtual void RemoveSink(MsgSink *pSink)
virtual float GetCaptureRatio()
Report the proportion of captured phrases among those captured and muffed.
virtual void UnusedHook()
void ToggleLoop(const Sch::Tick &position)
Toggle looping.
virtual int MarkBarScored(int nBar)
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
Event the game passes between a MsgSource and a MsgSink.
Definition multipliermsg.h:20
Event the game passes between a MsgSource and a MsgSink.
Definition phrasecapturedmsg.h:27
Event the game passes between a MsgSource and a MsgSink.
Definition phrasemuffedmsg.h:31
Player(int nId, const HxStr &colorName, const FreqAppearance *pAppearance)
Register the player under its identifier and start its tallies.
Interface of the store a player draws powerups from.
Definition powerupcollectioni.h:29
Base of the objects that place a powerup for a player.
Definition powerupplacer.h:24
Handle that identifies one batch of commands the scheduler has queued.
Definition cmdid.h:35
Pausable view of scheduler time, together with the tempo that maps it to a song position.
Definition tickclock.h:40
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70
Event the game passes between a MsgSource and a MsgSink.
Definition toggleghostmsg.h:20
Event the game passes between a MsgSource and a MsgSink.
Definition trackselectmsg.h:24
Scheduling of timed commands.
Definition activefilter.h:9