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/portal/weapon_portalgun_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/portal/weapon_portalgun_shared.h')
| -rw-r--r-- | game/shared/portal/weapon_portalgun_shared.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/game/shared/portal/weapon_portalgun_shared.h b/game/shared/portal/weapon_portalgun_shared.h new file mode 100644 index 0000000..88ee0af --- /dev/null +++ b/game/shared/portal/weapon_portalgun_shared.h @@ -0,0 +1,42 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef WEAPON_PORTALGUN_SHARED_H +#define WEAPON_PORTALGUN_SHARED_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "cbase.h" + +#ifdef CLIENT_DLL +#include "c_weapon_portalgun.h" +#else +#include "weapon_portalgun.h" +#endif + +#define PORTALGUN_BEAM_SPRITE "sprites/grav_beam.vmt" +#define PORTALGUN_BEAM_SPRITE_NOZ "sprites/grav_beam_noz.vmt" +#define PORTALGUN_GLOW_SPRITE "sprites/glow04_noz" +#define PORTALGUN_ENDCAP_SPRITE "sprites/grav_flare" +#define PORTALGUN_GRAV_ACTIVE_GLOW "sprites/grav_light" +#define PORTALGUN_PORTAL1_FIRED_LAST_GLOW "sprites/bluelight" +#define PORTALGUN_PORTAL2_FIRED_LAST_GLOW "sprites/orangelight" +#define PORTALGUN_PORTAL_MUZZLE_GLOW_SPRITE "sprites/portalgun_effects" +#define PORTALGUN_PORTAL_TUBE_BEAM_SPRITE "sprites/portalgun_effects" + +enum +{ + EFFECT_NONE, + EFFECT_READY, + EFFECT_HOLDING, +}; + +extern ConVar sk_auto_reload_time; + +#endif // WEAPON_PORTALGUN_SHARED_H |