summaryrefslogtreecommitdiff
path: root/game/client/dod/dod_hud_playerstatus_tnt.h
diff options
context:
space:
mode:
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