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