diff options
Diffstat (limited to 'game/server/dod/rocket_bazooka.h')
| -rw-r--r-- | game/server/dod/rocket_bazooka.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/game/server/dod/rocket_bazooka.h b/game/server/dod/rocket_bazooka.h new file mode 100644 index 0000000..9671d5f --- /dev/null +++ b/game/server/dod/rocket_bazooka.h @@ -0,0 +1,36 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#ifndef ROCKET_BAZOOKA_H +#define ROCKET_BAZOOKA_H +#ifdef _WIN32 +#pragma once +#endif + +#define BAZOOKA_ROCKET_MODEL "models/weapons/w_bazooka_rocket.mdl" + +#include "dod_baserocket.h" + +class CBazookaRocket : public CDODBaseRocket +{ +public: + DECLARE_CLASS( CBazookaRocket, CDODBaseRocket ); + + CBazookaRocket() {} + + virtual void Spawn(); + virtual void Precache(); + + static CBazookaRocket *Create( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner ); + + virtual DODWeaponID GetEmitterWeaponID() { return WEAPON_BAZOOKA; } + +private: + CBazookaRocket( const CBazookaRocket & ); +}; + +#endif //ROCKET_BAZOOKA_H
\ No newline at end of file |