# HG changeset patch # User Ritor1 # Date 1358925664 -21600 # Node ID 31feb3432bbdf4df3fe3a7f713d5572d4b7c509a # Parent f6e7d7110512a72464cd908c88558d4195a58914 23.01.13 (test) diff -r f6e7d7110512 -r 31feb3432bbd Render.cpp --- 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; diff -r f6e7d7110512 -r 31feb3432bbd Vis.cpp --- 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 diff -r f6e7d7110512 -r 31feb3432bbd mm7_3.cpp --- 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;