comparison Outdoor.cpp @ 985:062788391c88

BezierTerrain little clean
author Ritor1
date Sun, 12 May 2013 09:38:20 +0600
parents 2db21a810d48
children c45d51b3f4f4
comparison
equal deleted inserted replaced
980:a079c489118d 985:062788391c88
125 } 125 }
126 else 126 else
127 { 127 {
128 pRenderer->DrawSkyD3D(); 128 pRenderer->DrawSkyD3D();
129 pRenderer->DrawBuildingsD3D(); 129 pRenderer->DrawBuildingsD3D();
130 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag 130 pRenderer->RenderTerrainD3D();
131 //pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
131 } 132 }
132 } 133 }
133 else if (pRenderer->pRenderD3D) 134 else if (pRenderer->pRenderD3D)
134 { 135 {
135 pRenderer->DrawSkyD3D(); 136 pRenderer->DrawSkyD3D();
136 pRenderer->DrawBuildingsD3D(); 137 pRenderer->DrawBuildingsD3D();
137 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag 138 pRenderer->RenderTerrainD3D();
139 //pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
138 } 140 }
139 else 141 else
140 { 142 {
141 pRenderer->DrawBuildingsSW(); 143 pRenderer->DrawBuildingsSW();
142 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag 144 pRenderer->RenderTerrainD3D();
145 //pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
143 sr_sub_486F92_MessWithEdgesAndSpans(); 146 sr_sub_486F92_MessWithEdgesAndSpans();
144 pOutdoorCamera->_487355(); 147 pOutdoorCamera->_487355();
145 } 148 }
146 pMobileLightsStack->uNumLightsActive = 0; 149 pMobileLightsStack->uNumLightsActive = 0;
147 pStationaryLightsStack->uNumLightsActive = 0; 150 pStationaryLightsStack->uNumLightsActive = 0;