44 void *
operator new(
size_t nSize);
53 void operator delete(
void *pBlock);
170 void SkipLegacyMacros(
IBStream &stream);
173 std::vector<HxStr> *mDefaultMacros;
175 std::vector<HxStr> mMacros;
One controller's mapping from gameplay actions to buttons.
Definition controllerconfig.h:24
The three game option settings GlobalSettings records.
Definition gameoptions.h:14
static void Create()
Allocate the instance.
virtual ~GlobalSettings()
virtual void Save(OBStream &stream)
Write the settings.
void operator=(const GlobalSettings &other)
Copy another instance's settings, except the memory-card locations.
virtual void Load(IBStream &stream)
Read the settings back.
int mRequiredSaveSpace
The free space the game needs on the first card.
Definition globalsettings.h:196
int mTutorialComplete
Non-zero once the tutorial is complete, labelled by Print().
Definition globalsettings.h:183
static constexpr int kControllerCount
The number of controller mappings.
Definition globalsettings.h:34
static void Destroy()
Delete the instance and clear the pointer shared() reports.
ControllerConfig mControllers[kControllerCount]
The four controller mappings.
Definition globalsettings.h:157
void SetMacros(std::vector< HxStr > macros)
Replace the keyboard macros with a list.
GameOptions mGameOptions
The game options.
Definition globalsettings.h:159
static GlobalSettings * shared()
Report the instance.
GlobalSettings()
Start with the default mappings, options, and keyboard macros, the address 127.0.0....
int mTeamFreqUnlocked
Non-zero to offer the team FreQ identities instead of the pre-fab ones.
Definition globalsettings.h:220
std::vector< MemcardConnectState > mCardSlots
The memory-card locations.
Definition globalsettings.h:188
void Print(std::ostream &stream)
Write the address, the port, the four mapping labels, and the tutorial flag to a stream.
int mMinimumFreeClusters
The free space a remix save needs.
Definition globalsettings.h:203
int mPersonaMinimumFreeClusters
The free space a persona save needs.
Definition globalsettings.h:212
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25