Mercurial > mm7
comparison Render.cpp @ 734:2f4e33c1ed24
stru154
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 16:16:40 +0200 |
parents | 700b58aac975 |
children | 225d92620998 cd9ae9a2c99c |
comparison
equal
deleted
inserted
replaced
733:700b58aac975 | 734:2f4e33c1ed24 |
---|---|
2148 { | 2148 { |
2149 if ( this_3 ) | 2149 if ( this_3 ) |
2150 v33 = 3; | 2150 v33 = 3; |
2151 else | 2151 else |
2152 v33 = v108 != 0 ? 5 : 0; | 2152 v33 = v108 != 0 ? 5 : 0; |
2153 static_sub_0048034E_stru_154._49B0C9(v23, v95); | 2153 static_sub_0048034E_stru_154.ClassifyPolygon(v23, v95); |
2154 if ( pDecalBuilder->uNumDecals > 0 ) | 2154 if ( pDecalBuilder->uNumDecals > 0 ) |
2155 pDecalBuilder->ApplyDecals(31 - v16->dimming_level, 4, &static_sub_0048034E_stru_154, a5, array_50AC10, 0, *(float *)&v33, -1); | 2155 pDecalBuilder->ApplyDecals(31 - v16->dimming_level, 4, &static_sub_0048034E_stru_154, a5, array_50AC10, 0, *(float *)&v33, -1); |
2156 } | 2156 } |
2157 if ( stru_F8AD28.uNumLightsApplied > 0 ) | 2157 if ( stru_F8AD28.uNumLightsApplied > 0 ) |
2158 pGame->pLightmapBuilder->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_154, a5, array_50AC10, 0, v33); | 2158 pGame->pLightmapBuilder->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_154, a5, array_50AC10, 0, v33); |
2293 if ( this_3a ) | 2293 if ( this_3a ) |
2294 pVertices = (RenderVertexSoft *)3; | 2294 pVertices = (RenderVertexSoft *)3; |
2295 else | 2295 else |
2296 pVertices = (RenderVertexSoft *)(v108 != 0 ? 5 : 0); | 2296 pVertices = (RenderVertexSoft *)(v108 != 0 ? 5 : 0); |
2297 //a8 = (RenderVertexSoft *)(this_3a ? 3 : v108 != 0 ? 5 : 0); | 2297 //a8 = (RenderVertexSoft *)(this_3a ? 3 : v108 != 0 ? 5 : 0); |
2298 static_sub_0048034E_stru_76D590._49B0C9(v48, *(float *)&a4); | 2298 static_sub_0048034E_stru_76D590.ClassifyPolygon(v48, *(float *)&a4); |
2299 if ( pDecalBuilder->uNumDecals > 0 ) | 2299 if ( pDecalBuilder->uNumDecals > 0 ) |
2300 pDecalBuilder->ApplyDecals(31 - v40->dimming_level, 4, &static_sub_0048034E_stru_76D590, uNumVertices, array_50AC10, 0, (char)pVertices, -1); | 2300 pDecalBuilder->ApplyDecals(31 - v40->dimming_level, 4, &static_sub_0048034E_stru_76D590, uNumVertices, array_50AC10, 0, (char)pVertices, -1); |
2301 } | 2301 } |
2302 if ( stru_F8AD28.uNumLightsApplied > 0 ) | 2302 if ( stru_F8AD28.uNumLightsApplied > 0 ) |
2303 v96->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_76D590, uNumVertices, array_50AC10, 0, (char)pVertices); | 2303 v96->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_76D590, uNumVertices, array_50AC10, 0, (char)pVertices); |
2416 { | 2416 { |
2417 if ( this_3b ) | 2417 if ( this_3b ) |
2418 v70 = 3; | 2418 v70 = 3; |
2419 else | 2419 else |
2420 v70 = v108 != 0 ? 5 : 0; | 2420 v70 = v108 != 0 ? 5 : 0; |
2421 static_sub_0048034E_stru_76D578._49B0C9(v63, v87); | 2421 static_sub_0048034E_stru_76D578.ClassifyPolygon(v63, v87); |
2422 if ( pDecalBuilder->uNumDecals > 0 ) | 2422 if ( pDecalBuilder->uNumDecals > 0 ) |
2423 pDecalBuilder->ApplyDecals(31 - v40->dimming_level, 4, &static_sub_0048034E_stru_76D578, v100, array_50AC10, 0, v70, -1); | 2423 pDecalBuilder->ApplyDecals(31 - v40->dimming_level, 4, &static_sub_0048034E_stru_76D578, v100, array_50AC10, 0, v70, -1); |
2424 } | 2424 } |
2425 if ( stru_F8AD28.uNumLightsApplied > 0 ) | 2425 if ( stru_F8AD28.uNumLightsApplied > 0 ) |
2426 v96->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_76D578, v100, array_50AC10, 0, v70); | 2426 v96->ApplyLights(&stru_F8AD28, &static_sub_0048034E_stru_76D578, v100, array_50AC10, 0, v70); |