1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Added original SDK code for Alien Swarm.

This commit is contained in:
Scott Ehlert
2010-07-22 01:46:14 -05:00
commit c0a96ff1e8
3740 changed files with 1243478 additions and 0 deletions

View File

@ -0,0 +1,51 @@
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "iconsole.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
class CConPanel;
class CConsole : public IConsole
{
private:
CConPanel *conPanel;
public:
CConsole( void )
{
conPanel = NULL;
}
void Create( vgui::VPANEL parent )
{
/*
conPanel = new CConPanel( parent );
*/
}
void Destroy( void )
{
/*
if ( conPanel )
{
conPanel->SetParent( (vgui::Panel *)NULL );
delete conPanel;
}
*/
}
};
static CConsole g_Console;
IConsole *console = ( IConsole * )&g_Console;