diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-30 23:50:40 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-01 01:48:09 +0200 |
commit | ce28a6d298408513866716d00dcd16ed8ef5f285 (patch) | |
tree | 81e83f4689238683112b4776006262bfdbc88506 /src/entities/PedIK.cpp | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.gz re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.bz2 re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.lz re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.xz re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.zst re3-ce28a6d298408513866716d00dcd16ed8ef5f285.zip |
Diffstat (limited to 'src/entities/PedIK.cpp')
-rw-r--r-- | src/entities/PedIK.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/PedIK.cpp b/src/entities/PedIK.cpp index ebc17097..9d688ff9 100644 --- a/src/entities/PedIK.cpp +++ b/src/entities/PedIK.cpp @@ -6,6 +6,20 @@ WRAPPER bool CPedIK::PointGunInDirection(float phi, float theta) { EAXJMP(0x4ED9B0); } WRAPPER bool CPedIK::PointGunAtPosition(CVector *position) { EAXJMP(0x4ED920); } +CPedIK::CPedIK(CPed *ped) +{ + m_ped = ped; + m_flags = 0; + m_headOrient.phi = 0.0f; + m_headOrient.theta = 0.0f; + m_torsoOrient.phi = 0.0f; + m_torsoOrient.theta = 0.0f; + m_upperArmOrient.phi = 0.0f; + m_upperArmOrient.theta = 0.0f; + m_lowerArmOrient.phi = 0.0f; + m_lowerArmOrient.theta = 0.0f; +} + void CPedIK::GetComponentPosition(RwV3d *pos, PedNode node) { |