|
| | AxeTrack (AxeTrackData *pData, SectionBoundaries *pSections, PlayMap *pPlayMap, const float *pfMsPerTick, int nIndex, int nIntroBars, int nNumBars, int nTicksPerBar) |
| | Construct a guitar track.
|
| | ~AxeTrack () override |
| | Stop the track and release its players.
|
| void | Start () override |
| | Give the players the chord and the notes of the song position, and keep them updated.
|
| void | Stop () override |
| | Withdraw the scheduled commands and stop every player.
|
| void | SetPlayer (Player *pPlayer) override |
| | End the held note and give the track to the player it plays for.
|
| void | HandleInput (Player *pPlayer, const PlayNoteEvent &event) override |
| | Start the note of a pressed gem button, or end it when the button is released.
|
| void | HandleInput (Player *pPlayer, const StickEvent< 2 > &event) override |
| | Move the held note with the stick.
|
| void | HandleInput (Player *pPlayer, const BtnEvent< 10 > &event) override |
| | Ignore the input.
|
| bool | IsActive () override |
| | Report whether a gem button is held.
|
| void | Refresh () override |
| | Withdraw the scheduled commands and give the players the chord and the notes of the song position again.
|
| void | HandleInput (Player *pPlayer, const BtnEvent< 8 > &event) override |
| | Ignore the event.
|
| void | HandleInput (Player *pPlayer, const StickEvent< 6 > &event) override |
| | Pass a stick position of the track's player to the graphics.
|
| | FreestyleTrack (const SectionBoundaries *pSections, PlayMap *pPlayMap, const float *pfMsPerTick, int nIndex, int nNumBars, int nTicksPerBar) |
| | Construct a track.
|
| | ~FreestyleTrack () override |
| | Release the track.
|
| void | Stop () override |
| | Stop the track with the song.
|
| void | SetPlayer (Player *pPlayer) override |
| | Commit the points of the player that leaves, assign the player, and start the bars of the player that arrives.
|
| void | HandleInput (Player *pPlayer, const PlayNoteEvent &event) override |
| | Send a note the track's player played, and start or stop the scoring of the time it sounds.
|
| void | HandleInput (Player *pPlayer, const BtnEvent< 8 > &event) override |
| | Ignore the event.
|
| void | HandleInput (Player *pPlayer, const StickEvent< 2 > &event) override |
| | Pass a stick position of the track's player to the graphics and the other consoles.
|
| void | HandleInput (Player *pPlayer, const StickEvent< 6 > &event) override |
| | Pass a stick position of the track's player to the graphics.
|
| int | WrapTick (int nTick) |
| | Wrap a tick into the repeat period of the track.
|
| int | SpanEnd (int nTick, int nStart, int nEnd) |
| | Report the tick at which the span that starts at a tick ends.
|
| void | UpdatePoints () |
| | Award the player pending points for the time the active note sounded in the bar, and run again a twentieth of a bar later.
|
| void | StartBar (bool bSchedule) |
| | Commit the pending points of the bar that ends and restart the timing of the active note.
|
| void | SendUpdate (Player *pPlayer, float fX, float fY) |
| | Send the button and a stick position of a local player to the other consoles, at most once every 150 milliseconds.
|
| int | GetTickOffset () const |
| void | SetTickOffset (int nTickOffset) |
| virtual void | HandleInput (Player *pPlayer, const BtnEvent< 10 > &event)=0 |
| | Act on a button event of a player on this track.
|
| | Track (int nIndex) |
| | Construct a track with no player.
|
| virtual | ~Track () |
| | Release the track.
|
| int | GetIndex () const |
| Player * | GetPlayer () const |
Freestyle track played as a guitar.
The RTTI records the class as deriving from FreestyleTrack. The object is 0x88 bytes, and GameLogic allocates it under the tag "AxeTrack". Each gem button has an Axer that plays the notes of the button over the chord of the song position. The stick selects the note and bends the pitch while a button is held.