comparison Indoor.cpp @ 315:2a09e1d6fc8f

Some 0041D895 GameUI_DrawItemInfo overhaul
author Nomad
date Wed, 20 Feb 2013 01:17:13 +0200
parents cc8e4dc397ec
children 922a96fdcc86
comparison
equal deleted inserted replaced
306:e33f5a1cdc46 315:2a09e1d6fc8f
1303 field_FA8[std__vector_000FA8].std__vector_0007A8 = -1; 1303 field_FA8[std__vector_000FA8].std__vector_0007A8 = -1;
1304 //v39 = &pIndoor->pFaces[uFaceID]; 1304 //v39 = &pIndoor->pFaces[uFaceID];
1305 1305
1306 auto pFace = &pIndoor->pFaces[uFaceID]; 1306 auto pFace = &pIndoor->pFaces[uFaceID];
1307 1307
1308 if (pFace->uAttributes & 1) 1308 if (pFace->TwoSided())
1309 { 1309 {
1310 auto p = &field_FA8[a2]; 1310 auto p = &field_FA8[a2];
1311 //v6 = (int)((char *)this + 2252 * a2); 1311 //v6 = (int)((char *)this + 2252 * a2);
1312 //a0 = v6; 1312 //a0 = v6;
1313 if (p->uFaceID == uFaceID) 1313 if (p->uFaceID == uFaceID)
1500 signed int v23; // [sp+28h] [bp+8h]@20 1500 signed int v23; // [sp+28h] [bp+8h]@20
1501 1501
1502 v3 = this; 1502 v3 = this;
1503 v4 = &pIndoor->pFaces[uFaceID]; 1503 v4 = &pIndoor->pFaces[uFaceID];
1504 v21 = v4; 1504 v21 = v4;
1505 if ( v4->uAttributes & 1 ) 1505 if (v4->TwoSided())
1506 { 1506 {
1507 v5 = (char *)this + 2252 * a2; 1507 v5 = (char *)this + 2252 * a2;
1508 v20 = v5; 1508 v20 = v5;
1509 if ( uFaceID == *((short *)v5 + 2982) ) 1509 if ( uFaceID == *((short *)v5 + 2982) )
1510 return; 1510 return;