diff options
author | erorcun <erayorcunus@gmail.com> | 2020-02-19 19:16:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 19:16:50 +0100 |
commit | 1610d325dcea7f3626099cbc43d0bce344ee477e (patch) | |
tree | 5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/control | |
parent | Merge pull request #328 from erorcun/erorcun (diff) | |
parent | CPopulation 2 (diff) | |
download | re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.gz re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.bz2 re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.lz re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.xz re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.zst re3-1610d325dcea7f3626099cbc43d0bce344ee477e.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Gangs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/control/Gangs.h b/src/control/Gangs.h index dd24ddcb..93ebe663 100644 --- a/src/control/Gangs.h +++ b/src/control/Gangs.h @@ -34,12 +34,15 @@ class CGangs public: static void Initialize(void); static void SetGangVehicleModel(int16, int32); - static int32 GetGangVehicleModel(int16 gang) { return Gang[gang].m_nVehicleMI; } static void SetGangWeapons(int16, eWeaponType, eWeaponType); static void SetGangPedModelOverride(int16, int8); static int8 GetGangPedModelOverride(int16); static void SaveAllGangData(uint8 *, uint32 *); static void LoadAllGangData(uint8 *, uint32); + + static int32 GetGangVehicleModel(int16 gang) { return Gang[gang].m_nVehicleMI; } + static eWeaponType GetGangWeapon1(int16 gang) { return Gang[gang].m_Weapon1; } + static eWeaponType GetGangWeapon2(int16 gang) { return Gang[gang].m_Weapon2; } static CGangInfo* GetGangInfo(int16 gang) { return &Gang[gang]; } private: |