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.

27 lines
838 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Provides names for GC message types for Portal
  4. //
  5. //=============================================================================
  6. #include "cbase.h"
  7. #ifdef USE_GC_IN_PORTAL1
  8. #include "gcsdk/gcsdk.h"
  9. #include "portal_gcmessages.h"
  10. //-----------------------------------------------------------------------------
  11. // Purpose: A big array of message types for keeping track of their names
  12. //-----------------------------------------------------------------------------
  13. GCSDK::MsgInfo_t g_MsgInfo[] =
  14. {
  15. DECLARE_GC_MSG( k_EMsgGCReportWarKill ),
  16. DECLARE_GC_MSG( k_EMsgGCDev_GrantWarKill ),
  17. };
  18. void InitGCPortalMessageTypes()
  19. {
  20. static GCSDK::CMessageListRegistration m_reg( g_MsgInfo, Q_ARRAYSIZE(g_MsgInfo) );
  21. }
  22. #endif //#ifdef USE_GC_IN_PORTAL1