comparison Indoor.cpp @ 849:8fafe3645f36

* PID replaces * Actor::GetDirectionInfo cleaning
author zipi
date Sun, 31 Mar 2013 11:46:28 +0100
parents ceef50611567
children 8fc2f035abc0
comparison
equal deleted inserted replaced
848:ceef50611567 849:8fafe3645f36
3514 //v62 = -1; 3514 //v62 = -1;
3515 //LOBYTE(v8) = 8 * v1 | 1; 3515 //LOBYTE(v8) = 8 * v1 | 1;
3516 //v61 = 1; 3516 //v61 = 1;
3517 //v60 = 8 * i | OBJECT_BLVDoor; 3517 //v60 = 8 * i | OBJECT_BLVDoor;
3518 //v59 = eDoorSoundID; 3518 //v59 = eDoorSoundID;
3519 pAudioPlayer->PlaySound(eDoorSoundID, 8 * i | OBJECT_BLVDoor, 1, -1, 0, 0, 0, 0); 3519 pAudioPlayer->PlaySound(eDoorSoundID, PID(i,OBJECT_BLVDoor), 1, -1, 0, 0, 0, 0);
3520 //goto LABEL_18; 3520 //goto LABEL_18;
3521 } 3521 }
3522 LABEL_18: 3522 LABEL_18:
3523 //v11 = __OFSUB__(v2->uNumVertices, 0); 3523 //v11 = __OFSUB__(v2->uNumVertices, 0);
3524 //v9 = v2->uNumVertices == 0; 3524 //v9 = v2->uNumVertices == 0;
3997 stru_721530.uSectorID = v0->uSectorID; 3997 stru_721530.uSectorID = v0->uSectorID;
3998 if ( !stru_721530._47050A(v22) ) 3998 if ( !stru_721530._47050A(v22) )
3999 { 3999 {
4000 v58 = v22; 4000 v58 = v22;
4001 v24 = 8 * v63; 4001 v24 = 8 * v63;
4002 LOBYTE(v24) = 8 * v63 | 3; 4002 LOBYTE(v24) = PID(v63,OBJECT_Actor);
4003 v61 = v22; 4003 v61 = v22;
4004 _this = v24; 4004 _this = v24;
4005 do 4005 do
4006 { 4006 {
4007 _46E44E_collide_against_faces_and_portals(1u); 4007 _46E44E_collide_against_faces_and_portals(1u);