Mercurial > might-and-magic-trilogy
comparison MapInfo.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b8875f5b359 |
---|---|
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; | |
23 char field_2D; | |
24 char field_2E; | |
25 char field_2F; | |
26 char field_30; | |
27 char field_31; | |
28 char field_32; | |
29 char field_33; | |
30 char field_34; | |
31 unsigned __int8 uEncounterMonster1AtLeast; | |
32 unsigned __int8 uEncounterMonster1AtMost; | |
33 char field_37; | |
34 unsigned __int8 uEncounterMonster2AtLeast; | |
35 unsigned __int8 uEncounterMonster2AtMost; | |
36 char field_3A; | |
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; |