mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 11:40:32 +00:00
finished script and replay
This commit is contained in:
parent
45c09224f7
commit
5edd9e75da
6 changed files with 33 additions and 13 deletions
|
@ -21440,3 +21440,17 @@ CPed::SetLook(float direction)
|
|||
SetLookFlag(direction, false);
|
||||
}
|
||||
}
|
||||
|
||||
// --MIAMI: Done
|
||||
// Unused
|
||||
void CPed::PedSetGetInCarPositionCB(CAnimBlendAssociation* assoc, void* arg)
|
||||
{
|
||||
CPed* pPed = (CPed*)arg;
|
||||
CMatrix mat(pPed->GetMatrix());
|
||||
CVehicle* pVehicle = pPed->m_pMyVehicle;
|
||||
const CVector& offset = (pVehicle->bIsVan && (pPed->m_vehEnterType == CAR_DOOR_RR || pPed->m_vehEnterType == CAR_DOOR_LR)) ? vecPedVanRearDoorAnimOffset : vecPedCarDoorAnimOffset;
|
||||
CVector position = Multiply3x3(mat, offset) + pPed->GetPosition();
|
||||
CPedPlacement::FindZCoorForPed(&position);
|
||||
pPed->SetMoveSpeed(0.0f, 0.0f, 0.0f);
|
||||
pPed->SetPosition(position);
|
||||
}
|
||||
|
|
|
@ -911,6 +911,7 @@ public:
|
|||
static void DeleteSunbatheIdleAnimCB(CAnimBlendAssociation *assoc, void *arg);
|
||||
static void PedSetPreviousStateCB(CAnimBlendAssociation *assoc, void *arg);
|
||||
static void PedAnimShuffleCB(CAnimBlendAssociation *assoc, void *arg);
|
||||
static void PedSetGetInCarPositionCB(CAnimBlendAssociation* assoc, void* arg);
|
||||
|
||||
bool IsPlayer(void);
|
||||
bool IsFemale(void) { return m_nPedType == PEDTYPE_CIVFEMALE || m_nPedType == PEDTYPE_PROSTITUTE; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue