wavelength 1.0.0
Loading...
Searching...
No Matches
remixinfo.h File Reference
#include "os/binstream.h"
#include "os/datetime.h"
#include "os/prnstream.h"
Include dependency graph for remixinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RemixInfo
 Description of a saved remix. More...

Functions

PrnStream & operator<< (PrnStream &stream, const RemixInfo &info)
 Write a description as its name, key, song, size, date, skill, flags, tempo, and source.
BinStream & operator<< (BinStream &stream, const RemixInfo &info)
 Write a description to a stream, after a version byte.
BinStream & operator>> (BinStream &stream, RemixInfo &info)
 Read a description from a stream.

Variables

constexpr int kRemixInfoNameSize = 30
 Bytes of RemixInfo::mName, the terminator included.
constexpr int kRemixInfoSongSize = 30
 Bytes of RemixInfo::mSong, the terminator included.
constexpr int kRemixInfoCreatorCount = 4
 The number of creators a remix records.
constexpr int kRemixInfoCreatorSize = 16
 Bytes of each name in RemixInfo::mCreators, the terminator included.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const RemixInfo & info )

Write a description as its name, key, song, size, date, skill, flags, tempo, and source.

Parameters
streamThe stream to write to.
infoThe description.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027e8d0
Ghidra address:
PAL: 0x002881e8

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const RemixInfo & info )

Write a description to a stream, after a version byte.

Parameters
streamThe stream.
infoThe description.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027eaa0
Ghidra address:
PAL: 0x002883b8

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
RemixInfo & info )

Read a description from a stream.

Parameters
streamThe stream.
infoReceives the description.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027eb10
Ghidra address:
PAL: 0x00288410

Variable Documentation

◆ kRemixInfoNameSize

int kRemixInfoNameSize = 30
constexpr

Bytes of RemixInfo::mName, the terminator included.

◆ kRemixInfoSongSize

int kRemixInfoSongSize = 30
constexpr

Bytes of RemixInfo::mSong, the terminator included.

◆ kRemixInfoCreatorCount

int kRemixInfoCreatorCount = 4
constexpr

The number of creators a remix records.

◆ kRemixInfoCreatorSize

int kRemixInfoCreatorSize = 16
constexpr

Bytes of each name in RemixInfo::mCreators, the terminator included.