mirror of
https://gitlab.com/hashborgir/plugy.git
synced 2024-11-30 12:36:02 +00:00
21 lines
689 B
C
21 lines
689 B
C
/*=================================================================
|
|
File created by Yohann NICOLAS.
|
|
|
|
Add an extra save file for each characters.
|
|
|
|
=================================================================*/
|
|
|
|
#pragma once
|
|
|
|
#include "common.h"
|
|
#include <stdio.h>
|
|
|
|
BYTE* readExtendedSaveFile(char* name, DWORD* size);
|
|
void writeExtendedSaveFile(char* name, BYTE* data, DWORD size);
|
|
|
|
int loadExtendedSaveFile(Unit* ptChar, BYTE* data, DWORD maxSize);
|
|
void saveExtendedSaveFile(Unit* ptChar, BYTE** data, DWORD* maxSize, DWORD* curSize);
|
|
|
|
void backupExtendedSaveFile(char* name);
|
|
|
|
/*================================= END OF FILE =================================*/ |