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
813 B

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