annotate SaveLoad.h @ 188:207b2492e14b

AddItem crash
author Nomad
date Fri, 15 Feb 2013 22:54:19 +0200
parents 9c0607679772
children edd2d8b7e3c4
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 243 */
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
7 struct SavegameList
Ritor1
parents:
diff changeset
8 {
Ritor1
parents:
diff changeset
9 void Initialize(unsigned int a1);
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 char field_0[20];
Ritor1
parents:
diff changeset
12 char pSavesNames[40][280];
Ritor1
parents:
diff changeset
13 };
Ritor1
parents:
diff changeset
14 #pragma pack(pop)
Ritor1
parents:
diff changeset
15
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 /* 244 */
Ritor1
parents:
diff changeset
18 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
19 struct SavegameHeader
Ritor1
parents:
diff changeset
20 {
Ritor1
parents:
diff changeset
21 char pName[20];
Ritor1
parents:
diff changeset
22 char pLocationName[20];
Ritor1
parents:
diff changeset
23 unsigned __int64 uWordTime;
Ritor1
parents:
diff changeset
24 char field_30[52];
Ritor1
parents:
diff changeset
25 };
Ritor1
parents:
diff changeset
26 #pragma pack(pop)
Ritor1
parents:
diff changeset
27
Ritor1
parents:
diff changeset
28
Ritor1
parents:
diff changeset
29
Ritor1
parents:
diff changeset
30 extern unsigned int uNumSavegameFiles;
Ritor1
parents:
diff changeset
31 extern unsigned int pSavegameUsedSlots[45];
Ritor1
parents:
diff changeset
32 extern struct SavegameList *pSavegameList;
Ritor1
parents:
diff changeset
33 extern struct RGBTexture pSavegameThumbnails[];
Ritor1
parents:
diff changeset
34 extern struct SavegameHeader pSavegameHeader[];