Mercurial > mm7
changeset 48:ca142e247b73
temporary commit, remove crashes
author | zipi |
---|---|
date | Mon, 21 Jan 2013 18:57:56 +0000 |
parents | 5629105aa178 |
children | 2ee78ed62d37 285e144d0b8b |
files | LightmapBuilder.cpp Outdoor.cpp ParticleEngine.cpp Render.cpp Vis.cpp |
diffstat | 5 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/LightmapBuilder.cpp Mon Jan 21 14:37:14 2013 +0600 +++ b/LightmapBuilder.cpp Mon Jan 21 18:57:56 2013 +0000 @@ -964,7 +964,7 @@ RenderD3D *v13; // ecx@11 char v14; // dl@11 - __debugbreak(); +// __debugbreak(); v6 = pLight->uRadius; if ( v6 > 0
--- a/Outdoor.cpp Mon Jan 21 14:37:14 2013 +0600 +++ b/Outdoor.cpp Mon Jan 21 18:57:56 2013 +0000 @@ -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 Mon Jan 21 14:37:14 2013 +0600 +++ b/ParticleEngine.cpp Mon Jan 21 18:57:56 2013 +0000 @@ -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 Mon Jan 21 14:37:14 2013 +0600 +++ b/Render.cpp Mon Jan 21 18:57:56 2013 +0000 @@ -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 Mon Jan 21 14:37:14 2013 +0600 +++ b/Vis.cpp Mon Jan 21 18:57:56 2013 +0000 @@ -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