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 //...
|
777
|
22 MAP_ARENA = 76,
|
|
23 //...
|
767
|
24 };
|
0
|
25
|
|
26
|
|
27 /* 192 */
|
|
28 #pragma pack(push, 1)
|
|
29 struct MapInfo
|
|
30 {
|
|
31 int SpawnRandomTreasure(struct SpawnPointMM7 *a2);
|
|
32
|
|
33 char *pName;
|
|
34 char *pFilename;
|
|
35 char *pEncounterMonster1Texture;
|
|
36 char *pEncounterMonster2Texture;
|
|
37 char *pEncounterMonster3Texture;
|
|
38 unsigned int uNumResets;
|
|
39 unsigned int uFirstVisitedAt;
|
|
40 unsigned int uRespawnIntervalDays;
|
|
41 int _alert_days;
|
|
42 int _steal_perm;
|
|
43 int _per;
|
|
44 char field_2C;
|
237
|
45 char LockX5;
|
|
46 char Trap_D20;
|
|
47 char Treasure_prob;
|
|
48 char Encounter_percent;
|
|
49 char EncM1percent;
|
|
50 char EncM2percent;
|
|
51 char EncM3percent;
|
|
52 char Dif_M1;
|
0
|
53 unsigned __int8 uEncounterMonster1AtLeast;
|
|
54 unsigned __int8 uEncounterMonster1AtMost;
|
237
|
55 char Dif_M2;
|
0
|
56 unsigned __int8 uEncounterMonster2AtLeast;
|
|
57 unsigned __int8 uEncounterMonster2AtMost;
|
237
|
58 char Dif_M3;
|
0
|
59 unsigned __int8 uEncounterMonster3AtLeast;
|
|
60 unsigned __int8 uEncounterMonster3AtMost;
|
|
61 char field_3D;
|
|
62 char field_3E;
|
|
63 char field_3F;
|
|
64 unsigned __int8 uRedbookTrackID;
|
|
65 unsigned __int8 uEAXEnv;
|
|
66 char field_42;
|
|
67 char field_43;
|
|
68 };
|
|
69 #pragma pack(pop)
|
|
70
|
|
71
|
|
72
|
|
73 /* 193 */
|
|
74 #pragma pack(push, 1)
|
|
75 struct MapStats
|
|
76 {
|
|
77 void Initialize();
|
767
|
78 MAP_TYPE GetMapInfo(const char *Str2);
|
0
|
79
|
|
80 MapInfo pInfos[77];
|
|
81 unsigned int uNumMaps;
|
|
82 };
|
|
83 #pragma pack(pop)
|
|
84
|
|
85
|
|
86
|
|
87
|
|
88 extern struct MapStats *pMapStats; |