diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-09 22:38:05 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-09 22:38:05 +0200 |
commit | 11ae1b06ae658db4be9675dcad4da30493ff0bbc (patch) | |
tree | d0ef4ee79063e51b459bb19d669abec8926963de /src/peds | |
parent | Merge pull request #122 from Nick007J/master (diff) | |
download | re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar.gz re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar.bz2 re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar.lz re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar.xz re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.tar.zst re3-11ae1b06ae658db4be9675dcad4da30493ff0bbc.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/PlayerPed.cpp | 3 | ||||
-rw-r--r-- | src/peds/PlayerPed.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 07cb5541..9005e29f 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -10,6 +10,9 @@ CPlayerPed::~CPlayerPed() } WRAPPER void CPlayerPed::ReApplyMoveAnims(void) { EAXJMP(0x4F07C0); } +WRAPPER void CPlayerPed::SetupPlayerPed(int32) { EAXJMP(0x4EFB60); } +WRAPPER void CPlayerPed::DeactivatePlayerPed(int32) { EAXJMP(0x4EFC00); } +WRAPPER void CPlayerPed::ReactivatePlayerPed(int32) { EAXJMP(0x4EFC20); } void CPlayerPed::ClearWeaponTarget() { diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h index 1a106b38..25bbdf4a 100644 --- a/src/peds/PlayerPed.h +++ b/src/peds/PlayerPed.h @@ -43,6 +43,10 @@ public: void ReApplyMoveAnims(void); void ClearWeaponTarget(); + + static void SetupPlayerPed(int32); + static void DeactivatePlayerPed(int32); + static void ReactivatePlayerPed(int32); }; static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error"); |