annotate MapInfo.h @ 450:9dc0dffaf7c6

Слияние
author Ritor1
date Sun, 24 Feb 2013 00:10:18 +0600
parents 2799737f8a74
children 45615cacad31
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;
237
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
23 char LockX5;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
24 char Trap_D20;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
25 char Treasure_prob;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
26 char Encounter_percent;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
27 char EncM1percent;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
28 char EncM2percent;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
29 char EncM3percent;
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
30 char Dif_M1;
0
Ritor1
parents:
diff changeset
31 unsigned __int8 uEncounterMonster1AtLeast;
Ritor1
parents:
diff changeset
32 unsigned __int8 uEncounterMonster1AtMost;
237
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
33 char Dif_M2;
0
Ritor1
parents:
diff changeset
34 unsigned __int8 uEncounterMonster2AtLeast;
Ritor1
parents:
diff changeset
35 unsigned __int8 uEncounterMonster2AtMost;
237
2799737f8a74 more text parsers refactor
Gloval
parents: 0
diff changeset
36 char Dif_M3;
0
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;