mirror of
https://gitlab.com/hashborgir/plugy.git
synced 2024-12-02 13:36:02 +00:00
19 lines
673 B
C
19 lines
673 B
C
|
/*=================================================================
|
||
|
File created by Yohann NICOLAS.
|
||
|
|
||
|
Add an extra save file shared by all own characters.
|
||
|
|
||
|
=================================================================*/
|
||
|
#pragma once
|
||
|
|
||
|
#include "common.h"
|
||
|
|
||
|
BYTE* readSharedSaveFile(char* name, DWORD* size);
|
||
|
void writeSharedSaveFile(char* name, BYTE* data, DWORD size, bool isHardcore);
|
||
|
|
||
|
int loadSharedSaveFile(Unit* ptChar, BYTE* data, DWORD maxSize);
|
||
|
void saveSharedSaveFile(Unit* ptChar, BYTE** data, DWORD* maxSize, DWORD* curSize);
|
||
|
|
||
|
void backupSharedSaveFile();
|
||
|
|
||
|
/*================================= END OF FILE =================================*/
|