2022-05-03 12:57:36 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Bullet : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Bullet();
|
|
|
|
|
|
|
|
private:
|
|
|
|
static Dvar::Var BGSurfacePenetration;
|
|
|
|
// Can't use Var class inside assembly stubs
|
|
|
|
static Game::dvar_t* BGBulletRange;
|
|
|
|
|
|
|
|
static float BG_GetSurfacePenetrationDepthStub(const Game::WeaponDef* weapDef, int surfaceType);
|
|
|
|
|
|
|
|
static void Bullet_FireStub();
|
2022-11-10 11:35:57 -05:00
|
|
|
|
|
|
|
static void BG_srand_Hk(unsigned int* pHoldrand);
|
2022-05-03 12:57:36 -04:00
|
|
|
};
|
|
|
|
}
|