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
580 B
26 lines
580 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "init_factory.h"
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include "tier0/memdbgon.h"
|
||
|
|
||
|
static factorylist_t s_factories;
|
||
|
|
||
|
// Store off the factories
|
||
|
void FactoryList_Store( const factorylist_t &sourceData )
|
||
|
{
|
||
|
s_factories = sourceData;
|
||
|
}
|
||
|
|
||
|
// retrieve the stored factories
|
||
|
void FactoryList_Retrieve( factorylist_t &destData )
|
||
|
{
|
||
|
destData = s_factories;
|
||
|
}
|