Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.3 KiB

//========= 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()
{
}