mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-13 04:34:45 -10:00
Remove most call to memcpy in preperation for Big Endian support Document what pointers are being skipped Align save and load code (easier to verify that both are correct)
46 lines
1.0 KiB
C
46 lines
1.0 KiB
C
//HEADER_GOES_HERE
|
|
#ifndef __LOADSAVE_H__
|
|
#define __LOADSAVE_H__
|
|
|
|
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 SaveItem(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();
|
|
|
|
#endif /* __LOADSAVE_H__ */
|