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 /mp/src/game/server/fire.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 'mp/src/game/server/fire.h')
| -rw-r--r-- | mp/src/game/server/fire.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/mp/src/game/server/fire.h b/mp/src/game/server/fire.h index 25c515af..c04641bc 100644 --- a/mp/src/game/server/fire.h +++ b/mp/src/game/server/fire.h @@ -1,52 +1,52 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef FIRE_H
-#define FIRE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "entityoutput.h"
-#include "fire_smoke.h"
-#include "plasma.h"
-
-//Spawnflags
-#define SF_FIRE_INFINITE 0x00000001
-#define SF_FIRE_SMOKELESS 0x00000002
-#define SF_FIRE_START_ON 0x00000004
-#define SF_FIRE_START_FULL 0x00000008
-#define SF_FIRE_DONT_DROP 0x00000010
-#define SF_FIRE_NO_GLOW 0x00000020
-#define SF_FIRE_DIE_PERMANENT 0x00000080
-#define SF_FIRE_VISIBLE_FROM_ABOVE 0x00000100
-
-//==================================================
-// CFire
-//==================================================
-
-enum fireType_e
-{
- FIRE_NATURAL = 0,
- FIRE_PLASMA,
-};
-
-//==================================================
-
-// NPCs and grates do not prevent fire from travelling
-#define MASK_FIRE_SOLID ( MASK_SOLID & (~(CONTENTS_MONSTER|CONTENTS_GRATE)) )
-
-//==================================================
-// FireSystem
-//==================================================
-bool FireSystem_StartFire( const Vector &position, float fireHeight, float attack, float fuel, int flags, CBaseEntity *owner, fireType_e type = FIRE_NATURAL);
-void FireSystem_ExtinguishInRadius( const Vector &origin, float radius, float rate );
-void FireSystem_AddHeatInRadius( const Vector &origin, float radius, float heat );
-
-bool FireSystem_GetFireDamageDimensions( CBaseEntity *pFire, Vector *pFireMins, Vector *pFireMaxs );
-
-#endif // FIRE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef FIRE_H +#define FIRE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "entityoutput.h" +#include "fire_smoke.h" +#include "plasma.h" + +//Spawnflags +#define SF_FIRE_INFINITE 0x00000001 +#define SF_FIRE_SMOKELESS 0x00000002 +#define SF_FIRE_START_ON 0x00000004 +#define SF_FIRE_START_FULL 0x00000008 +#define SF_FIRE_DONT_DROP 0x00000010 +#define SF_FIRE_NO_GLOW 0x00000020 +#define SF_FIRE_DIE_PERMANENT 0x00000080 +#define SF_FIRE_VISIBLE_FROM_ABOVE 0x00000100 + +//================================================== +// CFire +//================================================== + +enum fireType_e +{ + FIRE_NATURAL = 0, + FIRE_PLASMA, +}; + +//================================================== + +// NPCs and grates do not prevent fire from travelling +#define MASK_FIRE_SOLID ( MASK_SOLID & (~(CONTENTS_MONSTER|CONTENTS_GRATE)) ) + +//================================================== +// FireSystem +//================================================== +bool FireSystem_StartFire( const Vector &position, float fireHeight, float attack, float fuel, int flags, CBaseEntity *owner, fireType_e type = FIRE_NATURAL); +void FireSystem_ExtinguishInRadius( const Vector &origin, float radius, float rate ); +void FireSystem_AddHeatInRadius( const Vector &origin, float radius, float heat ); + +bool FireSystem_GetFireDamageDimensions( CBaseEntity *pFire, Vector *pFireMins, Vector *pFireMaxs ); + +#endif // FIRE_H |