The state of one track, 0x2c bytes.
More...
#include <gfxtunnel.h>
|
| | TrackData () |
| | Construct a track with no index, no bars, and no capture.
|
| std::list< BarData >::iterator | FindBar (float flTick, float flNow, int *pbFound) |
| | Find the first bar that ends after a tick, dropping the bars that ended more than half a bar before the song.
|
|
| static constexpr int | kNoType = 5 |
| | The type of a track before the tunnel gives it one.
|
| static constexpr float | kNoTick = -1e9f |
| | The tick of a capture that has not happened.
|
The state of one track, 0x2c bytes.
◆ TrackData()
| GfxTunnel::TrackData::TrackData |
( |
| ) |
|
|
inline |
Construct a track with no index, no bars, and no capture.
◆ FindBar()
| std::list< BarData >::iterator GfxTunnel::TrackData::FindBar |
( |
float | flTick, |
|
|
float | flNow, |
|
|
int * | pbFound ) |
Find the first bar that ends after a tick, dropping the bars that ended more than half a bar before the song.
- Parameters
-
| flTick | The tick. |
| flNow | The tick of the song. |
| pbFound | Receives whether the bar starts at or before flTick. |
- Returns
- The bar, or the end of mBars.
- Ghidra address:
- NTSC-U/C: 0x001de340
- Ghidra address:
- PAL: 0x001e70e0
◆ kNoType
| int GfxTunnel::TrackData::kNoType = 5 |
|
staticconstexpr |
The type of a track before the tunnel gives it one.
◆ kNoTick
| float GfxTunnel::TrackData::kNoTick = -1e9f |
|
staticconstexpr |
The tick of a capture that has not happened.
◆ mIndex
| int GfxTunnel::TrackData::mIndex |
◆ mInstrument
| int GfxTunnel::TrackData::mInstrument |
◆ mType
| int GfxTunnel::TrackData::mType |
◆ mBars
| std::list<BarData> GfxTunnel::TrackData::mBars |
The bars set on the track, in order of tick.
◆ mPlayers
| std::vector<signed char> GfxTunnel::TrackData::mPlayers |
The players on the track.
◆ mCaptureStartTick
| float GfxTunnel::TrackData::mCaptureStartTick |
The tick the last capture of the track started.
◆ mCaptureEndTick
| float GfxTunnel::TrackData::mCaptureEndTick |
The tick after the last captured phrase.
The documentation for this class was generated from the following file: