52 void Set(
int nPort,
Campaign *pProfile,
const char *pszOldName,
int nOverwrite);
Saved settings and progress of one player, among them the controller bindings.
Definition campaign.h:20
Work that measures the space a save to the Freq directory needs, and checks it against the free space...
Definition mcchecksavespaceneededtask.h:25
Task that creates the save directory at g_MemcardPath, with its icon, its icon.sys,...
Definition mccreatesavedirtask.h:18
Task that deletes a file or an empty directory.
Definition mcdeletetask.h:12
Task that reads the type, the free space, and the format of a card.
Definition mcgetinfotask.h:11
Work that creates or replaces a file with a block of memory: open, write, and close.
Definition mcsavefiletask.h:13
~MCSaveFreqTask() override=default
Destroy the object.
int GetNeeded()
Report the space a save that did not fit needed.
void OnSaveSpace(int nNeeded) override
Prepare the directory and the file steps when the save fits, and otherwise fail the measurement.
MCSaveFreqTask()
Construct the steps.
void Set(int nPort, Campaign *pProfile, const char *pszOldName, int nOverwrite)
Prepare the work, and serialise the profile into g_pMemcardBuffer.
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13
Receiver of the space a save needs, from the tasks that measure the space.
Definition savespaceuser.h:9
Growable text buffer that is also a PrnStream.
Definition string.h:19