annotate Outdoor_stuff.h @ 725:7037f22cd716

little continue
author Ritor1
date Fri, 22 Mar 2013 01:29:25 +0600
parents ccf8b4815a1f
children e0914a9bc424
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
Ritor1
parents:
diff changeset
6 /* 141 */
Ritor1
parents:
diff changeset
7 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
8 struct stru148
Ritor1
parents:
diff changeset
9 {
265
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
10 inline stru148()
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
11 {
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
12 uNumVertices = 0;
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
13 }
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
14
0
Ritor1
parents:
diff changeset
15 int _479295();
Ritor1
parents:
diff changeset
16 void _4811A3();
Ritor1
parents:
diff changeset
17 void _48276F_sr();
Ritor1
parents:
diff changeset
18 void _486089_normalize_v_18();
Ritor1
parents:
diff changeset
19 void _48607B(struct stru149 *a2);
Ritor1
parents:
diff changeset
20
Ritor1
parents:
diff changeset
21 float field_0;
Ritor1
parents:
diff changeset
22 float field_4;
Ritor1
parents:
diff changeset
23 float field_8;
Ritor1
parents:
diff changeset
24 float field_C;
Ritor1
parents:
diff changeset
25 float field_10;
Ritor1
parents:
diff changeset
26 unsigned int uNumVertices;
Ritor1
parents:
diff changeset
27 Vec3_int_ v_18;
Ritor1
parents:
diff changeset
28 int field_24;
Ritor1
parents:
diff changeset
29 int sTextureDeltaU;
Ritor1
parents:
diff changeset
30 int sTextureDeltaV;
Ritor1
parents:
diff changeset
31 __int16 flags;
Ritor1
parents:
diff changeset
32 __int16 field_32;
Ritor1
parents:
diff changeset
33 int field_34;
Ritor1
parents:
diff changeset
34 struct stru149 *ptr_38;
Ritor1
parents:
diff changeset
35 Texture *pTexture;
Ritor1
parents:
diff changeset
36 struct Span *prolly_head;
Ritor1
parents:
diff changeset
37 struct Span *prolly_tail;
Ritor1
parents:
diff changeset
38 int **ptr_48;
Ritor1
parents:
diff changeset
39 unsigned __int16 uTileBitmapID;
Ritor1
parents:
diff changeset
40 __int16 field_4E;
Ritor1
parents:
diff changeset
41 __int16 field_50;
Ritor1
parents:
diff changeset
42 __int16 field_52;
Ritor1
parents:
diff changeset
43 ODMFace *pODMFace;
638
ccf8b4815a1f GetActorTintColor fixed
Nomad
parents: 265
diff changeset
44 char dimming_level;
0
Ritor1
parents:
diff changeset
45 char field_59;
Ritor1
parents:
diff changeset
46 char field_5A;
Ritor1
parents:
diff changeset
47 char field_5B;
638
ccf8b4815a1f GetActorTintColor fixed
Nomad
parents: 265
diff changeset
48 char terrain_grid_z;
ccf8b4815a1f GetActorTintColor fixed
Nomad
parents: 265
diff changeset
49 char terrain_grid_x;
0
Ritor1
parents:
diff changeset
50 unsigned __int8 uBModelID;
Ritor1
parents:
diff changeset
51 unsigned __int8 uBModelFaceID;
Ritor1
parents:
diff changeset
52 struct Edge *pEdgeList1[20];
Ritor1
parents:
diff changeset
53 unsigned int uEdgeList1Size;
Ritor1
parents:
diff changeset
54 struct Edge *pEdgeList2[20];
Ritor1
parents:
diff changeset
55 unsigned int uEdgeList2Size;
Ritor1
parents:
diff changeset
56 char field_108;
Ritor1
parents:
diff changeset
57 char field_109;
Ritor1
parents:
diff changeset
58 char field_10A;
Ritor1
parents:
diff changeset
59 char field_10B;
Ritor1
parents:
diff changeset
60 };
Ritor1
parents:
diff changeset
61 #pragma pack(pop)
Ritor1
parents:
diff changeset
62
Ritor1
parents:
diff changeset
63 /* 142 */
Ritor1
parents:
diff changeset
64 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
65 struct stru149
Ritor1
parents:
diff changeset
66 {
Ritor1
parents:
diff changeset
67 int _48616B(int a2, int a3, int a4, int a5, int a6, int a7);
Ritor1
parents:
diff changeset
68 int _48653D(int a2, int a3, int a4, int a5, int a6, int a7);
Ritor1
parents:
diff changeset
69 int _48694B();
Ritor1
parents:
diff changeset
70
Ritor1
parents:
diff changeset
71 int field_0;
Ritor1
parents:
diff changeset
72 int field_4;
Ritor1
parents:
diff changeset
73 int field_8;
Ritor1
parents:
diff changeset
74 int field_C;
Ritor1
parents:
diff changeset
75 int field_10;
Ritor1
parents:
diff changeset
76 int field_14;
Ritor1
parents:
diff changeset
77 int field_18;
Ritor1
parents:
diff changeset
78 int field_1C;
Ritor1
parents:
diff changeset
79 int field_20;
Ritor1
parents:
diff changeset
80 int field_24;
Ritor1
parents:
diff changeset
81 int field_28;
Ritor1
parents:
diff changeset
82 };
Ritor1
parents:
diff changeset
83 #pragma pack(pop)
Ritor1
parents:
diff changeset
84 extern stru149 stru_8019C8;
Ritor1
parents:
diff changeset
85
Ritor1
parents:
diff changeset
86
Ritor1
parents:
diff changeset
87
Ritor1
parents:
diff changeset
88 /* 143 */
Ritor1
parents:
diff changeset
89 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
90 struct Span
Ritor1
parents:
diff changeset
91 {
Ritor1
parents:
diff changeset
92 Span *pNext;
Ritor1
parents:
diff changeset
93 struct stru148 *pParent;
Ritor1
parents:
diff changeset
94 __int16 field_8;
Ritor1
parents:
diff changeset
95 __int16 field_A;
Ritor1
parents:
diff changeset
96 __int16 field_C;
Ritor1
parents:
diff changeset
97 __int16 field_E;
Ritor1
parents:
diff changeset
98 float field_10;
Ritor1
parents:
diff changeset
99 float field_14;
Ritor1
parents:
diff changeset
100 };
Ritor1
parents:
diff changeset
101 #pragma pack(pop)
265
96bc024a5fed Render overflows
Nomad
parents: 0
diff changeset
102 extern stru148 array_77EC08[];
0
Ritor1
parents:
diff changeset
103
Ritor1
parents:
diff changeset
104
Ritor1
parents:
diff changeset
105
Ritor1
parents:
diff changeset
106 /* 144 */
Ritor1
parents:
diff changeset
107 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
108 struct Surf
Ritor1
parents:
diff changeset
109 {
Ritor1
parents:
diff changeset
110 float field_0;
Ritor1
parents:
diff changeset
111 float field_4;
Ritor1
parents:
diff changeset
112 float field_8;
Ritor1
parents:
diff changeset
113 float field_C;
Ritor1
parents:
diff changeset
114 float field_10;
Ritor1
parents:
diff changeset
115 Surf *pNext;
Ritor1
parents:
diff changeset
116 Surf *pPrev;
Ritor1
parents:
diff changeset
117 struct stru148 *pParent;
Ritor1
parents:
diff changeset
118 __int16 field_20;
Ritor1
parents:
diff changeset
119 __int16 field_22;
Ritor1
parents:
diff changeset
120 };
Ritor1
parents:
diff changeset
121 #pragma pack(pop)
Ritor1
parents:
diff changeset
122 extern Surf stru_80C980;
Ritor1
parents:
diff changeset
123
Ritor1
parents:
diff changeset
124
Ritor1
parents:
diff changeset
125
Ritor1
parents:
diff changeset
126
Ritor1
parents:
diff changeset
127 /* 145 */
Ritor1
parents:
diff changeset
128 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
129 struct Edge
Ritor1
parents:
diff changeset
130 {
Ritor1
parents:
diff changeset
131 float field_0;
Ritor1
parents:
diff changeset
132 float field_4;
Ritor1
parents:
diff changeset
133 int field_8;
Ritor1
parents:
diff changeset
134 Surf *pSurf;
Ritor1
parents:
diff changeset
135 Edge *pNext;
Ritor1
parents:
diff changeset
136 Edge *pPrev;
Ritor1
parents:
diff changeset
137 Edge *ptr_18;
Ritor1
parents:
diff changeset
138 float field_1C;
Ritor1
parents:
diff changeset
139 float field_20;
Ritor1
parents:
diff changeset
140 float field_24;
Ritor1
parents:
diff changeset
141 float field_28;
Ritor1
parents:
diff changeset
142 float field_2C;
Ritor1
parents:
diff changeset
143 float field_30;
Ritor1
parents:
diff changeset
144 };
Ritor1
parents:
diff changeset
145 #pragma pack(pop)
Ritor1
parents:
diff changeset
146 extern Edge defaultEdge; // weak
Ritor1
parents:
diff changeset
147
Ritor1
parents:
diff changeset
148 extern Edge stru_80C9A4;
Ritor1
parents:
diff changeset
149 extern Edge stru_80C9D8;
Ritor1
parents:
diff changeset
150
Ritor1
parents:
diff changeset
151
Ritor1
parents:
diff changeset
152
Ritor1
parents:
diff changeset
153
Ritor1
parents:
diff changeset
154
Ritor1
parents:
diff changeset
155
Ritor1
parents:
diff changeset
156
Ritor1
parents:
diff changeset
157