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
+37
View File
@@ -0,0 +1,37 @@
#ifndef _INCLUDED_OBJECTIVE_ICONS_H
#define _INCLUDED_OBJECTIVE_ICONS_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include <vgui_controls/Panel.h>
#include <vgui_controls/ImagePanel.h>
class C_ASW_Objective;
// responsible for the small icons that flash up next to the map relevant to each objective
class ObjectiveIcons: public vgui::Panel
{
DECLARE_CLASS_SIMPLE( ObjectiveIcons, vgui::Panel );
public:
ObjectiveIcons(Panel *parent, const char *name);
virtual ~ObjectiveIcons();
void FadeOut();
void SetObjective(C_ASW_Objective *pObjective);
virtual void PerformLayout();
virtual void OnThink();
//virtual void Paint();
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
vgui::ImagePanel* m_pIcon[5];
bool m_bHaveQueued;
int m_iNumFading;
C_ASW_Objective* m_pObjective;
C_ASW_Objective* m_pQueuedObjective;
};
#endif // _INCLUDED_OBJECTIVE_ICONS_H