mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-14 19:00:33 +00:00
Shotgun fix, CPed, CWeaponInfo
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
817f8b0e3f
commit
0a7120b622
5 changed files with 361 additions and 29 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "AnimManager.h"
|
||||
|
||||
class CWeaponInfo {
|
||||
// static CWeaponInfo(&ms_apWeaponInfos)[14];
|
||||
static CWeaponInfo ms_apWeaponInfos[14];
|
||||
public:
|
||||
eWeaponFire m_eWeaponFire;
|
||||
float m_fRange;
|
||||
|
@ -37,9 +39,12 @@ public:
|
|||
uint8 m_bThrow : 1;
|
||||
uint8 stuff;
|
||||
|
||||
static CWeaponInfo (&ms_apWeaponInfos)[14];
|
||||
|
||||
static void Initialise(void);
|
||||
static void LoadWeaponData(void);
|
||||
static CWeaponInfo *GetWeaponInfo(eWeaponType weaponType);
|
||||
static eWeaponFire FindWeaponFireType(char *name);
|
||||
static eWeaponType FindWeaponType(char *name);
|
||||
static void Shutdown(void);
|
||||
};
|
||||
|
||||
static_assert(sizeof(CWeaponInfo) == 0x54, "CWeaponInfo: error");
|
Loading…
Add table
Add a link
Reference in a new issue