Counter Strike : Global Offensive Source Code
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.

43 lines
803 B

  1. //===== Copyright � 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #include "mm_title.h"
  7. #include "../mm_title_main.h"
  8. #include "matchext_swarm.h"
  9. #include "fmtstr.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include "tier0/memdbgon.h"
  12. LINK_MATCHMAKING_LIB();
  13. static CMatchTitle g_MatchTitle;
  14. CMatchTitle *g_pMatchTitle = &g_MatchTitle;
  15. IMatchTitle *g_pIMatchTitle = g_pMatchTitle;
  16. IMatchEventsSink *g_pIMatchTitleEventsSink = g_pMatchTitle;
  17. //
  18. // Init / shutdown
  19. //
  20. InitReturnVal_t MM_Title_Init()
  21. {
  22. return g_pMatchTitle->Init();
  23. }
  24. void MM_Title_Shutdown()
  25. {
  26. if ( g_pMatchTitle )
  27. g_pMatchTitle->Shutdown();
  28. }