diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/game/server/logicrelay.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/game/server/logicrelay.h')
| -rw-r--r-- | sp/src/game/server/logicrelay.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/sp/src/game/server/logicrelay.h b/sp/src/game/server/logicrelay.h index d79710c5..a91a456e 100644 --- a/sp/src/game/server/logicrelay.h +++ b/sp/src/game/server/logicrelay.h @@ -1,46 +1,46 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#ifndef LOGICRELAY_H
-#define LOGICRELAY_H
-
-#include "cbase.h"
-#include "entityinput.h"
-#include "entityoutput.h"
-#include "eventqueue.h"
-
-class CLogicRelay : public CLogicalEntity
-{
-public:
- DECLARE_CLASS( CLogicRelay, CLogicalEntity );
-
- CLogicRelay();
-
- void Activate();
- void Think();
-
- // Input handlers
- void InputEnable( inputdata_t &inputdata );
- void InputEnableRefire( inputdata_t &inputdata ); // Private input handler, not in FGD
- void InputDisable( inputdata_t &inputdata );
- void InputToggle( inputdata_t &inputdata );
- void InputTrigger( inputdata_t &inputdata );
- void InputCancelPending( inputdata_t &inputdata );
-
- DECLARE_DATADESC();
-
- // Outputs
- COutputEvent m_OnTrigger;
- COutputEvent m_OnSpawn;
-
-private:
-
- bool m_bDisabled;
- bool m_bWaitForRefire; // Set to disallow a refire while we are waiting for our outputs to finish firing.
-};
-
-#endif //LOGICRELAY_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#ifndef LOGICRELAY_H +#define LOGICRELAY_H + +#include "cbase.h" +#include "entityinput.h" +#include "entityoutput.h" +#include "eventqueue.h" + +class CLogicRelay : public CLogicalEntity +{ +public: + DECLARE_CLASS( CLogicRelay, CLogicalEntity ); + + CLogicRelay(); + + void Activate(); + void Think(); + + // Input handlers + void InputEnable( inputdata_t &inputdata ); + void InputEnableRefire( inputdata_t &inputdata ); // Private input handler, not in FGD + void InputDisable( inputdata_t &inputdata ); + void InputToggle( inputdata_t &inputdata ); + void InputTrigger( inputdata_t &inputdata ); + void InputCancelPending( inputdata_t &inputdata ); + + DECLARE_DATADESC(); + + // Outputs + COutputEvent m_OnTrigger; + COutputEvent m_OnSpawn; + +private: + + bool m_bDisabled; + bool m_bWaitForRefire; // Set to disallow a refire while we are waiting for our outputs to finish firing. +}; + +#endif //LOGICRELAY_H |