0
|
1 #pragma once
|
|
2
|
767
|
3 enum MAP_TYPE: unsigned __int32
|
|
4 {
|
|
5 MAP_INVALID = 0,
|
|
6 MAP_EMERALD_ISLE = 1,
|
|
7 MAP_HARMONDALE = 2,
|
|
8 MAP_STEADWICK = 3,
|
|
9 MAP_PIERPONT = 4,
|
|
10 MAP_DEYJA = 5,
|
|
11 MAP_BRAKADA_DESERT = 6,
|
|
12 MAP_CELESTIA = 7,
|
|
13 MAP_THE_PIT = 8,
|
|
14 MAP_EVENMORN_ISLE = 9,
|
|
15 MAP_MOUNT_NIGHON = 10,
|
|
16 MAP_BARROW_DOWNS = 11,
|
|
17 MAP_LAND_OF_GIANTS = 12,
|
|
18 MAP_TATALIA = 13,
|
|
19 MAP_AVLEE = 14,
|
|
20 MAP_SHOALS = 15,
|
|
21 //...
|
|
22 };
|
0
|
23
|
|
24
|
|
25 /* 192 */
|
|
26 #pragma pack(push, 1)
|
|
27 struct MapInfo
|
|
28 {
|
|
29 int SpawnRandomTreasure(struct SpawnPointMM7 *a2);
|
|
30
|
|
31 char *pName;
|
|
32 char *pFilename;
|
|
33 char *pEncounterMonster1Texture;
|
|
34 char *pEncounterMonster2Texture;
|
|
35 char *pEncounterMonster3Texture;
|
|
36 unsigned int uNumResets;
|
|
37 unsigned int uFirstVisitedAt;
|
|
38 unsigned int uRespawnIntervalDays;
|
|
39 int _alert_days;
|
|
40 int _steal_perm;
|
|
41 int _per;
|
|
42 char field_2C;
|
237
|
43 char LockX5;
|
|
44 char Trap_D20;
|
|
45 char Treasure_prob;
|
|
46 char Encounter_percent;
|
|
47 char EncM1percent;
|
|
48 char EncM2percent;
|
|
49 char EncM3percent;
|
|
50 char Dif_M1;
|
0
|
51 unsigned __int8 uEncounterMonster1AtLeast;
|
|
52 unsigned __int8 uEncounterMonster1AtMost;
|
237
|
53 char Dif_M2;
|
0
|
54 unsigned __int8 uEncounterMonster2AtLeast;
|
|
55 unsigned __int8 uEncounterMonster2AtMost;
|
237
|
56 char Dif_M3;
|
0
|
57 unsigned __int8 uEncounterMonster3AtLeast;
|
|
58 unsigned __int8 uEncounterMonster3AtMost;
|
|
59 char field_3D;
|
|
60 char field_3E;
|
|
61 char field_3F;
|
|
62 unsigned __int8 uRedbookTrackID;
|
|
63 unsigned __int8 uEAXEnv;
|
|
64 char field_42;
|
|
65 char field_43;
|
|
66 };
|
|
67 #pragma pack(pop)
|
|
68
|
|
69
|
|
70
|
|
71 /* 193 */
|
|
72 #pragma pack(push, 1)
|
|
73 struct MapStats
|
|
74 {
|
|
75 void Initialize();
|
767
|
76 MAP_TYPE GetMapInfo(const char *Str2);
|
0
|
77
|
|
78 MapInfo pInfos[77];
|
|
79 unsigned int uNumMaps;
|
|
80 };
|
|
81 #pragma pack(pop)
|
|
82
|
|
83
|
|
84
|
|
85
|
|
86 extern struct MapStats *pMapStats; |