view SaveLoad.h @ 921:3696848c0413

meteorite rain and other spells fix
author Ritor1
date Tue, 30 Apr 2013 20:08:42 +0600
parents a4a5996fea5b
children ab6560001f5b
line wrap: on
line source

#pragma once

#pragma pack(push, 1)
struct SaveFile_
	{
	char field_0[20];
	char pSaveFileName[260];
	};
#pragma pack(pop)

/*  243 */
#pragma pack(push, 1)
struct SavegameList
{
  static void Initialize(unsigned int a1);

  /*inline void Reset()
  {
    for (int i = 0; i < 20; ++i)
      field_0[i] = 0;
    for (int i = 0; i < 44; ++i)
      pSavesNames[i][0] = 0;
  }*/
  SaveFile_ pFileList[45];
  
};
#pragma pack(pop)


/*  244 */
#pragma pack(push, 1)
struct SavegameHeader
{
  char pName[20];
  char pLocationName[20];
  unsigned __int64 uWordTime;
  char field_30[52];
};
#pragma pack(pop)



extern unsigned int uNumSavegameFiles;
extern unsigned int pSavegameUsedSlots[45];
extern struct SavegameList  *pSavegameList;
extern struct RGBTexture     pSavegameThumbnails[];
extern struct SavegameHeader pSavegameHeader[];