comparison Render.cpp @ 1202:0dbf6c4dd029

arrays to std::arrays phase 1
author Grumpy7
date Sat, 08 Jun 2013 21:33:22 +0200
parents 24454b5c9268
children 8c02e6f74b29
comparison
equal deleted inserted replaced
1196:44f37efc159c 1202:0dbf6c4dd029
3498 //{ 3498 //{
3499 //v0 = (char *)&pLevelDecorations[0].vPosition.y; 3499 //v0 = (char *)&pLevelDecorations[0].vPosition.y;
3500 //do 3500 //do
3501 for (int i = 0; i < uNumLevelDecorations; ++i) 3501 for (int i = 0; i < uNumLevelDecorations; ++i)
3502 { 3502 {
3503 auto decor = pLevelDecorations + i; 3503 auto decor = &pLevelDecorations[i];
3504 auto v0 = (char *)&pLevelDecorations[i].vPosition.y; 3504 auto v0 = (char *)&pLevelDecorations[i].vPosition.y;
3505 3505
3506 if ( (!(decor->field_2 & 0x40) || decor->_47A825()) && !(decor->field_2 & 0x20) ) 3506 if ( (!(decor->field_2 & 0x40) || decor->_47A825()) && !(decor->field_2 & 0x20) )
3507 { 3507 {
3508 //v1 = &pDecorationList->pDecorations[decor->uDecorationDescID]; 3508 //v1 = &pDecorationList->pDecorations[decor->uDecorationDescID];