comparison Indoor.cpp @ 692:066e2b29b30f

viewport.cpp added
author Gloval
date Sat, 16 Mar 2013 21:57:32 +0400
parents 0f25d026acfa
children 436ae1842e92 a5ee769b02c6
comparison
equal deleted inserted replaced
691:c93f29773f84 692:066e2b29b30f
378 _this.vPosition.y = pParty->vPosition.y - ((stru_5C6E00->Sin(pParty->sRotationY) * (signed __int64)pParty->y_rotation_granularity) >> 16); 378 _this.vPosition.y = pParty->vPosition.y - ((stru_5C6E00->Sin(pParty->sRotationY) * (signed __int64)pParty->y_rotation_granularity) >> 16);
379 _this.vPosition.z = pParty->vPosition.z + pParty->sEyelevel; 379 _this.vPosition.z = pParty->vPosition.z + pParty->sEyelevel;
380 _this.sRotationX = pParty->sRotationX; 380 _this.sRotationX = pParty->sRotationX;
381 _this.sRotationY = pParty->sRotationY; 381 _this.sRotationY = pParty->sRotationY;
382 _this.pRenderTarget = pRenderer->pTargetSurface; 382 _this.pRenderTarget = pRenderer->pTargetSurface;
383 _this.uViewportX = pViewport->uScreenX; 383 _this.uViewportX = pViewport->uScreen_TL_X;
384 _this.uViewportY = pViewport->uScreenY; 384 _this.uViewportY = pViewport->uScreen_TL_Y;
385 _this.uViewportZ = pViewport->uScreenZ; 385 _this.uViewportZ = pViewport->uScreen_BR_X;
386 _this.uViewportW = pViewport->uScreenW; 386 _this.uViewportW = pViewport->uScreen_BR_Y;
387 _this.field_3C = pViewport->field_30; 387 _this.field_3C = pViewport->field_30;
388 388
389 _this.uTargetWidth = 640; 389 _this.uTargetWidth = 640;
390 _this.uTargetHeight = 480; 390 _this.uTargetHeight = 480;
391 _this.pTargetZ = pRenderer->pActiveZBuffer; 391 _this.pTargetZ = pRenderer->pActiveZBuffer;