1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 10:30:00 +00:00
This commit is contained in:
Nikolay Korolev 2020-04-16 00:00:04 +03:00
parent 480573452e
commit e0394a1558

View file

@ -5,20 +5,20 @@ enum eWeaponType;
class CBulletInfo class CBulletInfo
{ {
eWeaponType m_eWeaponType; eWeaponType m_eWeaponType;
CEntity* m_pSource; CEntity* m_pSource;
float m_fTimer; // big mistake float m_fTimer; // big mistake
bool m_bInUse; bool m_bInUse;
CVector m_vecPosition; CVector m_vecPosition;
CVector m_vecSpeed; CVector m_vecSpeed;
int16 m_nDamage; int16 m_nDamage;
public: public:
enum { enum {
NUM_BULLETS = 100 NUM_BULLETS = 100
}; };
static void Initialise(void); static void Initialise(void);
static void Shutdown(void); static void Shutdown(void);
static bool AddBullet(CEntity* pSource, eWeaponType type, CVector vecPosition, CVector vecSpeed); static bool AddBullet(CEntity* pSource, eWeaponType type, CVector vecPosition, CVector vecSpeed);
static void Update(void); static void Update(void);
static bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2); static bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2);
}; };