Mercurial > mm7
comparison mm7_5.cpp @ 666:a5750c94b022
BSP
author | Ritor1 |
---|---|
date | Wed, 13 Mar 2013 17:08:21 +0600 |
parents | c10163a6d946 |
children | ecfb1b3c9a39 |
comparison
equal
deleted
inserted
replaced
665:92bc2544249d | 666:a5750c94b022 |
---|---|
9249 void BspRenderer::MakeVisibleSectorList() | 9249 void BspRenderer::MakeVisibleSectorList() |
9250 { | 9250 { |
9251 int v6; // ebx@3 | 9251 int v6; // ebx@3 |
9252 | 9252 |
9253 uNumVisibleNotEmptySectors = 0; | 9253 uNumVisibleNotEmptySectors = 0; |
9254 for (uint i = 0; i < std__vector_000FA8; ++i) | 9254 for (uint i = 0; i < pNumSectors; ++i) |
9255 { | 9255 { |
9256 v6 = 0; | 9256 v6 = 0; |
9257 if (!uNumVisibleNotEmptySectors) | 9257 if (!uNumVisibleNotEmptySectors) |
9258 { | 9258 { |
9259 //LABEL_7: | 9259 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[uNumVisibleNotEmptySectors++] = pSectors[i].uSectorID; |
9260 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[uNumVisibleNotEmptySectors++] = field_FA8[i].uSectorID; | |
9261 } | 9260 } |
9262 else | 9261 else |
9263 { | 9262 { |
9264 while (pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[v6] != field_FA8[i].uSectorID ) | 9263 while (pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[v6] != pSectors[i].uSectorID ) |
9265 { | 9264 { |
9266 ++v6; | 9265 ++v6; |
9267 if ( v6 >= uNumVisibleNotEmptySectors) | 9266 if ( v6 >= uNumVisibleNotEmptySectors) |
9268 { | 9267 { |
9269 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[uNumVisibleNotEmptySectors++] = field_FA8[i].uSectorID; | 9268 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[uNumVisibleNotEmptySectors++] = pSectors[i].uSectorID; |
9270 continue; | 9269 continue; |
9271 } | 9270 } |
9272 } | 9271 } |
9273 } | 9272 } |
9274 } | 9273 } |