Mercurial > mm7
comparison Vis.cpp @ 849:8fafe3645f36
* PID replaces
* Actor::GetDirectionInfo cleaning
author | zipi |
---|---|
date | Sun, 31 Mar 2013 11:46:28 +0100 |
parents | ceef50611567 |
children | e4bd2a0bf08b |
comparison
equal
deleted
inserted
replaced
848:ceef50611567 | 849:8fafe3645f36 |
---|---|
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 *)((8 * pFaceID | 6) + v9); | 332 v15 = (void *)((PID(pFaceID,OBJECT_BModel)) + 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]; |