diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/dod/fx_dod_shared.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/shared/dod/fx_dod_shared.h')
| -rw-r--r-- | game/shared/dod/fx_dod_shared.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/game/shared/dod/fx_dod_shared.h b/game/shared/dod/fx_dod_shared.h new file mode 100644 index 0000000..2d74124 --- /dev/null +++ b/game/shared/dod/fx_dod_shared.h @@ -0,0 +1,44 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef FX_DOD_SHARED_H +#define FX_DOD_SHARED_H +#ifdef _WIN32 +#pragma once +#endif + + +#ifdef CLIENT_DLL + #include "c_dod_player.h" +#else + #include "dod_player.h" +#endif + +#include "dod_weapon_parse.h" + + +// This runs on both the client and the server. +// On the server, it only does the damage calculations. +// On the client, it does all the effects. +void FX_FireBullets( + int iPlayer, + const Vector &vOrigin, + const QAngle &vAngles, + int iWeaponID, + int iMode, + int iSeed, + float flSpread + ); + + +#ifndef CLIENT_DLL + + void TE_DODExplosion( IRecipientFilter &filter, float flDelay, const Vector &vecOrigin, const Vector &vecNormal ); + +#endif + + +#endif // FX_DOD_SHARED_H |