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.
49 lines
875 B
49 lines
875 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef SDK_CLIENTMODE_H
|
||
|
#define SDK_CLIENTMODE_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "clientmode_shared.h"
|
||
|
#include "sdkviewport.h"
|
||
|
|
||
|
class ClientModeSDKNormal : public ClientModeShared
|
||
|
{
|
||
|
DECLARE_CLASS( ClientModeSDKNormal, ClientModeShared );
|
||
|
|
||
|
private:
|
||
|
|
||
|
// IClientMode overrides.
|
||
|
public:
|
||
|
|
||
|
ClientModeSDKNormal();
|
||
|
virtual ~ClientModeSDKNormal();
|
||
|
|
||
|
virtual void InitViewport();
|
||
|
|
||
|
virtual float GetViewModelFOV( void );
|
||
|
|
||
|
int GetDeathMessageStartHeight( void );
|
||
|
|
||
|
virtual void PostRenderVGui();
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
|
// void UpdateSpectatorMode( void );
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
extern IClientMode *GetClientModeNormal();
|
||
|
extern ClientModeSDKNormal* GetClientModeSDKNormal();
|
||
|
|
||
|
|
||
|
#endif // SDK_CLIENTMODE_H
|