annotate MapInfo.h @ 212:9f349addbe00

Слияние
author Ritor1
date Sat, 16 Feb 2013 22:14:04 +0600
parents 9c0607679772
children 2799737f8a74
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 192 */
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
7 struct MapInfo
Ritor1
parents:
diff changeset
8 {
Ritor1
parents:
diff changeset
9 int SpawnRandomTreasure(struct SpawnPointMM7 *a2);
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 char *pName;
Ritor1
parents:
diff changeset
12 char *pFilename;
Ritor1
parents:
diff changeset
13 char *pEncounterMonster1Texture;
Ritor1
parents:
diff changeset
14 char *pEncounterMonster2Texture;
Ritor1
parents:
diff changeset
15 char *pEncounterMonster3Texture;
Ritor1
parents:
diff changeset
16 unsigned int uNumResets;
Ritor1
parents:
diff changeset
17 unsigned int uFirstVisitedAt;
Ritor1
parents:
diff changeset
18 unsigned int uRespawnIntervalDays;
Ritor1
parents:
diff changeset
19 int _alert_days;
Ritor1
parents:
diff changeset
20 int _steal_perm;
Ritor1
parents:
diff changeset
21 int _per;
Ritor1
parents:
diff changeset
22 char field_2C;
Ritor1
parents:
diff changeset
23 char field_2D;
Ritor1
parents:
diff changeset
24 char field_2E;
Ritor1
parents:
diff changeset
25 char field_2F;
Ritor1
parents:
diff changeset
26 char field_30;
Ritor1
parents:
diff changeset
27 char field_31;
Ritor1
parents:
diff changeset
28 char field_32;
Ritor1
parents:
diff changeset
29 char field_33;
Ritor1
parents:
diff changeset
30 char field_34;
Ritor1
parents:
diff changeset
31 unsigned __int8 uEncounterMonster1AtLeast;
Ritor1
parents:
diff changeset
32 unsigned __int8 uEncounterMonster1AtMost;
Ritor1
parents:
diff changeset
33 char field_37;
Ritor1
parents:
diff changeset
34 unsigned __int8 uEncounterMonster2AtLeast;
Ritor1
parents:
diff changeset
35 unsigned __int8 uEncounterMonster2AtMost;
Ritor1
parents:
diff changeset
36 char field_3A;
Ritor1
parents:
diff changeset
37 unsigned __int8 uEncounterMonster3AtLeast;
Ritor1
parents:
diff changeset
38 unsigned __int8 uEncounterMonster3AtMost;
Ritor1
parents:
diff changeset
39 char field_3D;
Ritor1
parents:
diff changeset
40 char field_3E;
Ritor1
parents:
diff changeset
41 char field_3F;
Ritor1
parents:
diff changeset
42 unsigned __int8 uRedbookTrackID;
Ritor1
parents:
diff changeset
43 unsigned __int8 uEAXEnv;
Ritor1
parents:
diff changeset
44 char field_42;
Ritor1
parents:
diff changeset
45 char field_43;
Ritor1
parents:
diff changeset
46 };
Ritor1
parents:
diff changeset
47 #pragma pack(pop)
Ritor1
parents:
diff changeset
48
Ritor1
parents:
diff changeset
49
Ritor1
parents:
diff changeset
50
Ritor1
parents:
diff changeset
51 /* 193 */
Ritor1
parents:
diff changeset
52 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
53 struct MapStats
Ritor1
parents:
diff changeset
54 {
Ritor1
parents:
diff changeset
55 void Initialize();
Ritor1
parents:
diff changeset
56 unsigned int GetMapInfo(const char *Str2);
Ritor1
parents:
diff changeset
57
Ritor1
parents:
diff changeset
58 MapInfo pInfos[77];
Ritor1
parents:
diff changeset
59 unsigned int uNumMaps;
Ritor1
parents:
diff changeset
60 };
Ritor1
parents:
diff changeset
61 #pragma pack(pop)
Ritor1
parents:
diff changeset
62
Ritor1
parents:
diff changeset
63
Ritor1
parents:
diff changeset
64
Ritor1
parents:
diff changeset
65
Ritor1
parents:
diff changeset
66 extern struct MapStats *pMapStats;