summaryrefslogtreecommitdiff
path: root/game/client/tf/tf_hud_mann_vs_machine_loss.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/tf/tf_hud_mann_vs_machine_loss.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/tf_hud_mann_vs_machine_loss.h')
-rw-r--r--game/client/tf/tf_hud_mann_vs_machine_loss.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/game/client/tf/tf_hud_mann_vs_machine_loss.h b/game/client/tf/tf_hud_mann_vs_machine_loss.h
new file mode 100644
index 0000000..81d7ff5
--- /dev/null
+++ b/game/client/tf/tf_hud_mann_vs_machine_loss.h
@@ -0,0 +1,60 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef TF_HUD_MANN_VS_MACHINE_LOSS_H
+#define TF_HUD_MANN_VS_MACHINE_LOSS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "hudelement.h"
+#include "tf_controls.h"
+#include "hud.h"
+#include <vgui/IScheme.h>
+#include "tf_mann_vs_machine_stats.h"
+#include "c_tf_objective_resource.h"
+#include "tf_gamerules.h"
+#include "tf_tips.h"
+//=========================================================
+class CMvMWaveLossPanel : public vgui::EditablePanel
+{
+ DECLARE_CLASS_SIMPLE( CMvMWaveLossPanel, vgui::EditablePanel );
+
+public:
+ CMvMWaveLossPanel( Panel *parent, const char *pName );
+
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
+ virtual void FireGameEvent( IGameEvent *event );
+ virtual void OnTick( void );
+ virtual void OnCommand( const char *command );
+
+ void ShowPanel();
+
+private:
+
+ void SetCaptainCanteenImage( vgui::ImagePanel *panel, const char *pchImage, int nNewX );
+ void SetHintImage( vgui::ImagePanel *panel, int iClassUsed, bool bAllowCaptainCanteen );
+
+ void ClearContents();
+
+ CExImageButton * m_pVoteButton;
+ CExImageButton * m_pCloseButton;
+
+ vgui::EditablePanel *m_pHintContainer;
+ vgui::EditablePanel *m_pCollectionContainer;
+ vgui::EditablePanel *m_pUsageContainer;
+
+ vgui::ImagePanel *m_pCaptainCanteenBody;
+ vgui::ImagePanel *m_pCaptainCanteenMisc;
+ vgui::ImagePanel *m_pCaptainCanteenHat;
+
+ vgui::ImagePanel *m_pHintImage1;
+ vgui::ImagePanel *m_pHintImage2;
+};
+#endif // TF_HUD_MANN_VS_MACHINE_LOSS_H
+