Team Fortress 2 Source Code as on 22/4/2020
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.

48 lines
875 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef SDK_CLIENTMODE_H
  7. #define SDK_CLIENTMODE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "clientmode_shared.h"
  12. #include "sdkviewport.h"
  13. class ClientModeSDKNormal : public ClientModeShared
  14. {
  15. DECLARE_CLASS( ClientModeSDKNormal, ClientModeShared );
  16. private:
  17. // IClientMode overrides.
  18. public:
  19. ClientModeSDKNormal();
  20. virtual ~ClientModeSDKNormal();
  21. virtual void InitViewport();
  22. virtual float GetViewModelFOV( void );
  23. int GetDeathMessageStartHeight( void );
  24. virtual void PostRenderVGui();
  25. private:
  26. // void UpdateSpectatorMode( void );
  27. };
  28. extern IClientMode *GetClientModeNormal();
  29. extern ClientModeSDKNormal* GetClientModeSDKNormal();
  30. #endif // SDK_CLIENTMODE_H