mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-26 08:06:58 +00:00
52 lines
919 B
C++
52 lines
919 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef PORTAL_CLIENTMODE_H
|
|
#define PORTAL_CLIENTMODE_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "clientmode_shared.h"
|
|
#include <vgui_controls/EditablePanel.h>
|
|
#include <vgui/Cursor.h>
|
|
|
|
class CHudViewport;
|
|
|
|
namespace vgui
|
|
{
|
|
typedef unsigned long HScheme;
|
|
}
|
|
|
|
class ClientModePortalNormal : public ClientModeShared
|
|
{
|
|
DECLARE_CLASS( ClientModePortalNormal, ClientModeShared );
|
|
|
|
private:
|
|
|
|
// IClientMode overrides.
|
|
public:
|
|
|
|
ClientModePortalNormal();
|
|
virtual ~ClientModePortalNormal();
|
|
|
|
virtual void Init();
|
|
virtual void InitViewport();
|
|
|
|
|
|
private:
|
|
|
|
// void UpdateSpectatorMode( void );
|
|
|
|
};
|
|
|
|
|
|
extern IClientMode *GetClientModeNormal();
|
|
extern ClientModePortalNormal* GetClientModePortalNormal();
|
|
|
|
|
|
#endif // PORTAL_CLIENTMODE_H
|