Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
769 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #if !defined( IVMODEMANAGER_H )
  14. #define IVMODEMANAGER_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. abstract_class IVModeManager
  19. {
  20. public:
  21. virtual void Init( void ) = 0;
  22. // HL2 will ignore, TF2 will change modes.
  23. virtual void SwitchMode( bool commander, bool force ) = 0;
  24. virtual void LevelInit( const char *newmap ) = 0;
  25. virtual void LevelShutdown( void ) = 0;
  26. };
  27. extern IVModeManager *modemanager;
  28. #endif // IVMODEMANAGER_H