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
+44
View File
@@ -0,0 +1,44 @@
#ifndef _INCLUDED_MEDAL_PANEL_H
#define _INCLUDED_MEDAL_PANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include <vgui_controls/Panel.h>
namespace vgui
{
class ImagePanel;
class Label;
class ImagePanel;
};
#define ASW_MESSAGE_INTERVAL 0.8f
#define ASW_LABEL_POOL_SIZE 16
// shows the ASI logo and scrolls ASI credits up the screen
class CreditsPanel : public vgui::Panel
{
DECLARE_CLASS_SIMPLE( CreditsPanel, vgui::Panel );
public:
CreditsPanel(vgui::Panel *parent, const char *name);
virtual ~CreditsPanel();
virtual void OnThink();
virtual void PerformLayout();
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
vgui::Label* m_LabelPool[ASW_LABEL_POOL_SIZE];
vgui::ImagePanel* m_pLogo;
CUtlVector<vgui::Label*> m_Scrolling;
CUtlVector<vgui::Label*> m_FadingOut;
KeyValues *pCreditsText;
KeyValues *pCurrentCredit;
float m_fNextMessage;
int m_iCurMessage;
vgui::HFont m_Font;
bool m_bShowCreditsLogo;
};
#endif // _INCLUDED_MEDAL_PANEL_H