mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-14 20:56:56 +00:00
1
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
//========= 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
|
||||
Reference in New Issue
Block a user