comparison Outdoor.cpp @ 107:23b213c3f8e1

Слияние
author Ritor1
date Fri, 08 Feb 2013 18:34:09 +0600
parents 56e11be29db1 dd570dea0632
children be3c07c98861
comparison
equal deleted inserted replaced
106:efece1632349 107:23b213c3f8e1
92 } 92 }
93 else 93 else
94 { 94 {
95 pRenderer->DrawSkyD3D(); 95 pRenderer->DrawSkyD3D();
96 pRenderer->DrawBuildingsD3D(); 96 pRenderer->DrawBuildingsD3D();
97 pRenderer->DrawBezierTerrain(); 97 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
98 } 98 }
99 } 99 }
100 else if ( pRenderer->pRenderD3D ) 100 else if ( pRenderer->pRenderD3D )
101 { 101 {
102 pRenderer->DrawSkyD3D(); 102 pRenderer->DrawSkyD3D();
103 pRenderer->DrawBuildingsD3D(); 103 pRenderer->DrawBuildingsD3D();
104 pRenderer->DrawBezierTerrain();// Ritor1: sometimes crash 104 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
105 } 105 }
106 else 106 else
107 { 107 {
108 pRenderer->DrawBuildingsSW(); 108 pRenderer->DrawBuildingsSW();
109 pRenderer->DrawBezierTerrain(); 109 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
110 sr_sub_486F92_MessWithEdgesAndSpans(); 110 sr_sub_486F92_MessWithEdgesAndSpans();
111 pOutdoorCamera->_487355(); 111 pOutdoorCamera->_487355();
112 } 112 }
113 pMobileLightsStack->uNumLightsActive = 0; 113 pMobileLightsStack->uNumLightsActive = 0;
114 pStationaryLightsStack->uNumLightsActive = 0; 114 pStationaryLightsStack->uNumLightsActive = 0;