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.

39 lines
768 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 "fmtstr.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. LINK_MATCHMAKING_LIB();
  12. static CMatchTitle g_MatchTitle;
  13. CMatchTitle *g_pMatchTitle = &g_MatchTitle;
  14. IMatchTitle *g_pIMatchTitle = g_pMatchTitle;
  15. IMatchEventsSink *g_pIMatchTitleEventsSink = g_pMatchTitle;
  16. //
  17. // Init / shutdown
  18. //
  19. InitReturnVal_t MM_Title_Init()
  20. {
  21. return g_pMatchTitle->Init();
  22. }
  23. void MM_Title_Shutdown()
  24. {
  25. if ( g_pMatchTitle )
  26. g_pMatchTitle->Shutdown();
  27. }