annotate SaveLoad.h @ 1096:f17cfb070f7a

uibook
author Gloval
date Sun, 26 May 2013 21:27:32 +0400
parents a4a5996fea5b
children ab6560001f5b
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
382
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
3 #pragma pack(push, 1)
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
4 struct SaveFile_
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
5 {
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
6 char field_0[20];
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
7 char pSaveFileName[260];
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
8 };
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
9 #pragma pack(pop)
0
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 /* 243 */
Ritor1
parents:
diff changeset
12 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
13 struct SavegameList
Ritor1
parents:
diff changeset
14 {
382
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
15 static void Initialize(unsigned int a1);
0
Ritor1
parents:
diff changeset
16
382
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
17 /*inline void Reset()
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
18 {
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
19 for (int i = 0; i < 20; ++i)
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
20 field_0[i] = 0;
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
21 for (int i = 0; i < 44; ++i)
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 0
diff changeset
22 pSavesNames[i][0] = 0;
382
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
23 }*/
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
24 SaveFile_ pFileList[45];
a4a5996fea5b Fixed savelist problem
Gloval
parents: 373
diff changeset
25
0
Ritor1
parents:
diff changeset
26 };
Ritor1
parents:
diff changeset
27 #pragma pack(pop)
Ritor1
parents:
diff changeset
28
Ritor1
parents:
diff changeset
29
Ritor1
parents:
diff changeset
30 /* 244 */
Ritor1
parents:
diff changeset
31 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
32 struct SavegameHeader
Ritor1
parents:
diff changeset
33 {
Ritor1
parents:
diff changeset
34 char pName[20];
Ritor1
parents:
diff changeset
35 char pLocationName[20];
Ritor1
parents:
diff changeset
36 unsigned __int64 uWordTime;
Ritor1
parents:
diff changeset
37 char field_30[52];
Ritor1
parents:
diff changeset
38 };
Ritor1
parents:
diff changeset
39 #pragma pack(pop)
Ritor1
parents:
diff changeset
40
Ritor1
parents:
diff changeset
41
Ritor1
parents:
diff changeset
42
Ritor1
parents:
diff changeset
43 extern unsigned int uNumSavegameFiles;
Ritor1
parents:
diff changeset
44 extern unsigned int pSavegameUsedSlots[45];
Ritor1
parents:
diff changeset
45 extern struct SavegameList *pSavegameList;
Ritor1
parents:
diff changeset
46 extern struct RGBTexture pSavegameThumbnails[];
Ritor1
parents:
diff changeset
47 extern struct SavegameHeader pSavegameHeader[];