summaryrefslogtreecommitdiff
path: root/game/shared/portal/portal_gcmessages.cpp
blob: f45b65be70fa6d7662a903843e45dae10c062bb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Provides names for GC message types for Portal
//
//=============================================================================

#include "cbase.h"

#ifdef USE_GC_IN_PORTAL1
#include "gcsdk/gcsdk.h"
#include "portal_gcmessages.h"

//-----------------------------------------------------------------------------
// Purpose: A big array of message types for keeping track of their names
//-----------------------------------------------------------------------------
GCSDK::MsgInfo_t g_MsgInfo[] =
{
	DECLARE_GC_MSG( k_EMsgGCReportWarKill ),

	DECLARE_GC_MSG( k_EMsgGCDev_GrantWarKill ),
};

void InitGCPortalMessageTypes()
{
	static GCSDK::CMessageListRegistration m_reg( g_MsgInfo, Q_ARRAYSIZE(g_MsgInfo) );
}

#endif //#ifdef USE_GC_IN_PORTAL1