Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
816 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef ROCKET_BAZOOKA_H
  9. #define ROCKET_BAZOOKA_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #define BAZOOKA_ROCKET_MODEL "models/weapons/w_bazooka_rocket.mdl"
  14. #include "dod_baserocket.h"
  15. class CBazookaRocket : public CDODBaseRocket
  16. {
  17. public:
  18. DECLARE_CLASS( CBazookaRocket, CDODBaseRocket );
  19. CBazookaRocket() {}
  20. virtual void Spawn();
  21. virtual void Precache();
  22. static CBazookaRocket *Create( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner );
  23. virtual DODWeaponID GetEmitterWeaponID() { return WEAPON_BAZOOKA; }
  24. private:
  25. CBazookaRocket( const CBazookaRocket & );
  26. };
  27. #endif //ROCKET_BAZOOKA_H