mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
Added original SDK code for Alien Swarm.
This commit is contained in:
36
game/client/swarm/asw_client_entities.cpp
Normal file
36
game/client/swarm/asw_client_entities.cpp
Normal file
@ -0,0 +1,36 @@
|
||||
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
|
||||
//
|
||||
// Purpose : Singleton manager for color correction on the client
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//===========================================================================//
|
||||
|
||||
#include "cbase.h"
|
||||
#include "tier0/vprof.h"
|
||||
#include "asw_client_entities.h"
|
||||
#include "c_asw_camera_volume.h"
|
||||
#include "c_asw_snow_volume.h"
|
||||
#include "c_asw_scanner_noise.h"
|
||||
|
||||
static CASW_Client_Entities s_ASW_Client_Entities;
|
||||
|
||||
CASW_Client_Entities::CASW_Client_Entities()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void CASW_Client_Entities::LevelInitPostEntity()
|
||||
{
|
||||
//C_ASW_Camera_Volume::RecreateAll();
|
||||
C_ASW_Snow_Volume::RecreateAll();
|
||||
//C_Sprite::RecreateAll();
|
||||
C_ASW_Scanner_Noise::RecreateAll();
|
||||
}
|
||||
|
||||
void CASW_Client_Entities::LevelShutdownPreEntity()
|
||||
{
|
||||
//C_ASW_Camera_Volume::DestroyAll();
|
||||
C_ASW_Snow_Volume::DestroyAll();
|
||||
//C_Sprite::DestroyAll();
|
||||
C_ASW_Scanner_Noise::DestroyAll();
|
||||
}
|
Reference in New Issue
Block a user