mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 04:34:07 +00:00
Phone start, ped spinning and cop car fix, and some love to CPed
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
69ee4acc97
commit
86681c6f18
7 changed files with 191 additions and 9 deletions
|
@ -1,6 +1,34 @@
|
|||
#pragma once
|
||||
|
||||
#include "Physical.h"
|
||||
#include "AnimBlendAssociation.h"
|
||||
|
||||
struct CPhone
|
||||
{
|
||||
CVector m_vecPos;
|
||||
uint16 *m_apMessages[6];
|
||||
int32 field_24;
|
||||
CEntity *m_pEntity;
|
||||
int32 m_nState;
|
||||
uint8 field_30;
|
||||
};
|
||||
|
||||
static_assert(sizeof(CPhone) == 0x34, "CPhone: error");
|
||||
|
||||
class CPhoneInfo {
|
||||
public:
|
||||
int32 m_nMax;
|
||||
int32 m_nNum;
|
||||
CPhone m_aPhones[50];
|
||||
|
||||
CPhoneInfo() { }
|
||||
~CPhoneInfo() { }
|
||||
|
||||
int FindNearestFreePhone(CVector*);
|
||||
bool PhoneAtThisPosition(CVector);
|
||||
};
|
||||
|
||||
extern CPhoneInfo &gPhoneInfo;
|
||||
|
||||
void PhonePutDownCB(CAnimBlendAssociation *assoc, void *arg);
|
||||
void PhonePickUpCB(CAnimBlendAssociation *assoc, void *arg);
|
Loading…
Add table
Add a link
Reference in a new issue