annotate MM7.h @ 170:f089d88b6739

PopupWindow(work)
author Ritor1
date Thu, 13 Dec 2012 17:22:39 +0600
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 #include "OSAPI.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3 #include <math.h>
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 #include <stdio.h>
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #include <stdarg.h>
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 #include <string>
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 typedef unsigned int uint;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 #define LOWORD(a) (*((unsigned short *)&a))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 #define HIWORD(a) (*((unsigned short *)&a + 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 #define SHIWORD(a) (*((short *)&a + 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 #define LODWORD(a) (*((unsigned int *)&a))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 #define HIDWORD(a) (*((unsigned int *)&a + 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 #define SLODWORD(a) (*((int *)&a))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 #define SHIDWORD(a) (*((int *)&a + 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 #define LOBYTE(a) (*((unsigned char *)&a))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 #define HIBYTE(a) (*((unsigned char *)&a + sizeof(a) - 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 #define BYTE1(a) (*((unsigned char *)&a + 1))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 #define BYTE2(a) (*((unsigned char *)&a + 2))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 #define BYTE3(a) (*((unsigned char *)&a + 3))
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 typedef unsigned __int16 _WORD;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 typedef unsigned __int64 _QWORD;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 #include "VectorTypes.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 #include "IndoorCameraD3D.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 /*#include "LOD.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 #include "Texture.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 #include "Mouse.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 #include "Overlays.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 #include "Game.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 #include "Items.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 #include "Actor.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 #include "Arcomage.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 #include "Render.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 #include "Time.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 #include "GUIWindow.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 #include "GUIButton.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 #include "GUIProgressBar.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 #include "GUIFont.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 #include "NPC.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 #include "PaletteManager.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 #include "Party.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 #include "AudioPlayer.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 #include "VideoPlayer.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 #include "Chest.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 #include "Allocator.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 #include "IndoorCamera.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 #include "Party.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 #include "Outdoor.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 #include "mm7_data.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61
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
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 /* 154 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 struct stru161
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 Vec3_int_ pos;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 __int16 rot_y;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 __int16 rot_x;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 unsigned __int16 uMapInfoID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 __int16 field_12;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 extern stru161 stru_4ECBB8[6]; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
160
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 /* 285 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 struct stru289
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 //----- (0046263C) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 inline stru289()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 this->field_64 = 2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 this->field_74 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 this->field_70 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 this->field_6C = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 this->field_68 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 char field_0[100];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 int field_64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 int field_68;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 int field_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 int field_74;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 extern stru289 stru_6BE158;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 /* 288 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 struct CheckHRESULT_stru0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 void CheckHRESULT(HRESULT a2, const char *Str, int a4, unsigned int uType);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 void *_466D09_xcpt_string(std::string a2, const char *Str, int a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 void ShowMessageBox(std::string *a0, std::string lpCaption, UINT uType, std::string lpText, int line);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 char ddraw_error(HRESULT hr, char *Str, size_t a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 char dinput_error(int a1, const char *Str, int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 void (__thiscall ***vdestructor_ptr)(CheckHRESULT_stru0 *, bool);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 /* 297 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 enum SoundType
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 SOUND_EndTurnBasedMode = 0xCE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220 SOUND_StartTurnBasedMode = 0xCF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221 SOUND_FlipOnExit = 0x4E21,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
225
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228 /* 301 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229 enum PlayerSpeech
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 SPEECH_Yell = 0x41,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254 /* 349 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255 enum HOUSE_TYPE
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257 HOUSE_BODY_GUILD_NOVICE_EMERALD_ISLE = 0xA3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
264
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
265
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
266
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
267
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
268
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
269
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
270 /* 362 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
271 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
272 struct TravelInfo
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
273 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
274 char uMapID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
275 char pSchedule[7];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
276 char uDaysCount;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
277 char field_9[3];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
278 int x;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
279 int y;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
280 int z;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
281 int direction;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
282 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
283 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
284 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
285
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
286
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
287
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
288
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
289
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
290
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
291 /* 369 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
292 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
293 struct stru329
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
294 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
295 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
296 float field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
297 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
298 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
299 int equip_x;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
300 int equip_y;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
301 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
302 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
303 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
304 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
305 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
306 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
307 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
308 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
309 int field_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
310 int field_3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
311 int field_40;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
312 int field_44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
313 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
314 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
315 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
316 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
317 int field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
318 int field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
319 int field_60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
320 int field_64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
321 int field_68;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
322 int field_6C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
323 int field_70;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
324 int field_74;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
325 int field_78;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
326 int field_7C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
327 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
328 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
329 extern stru329 array_4E4C30[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
330
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
331 /* 371 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
332 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
333 struct stru331
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
334 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
335 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
336 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
337 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
338 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
339 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
340 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
341 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
342 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
343 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
344 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
345 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
346 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
347 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
348 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
349 int field_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
350 int field_3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
351 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
352 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
353
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
354 /* 372 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
355 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
356 struct stru332
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
357 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
358 unsigned int texids[11];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
359 stru331 field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
360 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
361 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
362 extern stru332 stru_511698;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
363
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
364
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
365 /* 373 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
366 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
367 struct stru333
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
368 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
369 unsigned int texids[5];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
370 unsigned int *texid1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
371 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
372 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
373 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
374 extern stru333 stru_511718;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
375
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
376
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
377 /* 374 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
378 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
379 struct stru334
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
380 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
381 __int16 field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
382 __int16 field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
383 __int16 field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
384 __int16 field_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
385 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
386 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
387 extern stru334 array_4E2940[26];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
388
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
389 /* 376 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
390 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
391 struct stru336
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
392 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
393 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
394 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
395 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
396 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
397 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
398 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
399 __int16 field_18[480];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
400 __int16 field_3D8[480];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
401 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
402 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
403
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
404
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
405
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
406
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
407
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
408
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
409
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
410
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
411
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
412
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
413
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
414
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
415
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
416 /* 388 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
417 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
418 struct stru348
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
419 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
420 __int16 field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
421 __int16 field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
422 __int16 field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
423 __int16 field_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
424 __int16 field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
425 __int16 field_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
426 __int16 field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
427 __int16 field_E;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
428 __int16 field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
429 __int16 field_12;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
430 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
431 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
432 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
433
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
434 extern stru348 stru_4E1890[13];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
435
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
436
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
437
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
438
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
439
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
440