OpenAL special effects

This commit is contained in:
Andrei Drexler 2011-04-19 02:25:38 +00:00
parent 84a674813e
commit 8a4e3f6942

View file

@ -27,33 +27,46 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// these definitions also need to be in q_shared.h!
#define CONTENTS_SOLID 1 // an eye is never valid in a solid
#define CONTENTS_LAVA 8
#define CONTENTS_SLIME 16
#define CONTENTS_WATER 32
#define CONTENTS_FOG 64
#define CONTENTS_SOLID 0x00000001 // an eye is never valid in a solid
#define CONTENTS_NOTTEAM1 0x0080
#define CONTENTS_NOTTEAM2 0x0100
#define CONTENTS_NOBOTCLIP 0x0200
#define CONTENTS_ENVBIT_0 0x00000002
#define CONTENTS_ENVBIT_1 0x00000004
#define CONTENTS_AREAPORTAL 0x8000
#define CONTENTS_LAVA 0x00000008
#define CONTENTS_SLIME 0x00000010
#define CONTENTS_WATER 0x00000020
#define CONTENTS_FOG 0x00000040
#define CONTENTS_PLAYERCLIP 0x10000
#define CONTENTS_MONSTERCLIP 0x20000
#define CONTENTS_NOTTEAM1 0x00000080
#define CONTENTS_NOTTEAM2 0x00000100
#define CONTENTS_NOBOTCLIP 0x00000200
#define CONTENTS_ENVBIT_2 0x00000400
#define CONTENTS_ENVBIT_3 0x00000800
#define CONTENTS_ENVBIT_4 0x00001000
#define CONTENTS_ENVBIT_5 0x00002000
#define CONTENTS_ENVBIT_6 0x00004000
#define CONTENTS_ENVIRONMENT_MASK (CONTENTS_ENVBIT_0|CONTENTS_ENVBIT_1|CONTENTS_ENVBIT_2|CONTENTS_ENVBIT_3|CONTENTS_ENVBIT_4|CONTENTS_ENVBIT_5|CONTENTS_ENVBIT_6)
#define CONTENTS_LIQUID_MASK (CONTENTS_LAVA|CONTENTS_SLIME|CONTENTS_WATER)
#define CONTENTS_AREAPORTAL 0x00008000
#define CONTENTS_PLAYERCLIP 0x00010000
#define CONTENTS_MONSTERCLIP 0x00020000
//bot specific contents types
#define CONTENTS_TELEPORTER 0x40000
#define CONTENTS_JUMPPAD 0x80000
#define CONTENTS_CLUSTERPORTAL 0x100000
#define CONTENTS_DONOTENTER 0x200000
#define CONTENTS_BOTCLIP 0x400000
#define CONTENTS_MOVER 0x800000
#define CONTENTS_TELEPORTER 0x00040000
#define CONTENTS_JUMPPAD 0x00080000
#define CONTENTS_CLUSTERPORTAL 0x00100000
#define CONTENTS_DONOTENTER 0x00200000
#define CONTENTS_BOTCLIP 0x00400000
#define CONTENTS_MOVER 0x00800000
#define CONTENTS_ORIGIN 0x1000000 // removed before bsping an entity
#define CONTENTS_ORIGIN 0x01000000 // removed before bsping an entity
#define CONTENTS_BODY 0x2000000 // should never be on a brush, only in game
#define CONTENTS_CORPSE 0x4000000
#define CONTENTS_DETAIL 0x8000000 // brushes not used for the bsp
#define CONTENTS_BODY 0x02000000 // should never be on a brush, only in game
#define CONTENTS_CORPSE 0x04000000
#define CONTENTS_DETAIL 0x08000000 // brushes not used for the bsp
#define CONTENTS_STRUCTURAL 0x10000000 // brushes used for the bsp
#define CONTENTS_TRANSLUCENT 0x20000000 // don't consume surface fragments inside
#define CONTENTS_TRIGGER 0x40000000