This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
11 additions
and
11 deletions.
-
+11
−11
src/weapons/BulletInfo.h
There are no files selected for viewing
|
|
@@ -5,20 +5,20 @@ enum eWeaponType; |
|
|
|
|
|
class CBulletInfo |
|
|
{ |
|
|
eWeaponType m_eWeaponType; |
|
|
CEntity* m_pSource; |
|
|
float m_fTimer; // big mistake |
|
|
bool m_bInUse; |
|
|
CVector m_vecPosition; |
|
|
CVector m_vecSpeed; |
|
|
int16 m_nDamage; |
|
|
eWeaponType m_eWeaponType; |
|
|
CEntity* m_pSource; |
|
|
float m_fTimer; // big mistake |
|
|
bool m_bInUse; |
|
|
CVector m_vecPosition; |
|
|
CVector m_vecSpeed; |
|
|
int16 m_nDamage; |
|
|
public: |
|
|
enum { |
|
|
NUM_BULLETS = 100 |
|
|
}; |
|
|
enum { |
|
|
NUM_BULLETS = 100 |
|
|
}; |
|
|
static void Initialise(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 bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2); |
|
|
};
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.