annotate SaveLoad.h @ 376:615e6b6f55c2

Merge
author Gloval
date Fri, 22 Feb 2013 20:03:15 +0400
parents edd2d8b7e3c4
children a4a5996fea5b
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
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
11 inline void Reset()
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
12 {
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
13 for (int i = 0; i < 20; ++i)
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
14 field_0[i] = 0;
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
15 for (int i = 0; i < 44; ++i)
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
16 pSavesNames[i][0] = 0;
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
17 }
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
18
0
Ritor1
parents:
diff changeset
19 char field_0[20];
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
20 char pSavesNames[44][280];
0
Ritor1
parents:
diff changeset
21 };
Ritor1
parents:
diff changeset
22 #pragma pack(pop)
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24
Ritor1
parents:
diff changeset
25 /* 244 */
Ritor1
parents:
diff changeset
26 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
27 struct SavegameHeader
Ritor1
parents:
diff changeset
28 {
Ritor1
parents:
diff changeset
29 char pName[20];
Ritor1
parents:
diff changeset
30 char pLocationName[20];
Ritor1
parents:
diff changeset
31 unsigned __int64 uWordTime;
Ritor1
parents:
diff changeset
32 char field_30[52];
Ritor1
parents:
diff changeset
33 };
Ritor1
parents:
diff changeset
34 #pragma pack(pop)
Ritor1
parents:
diff changeset
35
Ritor1
parents:
diff changeset
36
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38 extern unsigned int uNumSavegameFiles;
Ritor1
parents:
diff changeset
39 extern unsigned int pSavegameUsedSlots[45];
Ritor1
parents:
diff changeset
40 extern struct SavegameList *pSavegameList;
Ritor1
parents:
diff changeset
41 extern struct RGBTexture pSavegameThumbnails[];
Ritor1
parents:
diff changeset
42 extern struct SavegameHeader pSavegameHeader[];