Counter Strike : Global Offensive Source Code
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.

25 lines
593 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "init_factory.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. static factorylist_t s_factories;
  11. // Store off the factories
  12. void FactoryList_Store( const factorylist_t &sourceData )
  13. {
  14. s_factories = sourceData;
  15. }
  16. // retrieve the stored factories
  17. void FactoryList_Retrieve( factorylist_t &destData )
  18. {
  19. destData = s_factories;
  20. }