summaryrefslogtreecommitdiff
path: root/engine/networkstringtableclient.cpp
blob: 2d726c8ec98be8154baa8f3fe47ddfa837923738 (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
29
30
31
32
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//
#include "quakedef.h"
#include "networkstringtable.h"
#include "client.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"

#ifndef SHARED_NET_STRING_TABLES
 	static CNetworkStringTableContainer s_NetworkStringTableClient;
	CNetworkStringTableContainer *networkStringTableContainerClient = &s_NetworkStringTableClient;

	// Expose to client .dll
	EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CNetworkStringTableContainer, INetworkStringTableContainer, INTERFACENAME_NETWORKSTRINGTABLECLIENT, s_NetworkStringTableClient );
#endif

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
void CL_PrintStringTables( void )
{
	if ( cl.m_StringTableContainer )
	{
		cl.m_StringTableContainer->Dump();
	}
}