Mercurial > mm7
comparison Render.cpp @ 48:ca142e247b73
temporary commit, remove crashes
author | zipi |
---|---|
date | Mon, 21 Jan 2013 18:57:56 +0000 |
parents | aac67e0d2c10 |
children | 2ee78ed62d37 285e144d0b8b |
comparison
equal
deleted
inserted
replaced
47:5629105aa178 | 48:ca142e247b73 |
---|---|
1619 } | 1619 } |
1620 while ( v116 < v107 ); | 1620 while ( v116 < v107 ); |
1621 } | 1621 } |
1622 v103 = abs((int)pIndoorCamera->uMapGridCellZ - terrain_76D9C8[v70]); | 1622 v103 = abs((int)pIndoorCamera->uMapGridCellZ - terrain_76D9C8[v70]); |
1623 v104 = abs((int)pIndoorCamera->uMapGridCellX - terrain_76DBC8[v70]); | 1623 v104 = abs((int)pIndoorCamera->uMapGridCellX - terrain_76DBC8[v70]); |
1624 if ( pRenderer->pRenderD3D ) | 1624 // if ( pRenderer->pRenderD3D ) |
1625 Render::DrawTerrainD3D(v111, 0, (int)&v102); | 1625 //Render::DrawTerrainD3D(v111, 0, (int)&v102); |
1626 else | 1626 // else |
1627 Render::DrawTerrainSW(v111, 0, (int)&v102); | 1627 //Render::DrawTerrainSW(v111, 0, (int)&v102); |
1628 } | 1628 } |
1629 } | 1629 } |
1630 else | 1630 else |
1631 { | 1631 { |
1632 for ( i = v69; i >= 1; --i ) | 1632 for ( i = v69; i >= 1; --i ) |