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.

44 lines
844 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef FX_DOD_SHARED_H
  7. #define FX_DOD_SHARED_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #ifdef CLIENT_DLL
  12. #include "c_dod_player.h"
  13. #else
  14. #include "dod_player.h"
  15. #endif
  16. #include "dod_weapon_parse.h"
  17. // This runs on both the client and the server.
  18. // On the server, it only does the damage calculations.
  19. // On the client, it does all the effects.
  20. void FX_FireBullets(
  21. int iPlayer,
  22. const Vector &vOrigin,
  23. const QAngle &vAngles,
  24. int iWeaponID,
  25. int iMode,
  26. int iSeed,
  27. float flSpread
  28. );
  29. #ifndef CLIENT_DLL
  30. void TE_DODExplosion( IRecipientFilter &filter, float flDelay, const Vector &vecOrigin, const Vector &vecNormal );
  31. #endif
  32. #endif // FX_DOD_SHARED_H