comparison mm7_1.cpp @ 144:8ab4484c22e0

Billboard drawing's up (actors, decorations, misc sprites)
author Nomad
date Tue, 12 Feb 2013 11:59:49 +0200
parents cca78efb377e
children 796b79187c27 ee11772d0ad2
comparison
equal deleted inserted replaced
143:b099dd069171 144:8ab4484c22e0
2994 v106.uViewportX = a1->uFrameX + 13; 2994 v106.uViewportX = a1->uFrameX + 13;
2995 v106.uViewportY = v12; 2995 v106.uViewportY = v12;
2996 v106.uViewportW = v12 + 128; 2996 v106.uViewportW = v12 + 128;
2997 v106.uViewportZ = v106.uViewportX + 128; 2997 v106.uViewportZ = v106.uViewportX + 128;
2998 v106.uScreenSpaceX = (signed int)(v106.uViewportX + 128 + v106.uViewportX) / 2; 2998 v106.uScreenSpaceX = (signed int)(v106.uViewportX + 128 + v106.uViewportX) / 2;
2999 v106.field_10 = 65536; 2999 v106._screenspace_x_scaler_packedfloat = 65536;
3000 v106.field_14 = 65536; 3000 v106._screenspace_y_scaler_packedfloat = 65536;
3001 v106.uScreenSpaceY = v115 + v12 + *(short *)(v11 + 18); 3001 v106.uScreenSpaceY = v115 + v12 + *(short *)(v11 + 18);
3002 v106.pPalette = PaletteManager::Get_Dark_or_Red_LUT(v10->uPaletteIndex, 0, 1); 3002 v106.pPalette = PaletteManager::Get_Dark_or_Red_LUT(v10->uPaletteIndex, 0, 1);
3003 v106.sZValue = 0; 3003 v106.sZValue = 0;
3004 v106.uFlags = 0; 3004 v106.uFlags = 0;
3005 pRenderer->Clip_v2(0, 0, 0x27Fu, 0x1DFu); 3005 pRenderer->Clip_v2(0, 0, 0x27Fu, 0x1DFu);