comparison Render.cpp @ 862:f4394e320312

* PID mistake fixed * Actor::GetDirectionInfo mistake fixed
author zipi
date Sun, 31 Mar 2013 13:20:58 +0100
parents 8fc2f035abc0
children 2db21a810d48
comparison
equal deleted inserted replaced
861:fea81e031484 862:f4394e320312
3181 v3->uScreenSpaceX = v35; 3181 v3->uScreenSpaceX = v35;
3182 v3->uScreenSpaceY = v32; 3182 v3->uScreenSpaceY = v32;
3183 HIWORD(v26) = HIWORD(v42); 3183 HIWORD(v26) = HIWORD(v42);
3184 LOWORD(v26) = 0; 3184 LOWORD(v26) = 0;
3185 v27 = (object->uAttributes & 0x20) == 0; 3185 v27 = (object->uAttributes & 0x20) == 0;
3186 v3->sZValue = v26 + (PID(i,OBJECT_Item)); 3186 v3->sZValue = v26 + (PID(OBJECT_Item,i));
3187 v3->dimming_level = 0; 3187 v3->dimming_level = 0;
3188 v3->uTintColor = 0; 3188 v3->uTintColor = 0;
3189 if ( !v27 ) 3189 if ( !v27 )
3190 { 3190 {
3191 if ( !pRenderer->pRenderD3D ) 3191 if ( !pRenderer->pRenderD3D )
3681 v27->world_x = decor->vPosition.x; 3681 v27->world_x = decor->vPosition.x;
3682 v27->world_y = decor->vPosition.y; 3682 v27->world_y = decor->vPosition.y;
3683 v27->world_z = decor->vPosition.z; 3683 v27->world_z = decor->vPosition.z;
3684 v27->uScreenSpaceY = v40; 3684 v27->uScreenSpaceY = v40;
3685 HIWORD(v30) = HIWORD(v39); 3685 HIWORD(v30) = HIWORD(v39);
3686 v31 = PID(i,OBJECT_Decoration); 3686 v31 = PID(OBJECT_Decoration,i);
3687 LOWORD(v30) = 0; 3687 LOWORD(v30) = 0;
3688 v27->uIndoorSectorID = 0; 3688 v27->uIndoorSectorID = 0;
3689 v27->sZValue = v30 + v31; 3689 v27->sZValue = v30 + v31;
3690 v27->dimming_level = 0; 3690 v27->dimming_level = 0;
3691 v27->pSpriteFrame = v8; 3691 v27->pSpriteFrame = v8;