diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-22 13:36:22 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-22 13:36:22 +0100 |
commit | a312e1ff81df0f00f528f237d4014bd5b24dae12 (patch) | |
tree | 910dc04b4158a47cdd3b8f6512db84a17cd010f9 /src/control/Gangs.h | |
parent | fixes (diff) | |
parent | Merge pull request #329 from erorcun/erorcun (diff) | |
download | re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.gz re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.bz2 re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.lz re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.xz re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.zst re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.zip |
Diffstat (limited to 'src/control/Gangs.h')
-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: |