Mercurial > mm7
comparison Vis.cpp @ 862:f4394e320312
* PID mistake fixed
* Actor::GetDirectionInfo mistake fixed
author | zipi |
---|---|
date | Sun, 31 Mar 2013 13:20:58 +0100 |
parents | e4bd2a0bf08b |
children | 897b10712a1a |
comparison
equal
deleted
inserted
replaced
861:fea81e031484 | 862:f4394e320312 |
---|---|
327 if ( Intersect_Ray_Face(pRay, pRay + 1, &fDepth, &a1, &pIndoor->pFaces[pFaceID], 0xFFFFFFFFu) ) | 327 if ( Intersect_Ray_Face(pRay, pRay + 1, &fDepth, &a1, &pIndoor->pFaces[pFaceID], 0xFFFFFFFFu) ) |
328 { | 328 { |
329 pGame->pIndoorCameraD3D->ViewTransform(&a1, 1); | 329 pGame->pIndoorCameraD3D->ViewTransform(&a1, 1); |
330 v9 = _48B561_mess_with_scaling_along_z(/*v8, */a1.vWorldViewPosition.x); | 330 v9 = _48B561_mess_with_scaling_along_z(/*v8, */a1.vWorldViewPosition.x); |
331 LOWORD(v9) = 0; | 331 LOWORD(v9) = 0; |
332 v15 = (void *)((PID(pFaceID,OBJECT_BModel)) + v9); | 332 v15 = (void *)((PID(OBJECT_BModel,pFaceID)) + v9); |
333 pNumPointers = &list->uNumPointers; | 333 pNumPointers = &list->uNumPointers; |
334 //v16 = 2; | 334 //v16 = 2; |
335 //v11 = list->uNumPointers; | 335 //v11 = list->uNumPointers; |
336 pFace = &pIndoor->pFaces[pFaceID]; | 336 pFace = &pIndoor->pFaces[pFaceID]; |
337 v12 = &list->object_pool[list->uNumPointers]; | 337 v12 = &list->object_pool[list->uNumPointers]; |