comparison mm7_6.cpp @ 1637:2c71fa8913d2

class OutdoorCamera -> ODMRenderParams
author Nomad
date Tue, 17 Sep 2013 14:10:41 +0200
parents 43d3536a20f7
children 2a309997c42f
comparison
equal deleted inserted replaced
1633:384a6b9d1333 1637:2c71fa8913d2
7 7
8 8
9 #include "Weather.h" 9 #include "Weather.h"
10 #include "Sprites.h" 10 #include "Sprites.h"
11 #include "BSPModel.h" 11 #include "BSPModel.h"
12 #include "OutdoorCamera.h"
13 #include "Mouse.h" 12 #include "Mouse.h"
14 #include "Keyboard.h" 13 #include "Keyboard.h"
15 #include "stru6.h" 14 #include "stru6.h"
16 15
17 #include "Vis.h" 16 #include "Vis.h"
74 char *v26; // [sp+28h] [bp-Ch]@4 73 char *v26; // [sp+28h] [bp-Ch]@4
75 char *v27; // [sp+2Ch] [bp-8h]@4 74 char *v27; // [sp+2Ch] [bp-8h]@4
76 char *v28; // [sp+30h] [bp-4h]@4 75 char *v28; // [sp+30h] [bp-4h]@4
77 76
78 v1 = uVertexID; 77 v1 = uVertexID;
79 v2 = (double)pOutdoorCamera->shading_dist_mist; 78 v2 = (double)pODMRenderParams->shading_dist_mist;
80 memcpy(&array_50AC10[uVertexID], array_50AC10, sizeof(array_50AC10[uVertexID])); 79 memcpy(&array_50AC10[uVertexID], array_50AC10, sizeof(array_50AC10[uVertexID]));
81 v3 = 0; 80 v3 = 0;
82 v22 = 0; 81 v22 = 0;
83 if ( array_50AC10[0].vWorldViewPosition.x <= v2 ) 82 if ( array_50AC10[0].vWorldViewPosition.x <= v2 )
84 v3 = 1; 83 v3 = 1;