wavelength 1.0.0
Loading...
Searching...
No Matches
campaign.h File Reference
#include <vector>
#include "game/avatarpartset.h"
#include "game/inputmap.h"
#include "game/songstats.h"
#include "game/unlockableitem.h"
#include "os/binstream.h"
#include "os/datetime.h"
#include "os/string.h"
#include "script/dataarray.h"
Include dependency graph for campaign.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Campaign
 Saved settings and progress of one player, among them the controller bindings. More...

Functions

BinStream & operator<< (BinStream &stream, const Campaign &profile)
 Write a profile to a stream.
BinStream & operator>> (BinStream &stream, Campaign &profile)
 Read a profile from a stream.

Variables

unsigned int g_dwUnlockAllSongs
 Non-zero when every song counts as unlocked and finished.
unsigned int g_dwUnlockAllParts
 Non-zero when every avatar part and emblem counts as unlocked.

Function Documentation

◆ operator<<()

BinStream & operator<< ( BinStream & stream,
const Campaign & profile )

Write a profile to a stream.

Parameters
streamThe stream.
profileThe profile.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027b608
Ghidra address:
PAL: 0x00285038

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
Campaign & profile )

Read a profile from a stream.

Parameters
streamThe stream.
profileReceives the profile.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027b638
Ghidra address:
PAL: 0x00285068

Variable Documentation

◆ g_dwUnlockAllSongs

unsigned int g_dwUnlockAllSongs
extern

Non-zero when every song counts as unlocked and finished.

Ghidra address:
NTSC-U/C: 0x003b1504
Ghidra address:
PAL: 0x004303d4

◆ g_dwUnlockAllParts

unsigned int g_dwUnlockAllParts
extern

Non-zero when every avatar part and emblem counts as unlocked.

Ghidra address:
NTSC-U/C: 0x003b1508
Ghidra address:
PAL: 0x004303d8