annotate MapInfo.h @ 1:ac0fb48cd27a

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