bit more CAutomobile
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include "Entity.h"
|
||||
|
||||
enum eWeaponType
|
||||
{
|
||||
@@ -46,6 +45,9 @@ enum eWeaponState
|
||||
WEAPONSTATE_MELEE_MADECONTACT
|
||||
};
|
||||
|
||||
class CEntity;
|
||||
class CAutomobile;
|
||||
|
||||
class CWeapon
|
||||
{
|
||||
public:
|
||||
@@ -61,8 +63,10 @@ public:
|
||||
}
|
||||
|
||||
void Initialise(eWeaponType type, int ammo);
|
||||
void Update(int32 audioEntity);
|
||||
void Reload(void);
|
||||
bool Fire(CEntity*, CVector*);
|
||||
void FireFromCar(CAutomobile *car, bool left);
|
||||
void AddGunshell(CEntity*, CVector const&, CVector2D const&, float);
|
||||
bool IsTypeMelee(void);
|
||||
bool IsType2Handed(void);
|
||||
|
||||
Reference in New Issue
Block a user