The notes and chords of a guitar track, one set of each for each span of the song.
More...
#include <axetrackdata.h>
|
| struct | ContourSet |
| | The notes of the gem buttons from one tick on, deleted with the data. More...
|
|
| static constexpr int | kSetSize = 3 |
| | The number of gem buttons, each with the notes of one AxeContour.
|
The notes and chords of a guitar track, one set of each for each span of the song.
The class is not polymorphic. The RTTI of the nested ContourSet records the name. The object is 0x28 bytes. A set starts at its tick and lasts until the tick of the next set. The data manages the notes and chords it is given.
◆ AxeTrackData()
| AxeTrackData::AxeTrackData |
( |
int | nEndTick, |
|
|
int | nReserved ) |
Construct empty data.
- Parameters
-
| nEndTick | The tick at and after which AddContours() and AddHarmony() discard what they are given. |
| nReserved | The value recorded second, which each Axer receives. |
- Ghidra address:
- NTSC-U/C: 0x00149170
- Ghidra address:
- PAL: 0x0014ab30
◆ ~AxeTrackData()
| AxeTrackData::~AxeTrackData |
( |
| ) |
|
Release every set of notes and every chord.
- Ghidra address:
- NTSC-U/C: 0x001491a0
- Ghidra address:
- PAL: 0x0014ab60
◆ AddHarmony()
| void AxeTrackData::AddHarmony |
( |
int | nTick, |
|
|
const AxeHarmony * | pHarmony ) |
Add the chord that plays from a tick on.
A chord at or after the end tick is deleted.
- Parameters
-
| nTick | The tick. |
| pHarmony | The chord. |
- Ghidra address:
- NTSC-U/C: 0x00149330
- Ghidra address:
- PAL: 0x0014acf0
◆ AddContours()
Add the notes of the gem buttons that play from a tick on.
Notes at or after the end tick are deleted.
- Parameters
-
| nTick | The tick. |
| pFirst | The notes of the first gem button. |
| pSecond | The notes of the second gem button. |
| pThird | The notes of the third gem button. |
- Ghidra address:
- NTSC-U/C: 0x00149388
- Ghidra address:
- PAL: 0x0014ad48
◆ GetContours()
Report the notes of the set that plays at a tick.
The set is the last that starts at or before the tick. The data must have one.
- Parameters
-
| nTick | The tick. |
| ppFirst | Receives the notes of the first gem button. |
| ppSecond | Receives the notes of the second gem button. |
| ppThird | Receives the notes of the third gem button. |
- Returns
- The tick of the next set, or -1 when the set is the last.
- Ghidra address:
- NTSC-U/C: 0x00149440
- Ghidra address:
- PAL: 0x0014ae00
◆ GetHarmony()
| int AxeTrackData::GetHarmony |
( |
int | nTick, |
|
|
const AxeHarmony ** | ppHarmony ) const |
Report the chord that plays at a tick.
The chord is the last that starts at or before the tick. The data must have one.
- Parameters
-
| nTick | The tick. |
| ppHarmony | Receives the chord. |
- Returns
- The tick of the next chord, or -1 when the chord is the last.
- Ghidra address:
- NTSC-U/C: 0x001494e8
- Ghidra address:
- PAL: 0x0014aea8
◆ GetEndTick()
| int AxeTrackData::GetEndTick |
( |
| ) |
const |
|
inline |
◆ GetReserved()
| int AxeTrackData::GetReserved |
( |
| ) |
const |
|
inline |
- Returns
- The value each Axer receives. Its use is not yet identified.
◆ kSetSize
| int AxeTrackData::kSetSize = 3 |
|
staticconstexpr |
The number of gem buttons, each with the notes of one AxeContour.
The documentation for this class was generated from the following file: