1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-14 22:23:13 +00:00
re3/src/weapons/BulletInfo.h
Nikolay Korolev b657a8e17c bullet info
2020-04-15 01:06:32 +03:00

24 lines
551 B
C++

#pragma once
#include "Weapon.h"
class CEntity;
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;
public:
enum {
NUM_BULLETS = 100
};
static void Initialise(void);
static void Shutdown(void);
static bool AddBullet(CEntity*, eWeaponType, CVector, CVector);
static void Update(void);
static bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2);
};