mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-06 18:12:14 +00:00
Map selector reinstated
This commit is contained in:
parent
d2c3dd9bef
commit
860e8afe63
5 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
|||
#include "filesystem.h"
|
||||
#include "matsys_controls/matsyscontrols.h"
|
||||
|
||||
//Momentum
|
||||
#include "momentum/ui/MapSelection/IMapSelector.h"
|
||||
|
||||
#ifdef SIXENSE
|
||||
#include "sixense/in_sixense.h"
|
||||
#endif
|
||||
|
@ -195,6 +198,7 @@ bool VGui_Startup( CreateInterfaceFn appSystemFactory )
|
|||
//-----------------------------------------------------------------------------
|
||||
void VGui_CreateGlobalPanels( void )
|
||||
{
|
||||
VPANEL gameMenu = enginevgui->GetPanel(PANEL_GAMEUIDLL);
|
||||
VPANEL gameToolParent = enginevgui->GetPanel( PANEL_CLIENTDLL_TOOLS );
|
||||
VPANEL toolParent = enginevgui->GetPanel( PANEL_TOOLS );
|
||||
#if defined( TRACK_BLOCKING_IO )
|
||||
|
@ -220,6 +224,9 @@ void VGui_CreateGlobalPanels( void )
|
|||
#ifdef SIXENSE
|
||||
g_pSixenseInput->CreateGUI( gameToolParent );
|
||||
#endif
|
||||
|
||||
//Momentum
|
||||
mapselector->Create(gameMenu);
|
||||
}
|
||||
|
||||
void VGui_Shutdown()
|
||||
|
@ -241,6 +248,9 @@ void VGui_Shutdown()
|
|||
loadingdisc->Destroy();
|
||||
internalCenterPrint->Destroy();
|
||||
|
||||
//Momentum
|
||||
mapselector->Destroy();
|
||||
|
||||
if ( g_pClientMode )
|
||||
{
|
||||
g_pClientMode->VGui_Shutdown();
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue