wavelength 1.0.0
Loading...
Searching...
No Matches
WorldTrack Class Reference

The events of the track of a song named "WORLD", sorted by tick. More...

#include <worldtrack.h>

Public Member Functions

 WorldTrack ()
 Construct the track with seven empty event lists.
 ~WorldTrack ()
 Release the event lists.
void Insert (int nTick, char cLetter)
 Add the tick of an event to the list of its letter, keeping the list sorted.
std::vector< int > * GetEvents (char cLetter)
 Report the event list of a letter.

Static Public Attributes

static constexpr char kFirstLetter = 'A'
 The letter of the first event list.
static constexpr int kListCount = 7
 The number of event lists, one for each letter from A to G.

Detailed Description

The events of the track of a song named "WORLD", sorted by tick.

The class is not polymorphic and has no RTTI. The name is inferred from the track name. The object is 0x10 bytes. The constructor makes seven empty event lists.

Constructor & Destructor Documentation

◆ WorldTrack()

WorldTrack::WorldTrack ( )

Construct the track with seven empty event lists.

Ghidra address:
NTSC-U/C: 0x00281030
Ghidra address:
PAL: 0x0028a930

◆ ~WorldTrack()

WorldTrack::~WorldTrack ( )

Release the event lists.

Ghidra address:
NTSC-U/C: 0x00281190
Ghidra address:
PAL: 0x0028aa90

Member Function Documentation

◆ Insert()

void WorldTrack::Insert ( int nTick,
char cLetter )

Add the tick of an event to the list of its letter, keeping the list sorted.

The name is inferred.

Parameters
nTickThe tick.
cLetterThe letter, from A to G.
Ghidra address:
NTSC-U/C: 0x00281238
Ghidra address:
PAL: 0x0028ab38

◆ GetEvents()

std::vector< int > * WorldTrack::GetEvents ( char cLetter)

Report the event list of a letter.

The name is inferred.

Parameters
cLetterThe letter, from A to G.
Returns
The ticks of the events, sorted.
Ghidra address:
NTSC-U/C: 0x00281548
Ghidra address:
PAL: 0x0028ae48

Member Data Documentation

◆ kFirstLetter

char WorldTrack::kFirstLetter = 'A'
staticconstexpr

The letter of the first event list.

◆ kListCount

int WorldTrack::kListCount = 7
staticconstexpr

The number of event lists, one for each letter from A to G.


The documentation for this class was generated from the following file: