summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 23:00:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-15 23:00:04 +0200
commite0394a1558f5245fb2fda68d85cd30aa07de2576 (patch)
treedcd73b18033e44365203de8f4f886471af482920 /src/weapons
parentdefinition fix (diff)
downloadre3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar.gz
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar.bz2
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar.lz
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar.xz
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.tar.zst
re3-e0394a1558f5245fb2fda68d85cd30aa07de2576.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/BulletInfo.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/weapons/BulletInfo.h b/src/weapons/BulletInfo.h
index ae773b04..c7d740b2 100644
--- a/src/weapons/BulletInfo.h
+++ b/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);
}; \ No newline at end of file