Mercurial > mm7
annotate SaveLoad.h @ 1756:dc5d8edf629a
Merge
author | Ritor1 |
---|---|
date | Mon, 30 Sep 2013 18:06:01 +0600 |
parents | ab6560001f5b |
children | 147ee4591b76 |
rev | line source |
---|---|
0 | 1 #pragma once |
1206
ab6560001f5b
arrays to std::arrays phase 2 - some more arrays converted
Grumpy7
parents:
382
diff
changeset
|
2 #include<array> |
0 | 3 |
382 | 4 #pragma pack(push, 1) |
5 struct SaveFile_ | |
6 { | |
7 char field_0[20]; | |
8 char pSaveFileName[260]; | |
9 }; | |
10 #pragma pack(pop) | |
0 | 11 |
12 /* 243 */ | |
13 #pragma pack(push, 1) | |
14 struct SavegameList | |
15 { | |
382 | 16 static void Initialize(unsigned int a1); |
0 | 17 |
382 | 18 /*inline void Reset() |
373 | 19 { |
20 for (int i = 0; i < 20; ++i) | |
21 field_0[i] = 0; | |
22 for (int i = 0; i < 44; ++i) | |
23 pSavesNames[i][0] = 0; | |
382 | 24 }*/ |
25 SaveFile_ pFileList[45]; | |
26 | |
0 | 27 }; |
28 #pragma pack(pop) | |
29 | |
30 | |
31 /* 244 */ | |
32 #pragma pack(push, 1) | |
33 struct SavegameHeader | |
34 { | |
35 char pName[20]; | |
36 char pLocationName[20]; | |
37 unsigned __int64 uWordTime; | |
38 char field_30[52]; | |
39 }; | |
40 #pragma pack(pop) | |
41 | |
42 | |
43 | |
44 extern unsigned int uNumSavegameFiles; | |
1206
ab6560001f5b
arrays to std::arrays phase 2 - some more arrays converted
Grumpy7
parents:
382
diff
changeset
|
45 extern std::array<unsigned int, 45> pSavegameUsedSlots; |
0 | 46 extern struct SavegameList *pSavegameList; |
1206
ab6560001f5b
arrays to std::arrays phase 2 - some more arrays converted
Grumpy7
parents:
382
diff
changeset
|
47 extern std::array<SavegameHeader, 45> pSavegameHeader; |