1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/game/client/ivmodemanager.h
2013-06-26 15:22:04 -07:00

31 lines
786 B
C

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#if !defined( IVMODEMANAGER_H )
#define IVMODEMANAGER_H
#ifdef _WIN32
#pragma once
#endif
abstract_class IVModeManager
{
public:
virtual void Init( void ) = 0;
// HL2 will ignore, TF2 will change modes.
virtual void SwitchMode( bool commander, bool force ) = 0;
virtual void LevelInit( const char *newmap ) = 0;
virtual void LevelShutdown( void ) = 0;
};
extern IVModeManager *modemanager;
#endif // IVMODEMANAGER_H