Mercurial > might-and-magic-trilogy
comparison Vis.cpp @ 116:918dca162239
stru170 -> BspRenderer
author | Nomad |
---|---|
date | Thu, 08 Nov 2012 04:57:39 +0200 |
parents | 8b0c4d626477 |
children |
comparison
equal
deleted
inserted
replaced
115:75faebd0a975 | 116:918dca162239 |
---|---|
357 Vis *thisa; // [sp+4Ch] [bp-4h]@1 | 357 Vis *thisa; // [sp+4Ch] [bp-4h]@1 |
358 | 358 |
359 v5 = 0; | 359 v5 = 0; |
360 thisa = this; | 360 thisa = this; |
361 v17 = 0; | 361 v17 = 0; |
362 for ( a1.flt_2C = 0.0; v17 < (signed int)pStru170->uNumFaceIDs; ++v17 ) | 362 for ( a1.flt_2C = 0.0; v17 < (signed int)pBspRenderer->uNumFaceIDs; ++v17 ) |
363 { | 363 { |
364 v6 = pStru170->pFaceIDs[2 * v5]; | 364 v6 = pBspRenderer->pFaceIDs[2 * v5]; |
365 if ( v6 >= 0 ) | 365 if ( v6 >= 0 ) |
366 { | 366 { |
367 if ( v6 < (signed int)pIndoor->uNumFaces ) | 367 if ( v6 < (signed int)pIndoor->uNumFaces ) |
368 { | 368 { |
369 v7 = v6; | 369 v7 = v6; |
1989 signed int i; // [sp+18h] [bp-8h]@1 | 1989 signed int i; // [sp+18h] [bp-8h]@1 |
1990 Vis *thisa; // [sp+1Ch] [bp-4h]@1 | 1990 Vis *thisa; // [sp+1Ch] [bp-4h]@1 |
1991 | 1991 |
1992 result = 0; | 1992 result = 0; |
1993 thisa = this; | 1993 thisa = this; |
1994 for ( i = 0; i < (signed int)pStru170->uNumFaceIDs; ++i ) | 1994 for ( i = 0; i < (signed int)pBspRenderer->uNumFaceIDs; ++i ) |
1995 { | 1995 { |
1996 v5 = pStru170->pFaceIDs[2 * result]; | 1996 v5 = pBspRenderer->pFaceIDs[2 * result]; |
1997 if ( v5 >= 0 ) | 1997 if ( v5 >= 0 ) |
1998 { | 1998 { |
1999 if ( v5 < (signed int)pIndoor->uNumFaces ) | 1999 if ( v5 < (signed int)pIndoor->uNumFaces ) |
2000 { | 2000 { |
2001 v6 = &pIndoor->pFaces[v5]; | 2001 v6 = &pIndoor->pFaces[v5]; |