diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-04 22:31:21 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-07-04 22:33:19 +0200 |
commit | 9fed0c040c482bac8cba688e7564c8e8dfe23b30 (patch) | |
tree | 6098d16b702a3a057cd0bbd39bf3ece217c832c8 /src/Wanted.h | |
parent | Merge pull request #110 from erorcun/erorcun (diff) | |
download | re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar.gz re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar.bz2 re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar.lz re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar.xz re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.tar.zst re3-9fed0c040c482bac8cba688e7564c8e8dfe23b30.zip |
Diffstat (limited to 'src/Wanted.h')
-rw-r--r-- | src/Wanted.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Wanted.h b/src/Wanted.h index aafa9ac0..d14bb905 100644 --- a/src/Wanted.h +++ b/src/Wanted.h @@ -20,11 +20,11 @@ public: int32 m_nLastUpdateTime; int32 m_nLastWantedLevelChange; float m_fCrimeSensitivity; - uint8 m_bCurrentCops; - uint8 m_bMaxCops; - uint8 m_bMaximumLawEnforcerVehicles; + uint8 m_CurrentCops; + uint8 m_MaxCops; + uint8 m_MaximumLawEnforcerVehicles; int8 field_19; - int16 m_wRoadblockDensity; + int16 m_RoadblockDensity; uint8 m_IsIgnoredByCops : 1; uint8 m_IsIgnoredByEveryOne : 1; uint8 m_IsSwatRequired : 1; @@ -34,12 +34,16 @@ public: int32 m_nWantedLevel; CCrime m_sCrimes[16]; CCopPed *m_pCops[10]; + static int32 &MaximumWantedLevel; public: bool AreSwatRequired(); bool AreFbiRequired(); bool AreArmyRequired(); int NumOfHelisRequired(); + void SetWantedLevel(int32); + void ClearQdCrimes(); + void UpdateWantedLevel(); }; static_assert(sizeof(CWanted) == 0x204, "CWanted: error"); |