mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Added original SDK code for Alien Swarm.
This commit is contained in:
25
game/client/client_factorylist.cpp
Normal file
25
game/client/client_factorylist.cpp
Normal file
@ -0,0 +1,25 @@
|
||||
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
#include "cbase.h"
|
||||
#include "client_factorylist.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;
|
||||
}
|
Reference in New Issue
Block a user