mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#ifndef ASW_MARKER_H
|
||||
#define ASW_MARKER_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "baseentity.h"
|
||||
|
||||
|
||||
// This class is used for marking world positions of objectives
|
||||
|
||||
|
||||
class CASW_Marker : public CBaseEntity
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS( CASW_Marker, CBaseEntity );
|
||||
DECLARE_SERVERCLASS();
|
||||
DECLARE_DATADESC();
|
||||
|
||||
virtual void Spawn( void );
|
||||
virtual int ShouldTransmit( const CCheckTransmitInfo *pInfo );
|
||||
virtual bool KeyValue( const char *szKeyName, const char *szValue );
|
||||
|
||||
virtual void SetComplete( bool bComplete );
|
||||
|
||||
virtual bool IsObjectiveComplete() { return m_bComplete; }
|
||||
|
||||
void InputSetComplete( inputdata_t &inputdata );
|
||||
void InputEnable( inputdata_t &inputdata );
|
||||
void InputDisable( inputdata_t &inputdata );
|
||||
|
||||
private:
|
||||
|
||||
CNetworkString( m_ObjectiveName, 256 );
|
||||
CNetworkVar( int, m_nMapWidth );
|
||||
CNetworkVar( int, m_nMapHeight );
|
||||
CNetworkVar( bool, m_bComplete );
|
||||
CNetworkVar( bool, m_bEnabled );
|
||||
bool m_bStartDisabled;
|
||||
|
||||
};
|
||||
|
||||
#endif /* ASW_MARKER_H */
|
||||
Reference in New Issue
Block a user