Team Fortress 2 Source Code as on 22/4/2020
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.

26 lines
538 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Holds a pointer to the GC's host's interface
  4. //
  5. //=============================================================================
  6. #include "stdafx.h"
  7. // memdbgon must be the last include file in a .cpp file!!!
  8. #include "tier0/memdbgon.h"
  9. namespace GCSDK
  10. {
  11. IGameCoordinatorHost *g_pGCHost = NULL;
  12. IGameCoordinatorHost *GGCHost()
  13. {
  14. return g_pGCHost;
  15. }
  16. void SetGCHost( IGameCoordinatorHost *pHost )
  17. {
  18. g_pGCHost = pHost;
  19. }
  20. } // namespace GCSDK