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,43 @@
#ifndef _INCLUDED_OBJECTIVE_DETAILS_PANEL_H
#define _INCLUDED_OBJECTIVE_DETAILS_PANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include <vgui_controls/Panel.h>
#include <vgui/IImage.h>
class C_ASW_Player;
class Label;
class ImagePanel;
class C_ASW_Objective;
class ObjectiveTitlePanel;
// this panel shows the text description for the currently selected objective
// used during briefing on the mission tab
class ObjectiveDetailsPanel : public vgui::Panel
{
DECLARE_CLASS_SIMPLE( ObjectiveDetailsPanel, vgui::Panel );
public:
ObjectiveDetailsPanel(Panel *parent, const char *name);
virtual ~ObjectiveDetailsPanel();
virtual void OnThink();
void UpdateText();
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
void SetObjective(C_ASW_Objective* pObjective);
virtual void PerformLayout();
int GetTextWidth();
C_ASW_Objective* m_pObjective;
C_ASW_Objective* m_pQueuedObjective;
vgui::PanelListPanel *m_pListPanel;
vgui::Panel* m_pDescriptionContainer;
vgui::Label* m_pDescription[4];
int m_iTotalTextTall;
};
#endif // _INCLUDED_OBJECTIVE_DETAILS_PANEL_H