mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: List of game systems to update
|
|
//
|
|
// $Revision: $
|
|
// $NoKeywords: $
|
|
//===========================================================================//
|
|
|
|
#include "menumanager.h"
|
|
#include "basemenu.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Constructor, destructor
|
|
//-----------------------------------------------------------------------------
|
|
class CMainMenu : public CBaseMenu
|
|
{
|
|
DECLARE_CLASS_SIMPLE( CMainMenu, CBaseMenu );
|
|
|
|
public:
|
|
CMainMenu( vgui::Panel *pParent, const char *pPanelName );
|
|
virtual ~CMainMenu();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Hooks the menu into the menu manager
|
|
//-----------------------------------------------------------------------------
|
|
REGISTER_MENU( "MainMenu", CMainMenu );
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Constructor, destructor
|
|
//-----------------------------------------------------------------------------
|
|
CMainMenu::CMainMenu( vgui::Panel *pParent, const char *pPanelName ) :
|
|
BaseClass( pParent, pPanelName )
|
|
{
|
|
LoadControlSettings( "resource/mainmenu.res", "GAME" );
|
|
}
|
|
|
|
CMainMenu::~CMainMenu()
|
|
{
|
|
}
|
|
|