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