comparison stru6.cpp @ 144:8ab4484c22e0

Billboard drawing's up (actors, decorations, misc sprites)
author Nomad
date Tue, 12 Feb 2013 11:59:49 +0200
parents 8b8fd4d83fdc
children d65528fc3bda
comparison
equal deleted inserted replaced
143:b099dd069171 144:8ab4484c22e0
1583 vsr.uScreenSpaceX = (signed int)(pViewport->uViewportZ - pViewport->uViewportX) / 2; 1583 vsr.uScreenSpaceX = (signed int)(pViewport->uViewportZ - pViewport->uViewportX) / 2;
1584 vsr.uScreenSpaceY = pViewport->uViewportW; 1584 vsr.uScreenSpaceY = pViewport->uViewportW;
1585 v24 = 16777216; 1585 v24 = 16777216;
1586 LODWORD(v18) = 0; 1586 LODWORD(v18) = 0;
1587 HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportZ) - LOWORD(pViewport->uViewportX)); 1587 HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportZ) - LOWORD(pViewport->uViewportX));
1588 vsr.field_10 = v18 / 16777216; 1588 vsr._screenspace_x_scaler_packedfloat = v18 / 0x1000000;
1589 LODWORD(v18) = 0; 1589 LODWORD(v18) = 0;
1590 HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportW) - LOWORD(pViewport->uViewportY)); 1590 HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportW) - LOWORD(pViewport->uViewportY));
1591 v26 = v18 / 16777216; 1591 v26 = v18 / 16777216;
1592 vsr.field_14 = v18 / 16777216; 1592 vsr._screenspace_y_scaler_packedfloat = v18 / 0x1000000;
1593 vsr.pPalette = PaletteManager::Get_Dark_or_Red_LUT(v70->uPaletteIndex, 0, 1); 1593 vsr.pPalette = PaletteManager::Get_Dark_or_Red_LUT(v70->uPaletteIndex, 0, 1);
1594 vsr.uTargetPitch = pRenderer->uTargetSurfacePitch; 1594 vsr.uTargetPitch = pRenderer->uTargetSurfacePitch;
1595 vsr.uParentBillboardID = -1; 1595 vsr.uParentBillboardID = -1;
1596 vsr.uViewportX = pViewport->uViewportX; 1596 vsr.uViewportX = pViewport->uViewportX;
1597 vsr.uViewportZ = pViewport->uViewportZ; 1597 vsr.uViewportZ = pViewport->uViewportZ;