annotate Outdoor_stuff.h @ 31:f4450ff595fe

BLV loading (looks like) done.
author Nomad
date Fri, 19 Oct 2012 03:36:38 +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
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 /* 141 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 struct stru148
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 int _479295();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 void _4811A3();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 void _48276F_sr();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 void _486089_normalize_v_18();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 void _48607B(struct stru149 *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 float field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 float field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 float field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 float field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 float field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned int uNumVertices;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 Vec3_int_ v_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 int sTextureDeltaU;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 int sTextureDeltaV;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 __int16 flags;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 __int16 field_32;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 int field_34;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 struct stru149 *ptr_38;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 Texture *pTexture;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 struct Span *prolly_head;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 struct Span *prolly_tail;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 int **ptr_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 unsigned __int16 uTileBitmapID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 __int16 field_4E;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 __int16 field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 __int16 field_52;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 ODMFace *pODMFace;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 char field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 char field_59;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 char field_5A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 char field_5B;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 char field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 char field_5D;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 unsigned __int8 uBModelID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 unsigned __int8 uBModelFaceID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 struct Edge *pEdgeList1[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 unsigned int uEdgeList1Size;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 struct Edge *pEdgeList2[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 unsigned int uEdgeList2Size;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 char field_108;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 char field_109;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 char field_10A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 char field_10B;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 /* 142 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 struct stru149
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 int _48616B(int a2, int a3, int a4, int a5, int a6, int a7);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 int _48653D(int a2, int a3, int a4, int a5, int a6, int a7);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 int _48694B();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 int field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 int field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 int field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 extern stru149 stru_8019C8;
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 /* 143 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 struct Span
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 Span *pNext;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 struct stru148 *pParent;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 __int16 field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 __int16 field_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 __int16 field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 __int16 field_E;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 float field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 float field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 extern stru148 array_77EC08[2000];
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 /* 144 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 struct Surf
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 float field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 float field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 float field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 float field_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 float field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 Surf *pNext;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 Surf *pPrev;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 struct stru148 *pParent;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 __int16 field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 __int16 field_22;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117 extern Surf stru_80C980;
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
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 /* 145 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 struct Edge
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 float field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 float field_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 Surf *pSurf;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 Edge *pNext;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 Edge *pPrev;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 Edge *ptr_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 float field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 float field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 float field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 float field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 float field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 float field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 extern Edge defaultEdge; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 extern Edge stru_80C9A4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 extern Edge stru_80C9D8;
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