Mercurial > mm7
comparison IndoorCameraD3D.h @ 1642:8971dc85b8fb
More camera unifications.
author | Nomad |
---|---|
date | Tue, 17 Sep 2013 20:15:56 +0200 |
parents | afc1c3514dd5 |
children | 30c2b575d25c |
comparison
equal
deleted
inserted
replaced
1641:466c5e15f524 | 1642:8971dc85b8fb |
---|---|
107 int field_C04; | 107 int field_C04; |
108 int field_C08; | 108 int field_C08; |
109 int field_C0C; | 109 int field_C0C; |
110 }; | 110 }; |
111 #pragma pack(pop) | 111 #pragma pack(pop) |
112 | |
113 | |
114 | |
115 #define BLV_RENDER_DRAW_SW_OUTLINES (1 << 0) // 1 | |
116 #define BLV_RENDER_DRAW_D3D_OUTLINES (1 << 1) // 2 | |
117 #define ODM_RENDER_DRAW_D3D_OUTLINES (1 << 2) // 4 | |
118 #define ODM_RENDER_DRAW_TERRAIN_OUTLINES (1 << 3) // 8 | |
112 | 119 |
113 /* 123 */ | 120 /* 123 */ |
114 #pragma pack(push, 1) | 121 #pragma pack(push, 1) |
115 struct IndoorCameraD3D | 122 struct IndoorCameraD3D |
116 { | 123 { |
221 float field_378; | 228 float field_378; |
222 IndoorCameraD3D_stru3 list_0037C[16384]; | 229 IndoorCameraD3D_stru3 list_0037C[16384]; |
223 unsigned int list_0037C_size; | 230 unsigned int list_0037C_size; |
224 IndoorCameraD3D_stru2 list_E0380[256]; | 231 IndoorCameraD3D_stru2 list_E0380[256]; |
225 int list_E0380_size; | 232 int list_E0380_size; |
226 | 233 |
234 | |
235 void CalculateRotations(int camera_rot_x, int camera_rot_y); | |
227 int sRotationY; // moved from 157 struct IndoorCamera::18 | 236 int sRotationY; // moved from 157 struct IndoorCamera::18 |
228 int sRotationX; // moved from 157 struct IndoorCamera::14 | 237 int sRotationX; // moved from 157 struct IndoorCamera::14 |
229 float fRotationYSine; // moved from 157 struct IndoorCamera::2C | 238 float fRotationYSine; // moved from 157 struct IndoorCamera::2C |
230 float fRotationYCosine; // moved from 157 struct IndoorCamera::30 | 239 float fRotationYCosine; // moved from 157 struct IndoorCamera::30 |
231 float fRotationXSine; // moved from 157 struct IndoorCamera::34 | 240 float fRotationXSine; // moved from 157 struct IndoorCamera::34 |
232 float fRotationXCosine; // moved from 157 struct IndoorCamera::38 | 241 float fRotationXCosine; // moved from 157 struct IndoorCamera::38 |
233 Vec3<int> vPartyPos; // moved from 157 struct IndoorCamera::00 | 242 Vec3<int> vPartyPos; // moved from 157 struct IndoorCamera::00 |
234 // merged from 162 struct BLVRenderParams::08 | 243 // merged from 162 struct BLVRenderParams::08 |
235 }; | 244 int debug_flags; // moved from 157 struct IndoorCamera::4C |
236 #pragma pack(pop) | 245 // merged from 162 struct BLVRenderParams::04 |
246 int int_sine_y; // moved from 157 struct ODMRenderParams::1C | |
247 // merged from 162 struct BLVRenderParams::24 | |
248 int int_cosine_y; // moved from 157 struct ODMRenderParams::20 | |
249 // merged from 162 struct BLVRenderParams::20 | |
250 int int_sine_x; // moved from 157 struct ODMRenderParams::24 | |
251 // merged from 162 struct BLVRenderParams::2C | |
252 int int_cosine_x; // moved from 157 struct ODMRenderParams::28 | |
253 // merged from 162 struct BLVRenderParams::28 | |
254 }; | |
255 #pragma pack(pop) |