mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
0e19d4262e
Also added an "end game" flag to the mapinfo. For those who like to assemble single levels into custom episodes. More features for that to come. ;)
22 lines
532 B
C++
22 lines
532 B
C++
#pragma once
|
|
|
|
#include "filesystem/resourcefile.h"
|
|
|
|
void OpenSaveGameForWrite(const char *name);
|
|
bool OpenSaveGameForRead(const char *name);
|
|
|
|
FileWriter *WriteSavegameChunk(const char *name);
|
|
FileReader ReadSavegameChunk(const char *name);
|
|
|
|
bool FinishSavegameWrite();
|
|
void FinishSavegameRead();
|
|
|
|
// Savegame utilities
|
|
class FileReader;
|
|
|
|
FString G_BuildSaveName (const char *prefix);
|
|
int G_ValidateSavegame(FileReader &fr, FString *savetitle, bool formenu);
|
|
void G_WriteSaveHeader(const char* name);
|
|
|
|
#define SAVEGAME_EXT ".dsave"
|
|
|