mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 02:01:39 +00:00
20 lines
407 B
C
20 lines
407 B
C
|
#pragma once
|
||
|
|
||
|
#include "files.h"
|
||
|
#include "zstring.h"
|
||
|
#include "tarray.h"
|
||
|
|
||
|
class CompositeSavegameWriter
|
||
|
{
|
||
|
TDeletingArray<BufferWriter*> subfiles;
|
||
|
TArray<FString> subfilenames;
|
||
|
TArray<bool> isCompressed;
|
||
|
|
||
|
FCompressedBuffer CompressElement(BufferWriter *element, bool compress);
|
||
|
public:
|
||
|
|
||
|
FileWriter &NewEleemnt(const char *filename, bool compress = true);
|
||
|
bool WriteToFile(const char *filename);
|
||
|
};
|
||
|
|