changeset 65:31feb3432bbd

23.01.13 (test)
author Ritor1
date Wed, 23 Jan 2013 13:21:04 +0600
parents f6e7d7110512
children 653fdf29c654
files Render.cpp Vis.cpp mm7_3.cpp
diffstat 3 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Render.cpp	Wed Jan 23 13:14:41 2013 +0600
+++ b/Render.cpp	Wed Jan 23 13:21:04 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 )//Ritor1: do comment to test
-        Render::DrawTerrainD3D(v111, 0, (int)&v102);
-      else
-        Render::DrawTerrainSW(v111, 0, (int)&v102);
+	  //if ( pRenderer->pRenderD3D )//Ritor1: do comment to test
+        //Render::DrawTerrainD3D(v111, 0, (int)&v102);
+      //else
+        //Render::DrawTerrainSW(v111, 0, (int)&v102);
     }
   }
   else
@@ -1686,10 +1686,10 @@
       }
       v103 = abs((int)pIndoorCamera->uMapGridCellX - terrain_76DBC8[v86]);
 	  v104 = abs((int)pIndoorCamera->uMapGridCellZ - terrain_76D9C8[v86]);
-	  if ( pRenderer->pRenderD3D )
-        Render::DrawTerrainD3D(v111, 1, (int)&v102);
-      else
-        Render::DrawTerrainSW(v111, 1, (int)&v102);
+	  //if ( pRenderer->pRenderD3D )
+        //Render::DrawTerrainD3D(v111, 1, (int)&v102);
+      //else
+        //Render::DrawTerrainSW(v111, 1, (int)&v102);
     }
   }
   result = v126;
--- a/Vis.cpp	Wed Jan 23 13:14:41 2013 +0600
+++ b/Vis.cpp	Wed Jan 23 13:21:04 2013 +0600
@@ -1605,7 +1605,7 @@
 
   stru1.uNumPointers = 0;
   CastPickRay(pMouseRay, fMouseX, fMouseY, fDepth);
-  PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5);//Ritor1: do comment to test
+  //PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5);//Ritor1: do comment to test
   if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
     PickIndoor(fDepth, pMouseRay, &stru1, a6);
   else
--- a/mm7_3.cpp	Wed Jan 23 13:14:41 2013 +0600
+++ b/mm7_3.cpp	Wed Jan 23 13:21:04 2013 +0600
@@ -9360,7 +9360,7 @@
 }
 
 //----- (00481FC9) --------------------------------------------------------
-int __fastcall sub_481FC9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4)
+int __fastcall sub_481FC9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4)//Rotate camera
 {
   float arg_0, arg_4, var_4, var_8, var_c, var_10, var_14;