Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

51 lines
1011 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//===========================================================================//
#ifndef TFC_CLIENTMODE_H
#define TFC_CLIENTMODE_H
#ifdef _WIN32
#pragma once
#endif
#include "clientmode_shared.h"
#include "tfcviewport.h"
class ClientModeTFCNormal : public ClientModeShared
{
DECLARE_CLASS( ClientModeTFCNormal, ClientModeShared );
private:
// IClientMode overrides.
public:
ClientModeTFCNormal();
virtual ~ClientModeTFCNormal();
virtual void InitViewport();
virtual int KeyInput( int down, ButtonCode_t keynum, const char *pszCurrentBinding );
virtual float GetViewModelFOV( void );
int GetDeathMessageStartHeight( void );
virtual void FireGameEvent( KeyValues * event);
virtual void PostRenderVGui();
private:
// void UpdateSpectatorMode( void );
};
extern IClientMode *GetClientModeNormal();
extern ClientModeTFCNormal* GetClientModeTFCNormal();
#endif // TFC_CLIENTMODE_H