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.
50 lines
1.2 KiB
50 lines
1.2 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef HL2_SHAREDDEFS_H
|
||
|
#define HL2_SHAREDDEFS_H
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "const.h"
|
||
|
|
||
|
|
||
|
//--------------------------------------------------------------------------
|
||
|
// Collision groups
|
||
|
//--------------------------------------------------------------------------
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
HL2COLLISION_GROUP_PLASMANODE = LAST_SHARED_COLLISION_GROUP,
|
||
|
HL2COLLISION_GROUP_SPIT,
|
||
|
HL2COLLISION_GROUP_HOMING_MISSILE,
|
||
|
HL2COLLISION_GROUP_COMBINE_BALL,
|
||
|
|
||
|
HL2COLLISION_GROUP_FIRST_NPC,
|
||
|
HL2COLLISION_GROUP_HOUNDEYE,
|
||
|
HL2COLLISION_GROUP_CROW,
|
||
|
HL2COLLISION_GROUP_HEADCRAB,
|
||
|
HL2COLLISION_GROUP_STRIDER,
|
||
|
HL2COLLISION_GROUP_GUNSHIP,
|
||
|
HL2COLLISION_GROUP_ANTLION,
|
||
|
HL2COLLISION_GROUP_LAST_NPC,
|
||
|
HL2COLLISION_GROUP_COMBINE_BALL_NPC,
|
||
|
};
|
||
|
|
||
|
|
||
|
//--------------
|
||
|
// HL2 SPECIFIC
|
||
|
//--------------
|
||
|
#define DMG_SNIPER (DMG_LASTGENERICFLAG<<1) // This is sniper damage
|
||
|
#define DMG_MISSILEDEFENSE (DMG_LASTGENERICFLAG<<2) // The only kind of damage missiles take. (special missile defense)
|
||
|
|
||
|
|
||
|
|
||
|
#endif // HL2_SHAREDDEFS_H
|