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.
40 lines
1.1 KiB
40 lines
1.1 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef C_OBJ_BASE_MANNED_GUN_H
|
||
|
#define C_OBJ_BASE_MANNED_GUN_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "basetfvehicle.h"
|
||
|
#include "tf_obj_manned_plasmagun_shared.h"
|
||
|
#include "ObjectControlPanel.h"
|
||
|
#include "tf_obj_base_manned_gun.h"
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Control screen
|
||
|
//-----------------------------------------------------------------------------
|
||
|
class CMannedPlasmagunControlPanel : public CRotatingObjectControlPanel
|
||
|
{
|
||
|
DECLARE_CLASS( CMannedPlasmagunControlPanel, CRotatingObjectControlPanel );
|
||
|
|
||
|
public:
|
||
|
CMannedPlasmagunControlPanel( vgui::Panel *parent, const char *panelName );
|
||
|
virtual bool Init( KeyValues* pKeyValues, VGuiScreenInitData_t* pInitData );
|
||
|
virtual void OnTick();
|
||
|
virtual void OnCommand( const char *command );
|
||
|
|
||
|
void GetInGun( void );
|
||
|
|
||
|
private:
|
||
|
vgui::Label *m_pMannedLabel;
|
||
|
vgui::Button *m_pOccupyButton;
|
||
|
};
|
||
|
|
||
|
#endif // C_OBJ_BASE_MANNED_GUN_H
|