resonance 1.0.1
Loading...
Searching...
No Matches
metremixrecord.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6#include "os/hxstr.h"
7
38 : levelName(""), name(""), fileName(""), dateTime(""), gameOk(1), factory(0),
39 albumNumber(0) {
40 }
41
56 MetRemixRecord(HxStr levelNameIn,
57 HxStr nameIn,
58 HxStr fileNameIn,
59 HxStr dateTimeIn,
60 char cGameOk,
61 std::vector<FreqAppearance> appearancesIn,
62 int nAlbumNumber)
63 : levelName(levelNameIn), name(nameIn), fileName(fileNameIn), dateTime(dateTimeIn),
64 gameOk(cGameOk), factory(0), appearances(appearancesIn), albumNumber(nAlbumNumber) {
65 }
66
82 char gameOk;
86 std::vector<FreqAppearance> appearances;
89};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
int factory
Non-zero for a factory remix.
Definition metremixrecord.h:84
MetRemixRecord()
Definition metremixrecord.h:37
HxStr dateTime
The date and time the remix was saved, shown in the jukebox date text.
Definition metremixrecord.h:80
HxStr levelName
The level the remix was recorded on.
Definition metremixrecord.h:71
int albumNumber
The album the remix belongs to, compared against GetAlbumJukeboxValue().
Definition metremixrecord.h:88
MetRemixRecord(HxStr levelNameIn, HxStr nameIn, HxStr fileNameIn, HxStr dateTimeIn, char cGameOk, std::vector< FreqAppearance > appearancesIn, int nAlbumNumber)
Build a record from its parts, taken by value.
Definition metremixrecord.h:56
std::vector< FreqAppearance > appearances
Appearances of the players who recorded the remix.
Definition metremixrecord.h:86
HxStr name
The remix name, which JukeboxPlayList::AddEntry() copies into a playlist entry and MetSaveRemix::OnRe...
Definition metremixrecord.h:76
char gameOk
The GameOK byte of the remix index entry.
Definition metremixrecord.h:82
HxStr fileName
The memory card file MetRemixManager loads the remix from.
Definition metremixrecord.h:78