annotate Outdoor_stuff.h @ 1284:2767980b98bb

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