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.
50 lines
969 B
50 lines
969 B
//===== Copyright © 1996-2009, Valve Corporation, All rights reserved. ======//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//===========================================================================//
|
|
|
|
#include "mm_title.h"
|
|
#include "../mm_title_main.h"
|
|
|
|
#include "fmtstr.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
LINK_MATCHMAKING_LIB();
|
|
|
|
static CMatchTitle g_MatchTitle;
|
|
CMatchTitle *g_pMatchTitle = &g_MatchTitle;
|
|
|
|
IMatchTitle *g_pIMatchTitle = g_pMatchTitle;
|
|
IMatchEventsSink *g_pIMatchTitleEventsSink = g_pMatchTitle;
|
|
|
|
|
|
|
|
//
|
|
// Init / shutdown
|
|
//
|
|
|
|
InitReturnVal_t MM_Title_Init()
|
|
{
|
|
return g_pMatchTitle->Init();
|
|
}
|
|
|
|
void MM_Title_Shutdown()
|
|
{
|
|
if ( g_pMatchTitle )
|
|
g_pMatchTitle->Shutdown();
|
|
}
|
|
|
|
#if defined( _X360 ) && defined( _DEBUG )
|
|
CON_COMMAND( x_dbg_xgi, "Set X360 XGI debug output level" )
|
|
{
|
|
int iLevel = args.FindArgInt( "-level", -1 );
|
|
if ( iLevel >= 0 )
|
|
{
|
|
XDebugSetSystemOutputLevel( HXAMAPP_XGI, iLevel );
|
|
}
|
|
}
|
|
#endif
|
|
|