Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
vs botch
  • Loading branch information
Nick007J committed Apr 15, 2020
1 parent 4805734 commit e0394a1558f5245fb2fda68d85cd30aa07de2576
Showing with 11 additions and 11 deletions.
  1. +11 −11 src/weapons/BulletInfo.h
@@ -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);
};

0 comments on commit e0394a1

Please sign in to comment.