0
|
1 #pragma once
|
|
2
|
|
3
|
|
4
|
|
5 /* 192 */
|
|
6 #pragma pack(push, 1)
|
|
7 struct MapInfo
|
|
8 {
|
|
9 int SpawnRandomTreasure(struct SpawnPointMM7 *a2);
|
|
10
|
|
11 char *pName;
|
|
12 char *pFilename;
|
|
13 char *pEncounterMonster1Texture;
|
|
14 char *pEncounterMonster2Texture;
|
|
15 char *pEncounterMonster3Texture;
|
|
16 unsigned int uNumResets;
|
|
17 unsigned int uFirstVisitedAt;
|
|
18 unsigned int uRespawnIntervalDays;
|
|
19 int _alert_days;
|
|
20 int _steal_perm;
|
|
21 int _per;
|
|
22 char field_2C;
|
237
|
23 char LockX5;
|
|
24 char Trap_D20;
|
|
25 char Treasure_prob;
|
|
26 char Encounter_percent;
|
|
27 char EncM1percent;
|
|
28 char EncM2percent;
|
|
29 char EncM3percent;
|
|
30 char Dif_M1;
|
0
|
31 unsigned __int8 uEncounterMonster1AtLeast;
|
|
32 unsigned __int8 uEncounterMonster1AtMost;
|
237
|
33 char Dif_M2;
|
0
|
34 unsigned __int8 uEncounterMonster2AtLeast;
|
|
35 unsigned __int8 uEncounterMonster2AtMost;
|
237
|
36 char Dif_M3;
|
0
|
37 unsigned __int8 uEncounterMonster3AtLeast;
|
|
38 unsigned __int8 uEncounterMonster3AtMost;
|
|
39 char field_3D;
|
|
40 char field_3E;
|
|
41 char field_3F;
|
|
42 unsigned __int8 uRedbookTrackID;
|
|
43 unsigned __int8 uEAXEnv;
|
|
44 char field_42;
|
|
45 char field_43;
|
|
46 };
|
|
47 #pragma pack(pop)
|
|
48
|
|
49
|
|
50
|
|
51 /* 193 */
|
|
52 #pragma pack(push, 1)
|
|
53 struct MapStats
|
|
54 {
|
|
55 void Initialize();
|
|
56 unsigned int GetMapInfo(const char *Str2);
|
|
57
|
|
58 MapInfo pInfos[77];
|
|
59 unsigned int uNumMaps;
|
|
60 };
|
|
61 #pragma pack(pop)
|
|
62
|
|
63
|
|
64
|
|
65
|
|
66 extern struct MapStats *pMapStats; |