diff 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
line wrap: on
line diff
--- a/stru6.cpp	Tue Feb 12 06:29:34 2013 +0200
+++ b/stru6.cpp	Tue Feb 12 11:59:49 2013 +0200
@@ -1585,11 +1585,11 @@
       v24 = 16777216;
       LODWORD(v18) = 0;
       HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportZ) - LOWORD(pViewport->uViewportX));
-      vsr.field_10 = v18 / 16777216;
+      vsr._screenspace_x_scaler_packedfloat = v18 / 0x1000000;
       LODWORD(v18) = 0;
       HIDWORD(v18) = (signed __int16)(LOWORD(pViewport->uViewportW) - LOWORD(pViewport->uViewportY));
       v26 = v18 / 16777216;
-      vsr.field_14 = v18 / 16777216;
+      vsr._screenspace_y_scaler_packedfloat = v18 / 0x1000000;
       vsr.pPalette = PaletteManager::Get_Dark_or_Red_LUT(v70->uPaletteIndex, 0, 1);
       vsr.uTargetPitch = pRenderer->uTargetSurfacePitch;
       vsr.uParentBillboardID = -1;