diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /app/legion/mainmenu.cpp | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'app/legion/mainmenu.cpp')
| -rw-r--r-- | app/legion/mainmenu.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app/legion/mainmenu.cpp b/app/legion/mainmenu.cpp new file mode 100644 index 0000000..b60b4d6 --- /dev/null +++ b/app/legion/mainmenu.cpp @@ -0,0 +1,46 @@ +//========= 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() +{ +} + |