mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-05 22:50:00 +00:00
script 800-899
This commit is contained in:
parent
42ff0f7c58
commit
0723dade76
24 changed files with 1329 additions and 132 deletions
|
@ -340,7 +340,7 @@ public:
|
|||
|
||||
uint8 bWanderPathAfterExitingCar : 1;
|
||||
uint8 bIsLeader : 1;
|
||||
uint8 bDontDragMeOutCar : 1;
|
||||
uint8 bDontDragMeOutCar : 1; // unfinished feature
|
||||
uint8 m_ped_flagF8 : 1;
|
||||
uint8 bWillBeQuickJacked : 1;
|
||||
uint8 bCancelEnteringCar : 1; // after door is opened or couldn't be opened due to it's locked
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "World.h"
|
||||
#include "RpAnimBlend.h"
|
||||
#include "General.h"
|
||||
#include "Pools.h"
|
||||
|
||||
CPlayerPed::~CPlayerPed()
|
||||
{
|
||||
|
@ -73,6 +74,17 @@ CPlayerPed::SetWantedLevelNoDrop(int32 level)
|
|||
m_pWanted->SetWantedLevelNoDrop(level);
|
||||
}
|
||||
|
||||
void
|
||||
CPlayerPed::MakeObjectTargettable(int32 handle)
|
||||
{
|
||||
for (int i = 0; i < ARRAY_SIZE(m_nTargettableObjects); i++) {
|
||||
if (CPools::GetObjectPool()->GetAt(m_nTargettableObjects[i]) == nil) {
|
||||
m_nTargettableObjects[i] = handle;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// I don't know the actual purpose of parameter
|
||||
void
|
||||
CPlayerPed::AnnoyPlayerPed(bool annoyedByPassingEntity)
|
||||
|
|
|
@ -56,6 +56,7 @@ public:
|
|||
void UseSprintEnergy(void);
|
||||
class CPlayerInfo *GetPlayerInfoForThisPlayerPed();
|
||||
void SetRealMoveAnim(void);
|
||||
void MakeObjectTargettable(int32);
|
||||
|
||||
static void SetupPlayerPed(int32);
|
||||
static void DeactivatePlayerPed(int32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue