sqwarmed/sdk_src/game/client/ivmodemanager.h

31 lines
799 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
//========= Copyright <20> 1996-2005, 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