changeset 51:63cfe63ac4c5

22.01.13 come back
author Ritor1
date Tue, 22 Jan 2013 17:50:36 +0600
parents 2ee78ed62d37
children 6c2cefdaea3e a96ebf3123d2
files Outdoor.cpp ParticleEngine.cpp Render.cpp Vis.cpp
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Outdoor.cpp	Tue Jan 22 17:40:13 2013 +0600
+++ b/Outdoor.cpp	Tue Jan 22 17:50:36 2013 +0600
@@ -138,7 +138,7 @@
   if ( !pOutdoorCamera->bDoNotRenderDecorations )
     pRenderer->DrawDecorations();
   pRenderer->DrawLayingItems_Shooting_Magic_ODM();
-  //pRenderer->TransformBillboardsAndSetPalettesODM();
+  pRenderer->TransformBillboardsAndSetPalettesODM();
   sub_485F53((Vec2_int_ *)unnamed_6BE060);
 }
 
--- a/ParticleEngine.cpp	Tue Jan 22 17:40:13 2013 +0600
+++ b/ParticleEngine.cpp	Tue Jan 22 17:50:36 2013 +0600
@@ -93,10 +93,10 @@
   uTimeElapsed += pEventTimer->uTimeElapsed;
   pLines.uNumLines = 0;
 
-  //if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
-    //DrawParticles_BLV();
-  //else
-    //DrawParticles_ODM();
+  if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
+    DrawParticles_BLV();
+  else
+    DrawParticles_ODM();
 
   if (pRenderer->pRenderD3D)
   {
--- a/Render.cpp	Tue Jan 22 17:40:13 2013 +0600
+++ b/Render.cpp	Tue Jan 22 17:50:36 2013 +0600
@@ -1621,10 +1621,10 @@
       }
 	  v103 = abs((int)pIndoorCamera->uMapGridCellZ - terrain_76D9C8[v70]);
       v104 = abs((int)pIndoorCamera->uMapGridCellX - terrain_76DBC8[v70]);
-	 // if ( pRenderer->pRenderD3D )
-        //Render::DrawTerrainD3D(v111, 0, (int)&v102);
-    //  else
-        //Render::DrawTerrainSW(v111, 0, (int)&v102);
+	  if ( pRenderer->pRenderD3D )
+        Render::DrawTerrainD3D(v111, 0, (int)&v102);
+      else
+        Render::DrawTerrainSW(v111, 0, (int)&v102);
     }
   }
   else
--- a/Vis.cpp	Tue Jan 22 17:40:13 2013 +0600
+++ b/Vis.cpp	Tue Jan 22 17:50:36 2013 +0600
@@ -1605,7 +1605,7 @@
 
   stru1.uNumPointers = 0;
   CastPickRay(pMouseRay, fMouseX, fMouseY, fDepth);
-  //PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5);
+  PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5);
   if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
     PickIndoor(fDepth, pMouseRay, &stru1, a6);
   else