mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 19:29:51 +00:00
Shotgun fix, CPed, CWeaponInfo
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
@ -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");
|
Reference in New Issue
Block a user