You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
/** |
|
* @file loadsave.h |
|
* |
|
* Interface of save game functionality. |
|
*/ |
|
#ifndef __LOADSAVE_H__ |
|
#define __LOADSAVE_H__ |
|
|
|
DEVILUTION_BEGIN_NAMESPACE |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
extern BYTE *tbuff; |
|
|
|
void LoadGame(BOOL firstflag); |
|
char BLoad(); |
|
int WLoad(); |
|
int ILoad(); |
|
BOOL OLoad(); |
|
void LoadItems(const int n, ItemStruct *pItem); |
|
void LoadItemData(ItemStruct *pItem); |
|
void SaveItem(ItemStruct *pItem); |
|
void SaveItems(ItemStruct *pItem, const int n); |
|
|
|
void LoadPlayer(int i); |
|
void LoadMonster(int i); |
|
void LoadMissile(int i); |
|
void LoadObject(int i); |
|
void LoadItem(int i); |
|
void LoadPremium(int i); |
|
void LoadQuest(int i); |
|
void LoadLighting(int i); |
|
void LoadVision(int i); |
|
void LoadPortal(int i); |
|
void SaveGame(); |
|
void BSave(char v); |
|
void WSave(int v); |
|
void ISave(int v); |
|
void OSave(BOOL v); |
|
void SavePlayer(int i); |
|
void SaveMonster(int i); |
|
void SaveMissile(int i); |
|
void SaveObject(int i); |
|
void SavePremium(int i); |
|
void SaveQuest(int i); |
|
void SaveLighting(int i); |
|
void SaveVision(int i); |
|
void SavePortal(int i); |
|
void SaveLevel(); |
|
void LoadLevel(); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
DEVILUTION_END_NAMESPACE |
|
|
|
#endif /* __LOADSAVE_H__ */
|
|
|