mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 23:19:18 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//====== Copyright (c) 1996-2009, Valve Corporation, All rights reserved. =====
|
||||
//
|
||||
// Purpose: Alien Swarm Director Controller.
|
||||
//
|
||||
//=============================================================================
|
||||
#ifndef ASW_DIRECTOR_CONTROL_H
|
||||
#define ASW_DIRECTOR_CONTROL_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
class CASW_Marine;
|
||||
|
||||
// Allows the level designer to send and recieve hints with the director
|
||||
|
||||
class CASW_Director_Control : public CLogicalEntity
|
||||
{
|
||||
public:
|
||||
|
||||
DECLARE_CLASS( CASW_Director_Control, CLogicalEntity );
|
||||
DECLARE_DATADESC();
|
||||
|
||||
virtual void Precache();
|
||||
|
||||
virtual void OnEscapeRoomStart( CASW_Marine *pMarine ); // marine has entered the escape room with all objectives complete
|
||||
|
||||
bool m_bWanderersStartEnabled;
|
||||
bool m_bHordesStartEnabled;
|
||||
bool m_bDirectorControlsSpawners;
|
||||
|
||||
private:
|
||||
void InputEnableHordes( inputdata_t &inputdata );
|
||||
void InputDisableHordes( inputdata_t &inputdata );
|
||||
void InputEnableWanderers( inputdata_t &inputdata );
|
||||
void InputDisableWanderers( inputdata_t &inputdata );
|
||||
void InputStartFinale( inputdata_t &inputdata );
|
||||
|
||||
COutputEvent m_OnEscapeRoomStart;
|
||||
};
|
||||
|
||||
#endif // ASW_DIRECTOR_CONTROL_H
|
||||
Reference in New Issue
Block a user