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.

37 lines
867 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef SDK_WEAPON_PARSE_H
  7. #define SDK_WEAPON_PARSE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "weapon_parse.h"
  12. #include "networkvar.h"
  13. //--------------------------------------------------------------------------------------------------------
  14. class CSDKWeaponInfo : public FileWeaponInfo_t
  15. {
  16. public:
  17. DECLARE_CLASS_GAMEROOT( CSDKWeaponInfo, FileWeaponInfo_t );
  18. CSDKWeaponInfo();
  19. virtual void Parse( ::KeyValues *pKeyValuesData, const char *szWeaponName );
  20. char m_szAnimExtension[16]; // string used to generate player animations with this weapon
  21. // Parameters for FX_FireBullets:
  22. int m_iDamage;
  23. int m_iBullets;
  24. float m_flCycleTime;
  25. };
  26. #endif // SDK_WEAPON_PARSE_H