upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
@@ -0,0 +1,41 @@
#ifndef _INCLUDED_TECHMARINEFAILPANEL_H
#define _INCLUDED_TECHMARINEFAILPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include <vgui_controls/Panel.h>
namespace vgui
{
class Label;
class ImagePanel;
};
// this panel shows a message on screen about restarting the mission because all techs are dead
class TechMarineFailPanel : public vgui::Panel
{
DECLARE_CLASS_SIMPLE( TechMarineFailPanel, vgui::Panel );
public:
TechMarineFailPanel(vgui::Panel *parent, const char *name);
virtual ~TechMarineFailPanel();
virtual void OnThink();
virtual void PerformLayout();
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
vgui::Panel *m_pBackground;
vgui::Label *m_pFailedMessage;
vgui::Label *m_pReasonMessage;
vgui::ImagePanel *m_pIcon;
bool m_bLeader;
vgui::HFont m_hFont;
static void ShowTechFailPanel();
static int s_iTechPanels;
static TechMarineFailPanel *s_pTechPanel;
};
#endif // _INCLUDED_TECHMARINEFAILPANEL_H