summaryrefslogtreecommitdiff
path: root/game/client/dod/dod_hud_playerstatus_tnt.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/dod/dod_hud_playerstatus_tnt.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/dod/dod_hud_playerstatus_tnt.h')
-rw-r--r--game/client/dod/dod_hud_playerstatus_tnt.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/game/client/dod/dod_hud_playerstatus_tnt.h b/game/client/dod/dod_hud_playerstatus_tnt.h
new file mode 100644
index 0000000..3d190a1
--- /dev/null
+++ b/game/client/dod/dod_hud_playerstatus_tnt.h
@@ -0,0 +1,49 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef DOD_HUD_PLAYERSTATUS_TNT_H
+#define DOD_HUD_PLAYERSTATUS_TNT_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "dodcornercutpanel.h"
+#include "IconPanel.h"
+
+using namespace vgui;
+
+//-----------------------------------------------------------------------------
+// Purpose: FireSelect panel
+//-----------------------------------------------------------------------------
+class CDoDHudTNT : public CDoDCutEditablePanel
+{
+ DECLARE_CLASS_SIMPLE( CDoDHudTNT, CDoDCutEditablePanel );
+
+public:
+ CDoDHudTNT( vgui::Panel *parent, const char *name );
+
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
+ virtual void ApplySettings( KeyValues *inResourceData );
+ virtual void OnThink();
+ virtual void SetVisible( bool state );
+
+private:
+
+ CIconPanel *m_pIconTNT;
+ CIconPanel *m_pIconTNT_Missing;
+
+ bool m_bHasTNT;
+
+ int m_iIconX;
+ int m_iIconY;
+ int m_iIconW;
+ int m_iIconH;
+
+ CPanelAnimationVar( float, m_flIconAlpha, "icon_alpha", "255" );
+};
+
+#endif // DOD_HUD_PLAYERSTATUS_TNT_H \ No newline at end of file