add hl1,portal,dod source code

This commit is contained in:
nillerusr
2022-04-16 12:05:19 +03:00
parent bc6873014e
commit 23a370d9bb
524 changed files with 174173 additions and 0 deletions
@@ -0,0 +1,45 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef DOD_HUD_PLAYERSTATUS_FIRESELECT_H
#define DOD_HUD_PLAYERSTATUS_FIRESELECT_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/EditablePanel.h>
#include "IconPanel.h"
using namespace vgui;
//-----------------------------------------------------------------------------
// Purpose: FireSelect panel
//-----------------------------------------------------------------------------
class CDoDHudFireSelect : public vgui::EditablePanel
{
DECLARE_CLASS_SIMPLE( CDoDHudFireSelect, vgui::EditablePanel );
public:
CDoDHudFireSelect( vgui::Panel *parent, const char *name );
virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
virtual void OnThink();
virtual void SetVisible( bool state );
private:
CDoDCutEditablePanel *m_pBackground;
CIconPanel *m_pIconMP44;
CIconPanel *m_pIconBAR;
CIconPanel *m_pBulletLeft;
CIconPanel *m_pBulletCenter;
CIconPanel *m_pBulletRight;
};
#endif // DOD_HUD_PLAYERSTATUS_FIRESELECT_H