Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

surfaceflags.h

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 //
00023 // This file must be identical in the quake and utils directories
00024 
00025 // contents flags are seperate bits
00026 // a given brush can contribute multiple content bits
00027 
00028 // these definitions also need to be in q_shared.h!
00029 
00030 #define CONTENTS_SOLID          1       // an eye is never valid in a solid
00031 #define CONTENTS_LAVA           8
00032 #define CONTENTS_SLIME          16
00033 #define CONTENTS_WATER          32
00034 #define CONTENTS_FOG            64
00035 
00036 #define CONTENTS_NOTTEAM1       0x0080
00037 #define CONTENTS_NOTTEAM2       0x0100
00038 #define CONTENTS_NOBOTCLIP      0x0200
00039 
00040 #define CONTENTS_AREAPORTAL     0x8000
00041 
00042 #define CONTENTS_PLAYERCLIP     0x10000
00043 #define CONTENTS_MONSTERCLIP    0x20000
00044 //bot specific contents types
00045 #define CONTENTS_TELEPORTER     0x40000
00046 #define CONTENTS_JUMPPAD        0x80000
00047 #define CONTENTS_CLUSTERPORTAL  0x100000
00048 #define CONTENTS_DONOTENTER     0x200000
00049 #define CONTENTS_BOTCLIP        0x400000
00050 #define CONTENTS_MOVER          0x800000
00051 
00052 #define CONTENTS_ORIGIN         0x1000000   // removed before bsping an entity
00053 
00054 #define CONTENTS_BODY           0x2000000   // should never be on a brush, only in game
00055 #define CONTENTS_CORPSE         0x4000000
00056 #define CONTENTS_DETAIL         0x8000000   // brushes not used for the bsp
00057 #define CONTENTS_STRUCTURAL     0x10000000  // brushes used for the bsp
00058 #define CONTENTS_TRANSLUCENT    0x20000000  // don't consume surface fragments inside
00059 #define CONTENTS_TRIGGER        0x40000000
00060 #define CONTENTS_NODROP         0x80000000  // don't leave bodies or items (death fog, lava)
00061 
00062 #define SURF_NODAMAGE           0x1     // never give falling damage
00063 #define SURF_SLICK              0x2     // effects game physics
00064 #define SURF_SKY                0x4     // lighting from environment map
00065 #define SURF_LADDER             0x8
00066 #define SURF_NOIMPACT           0x10    // don't make missile explosions
00067 #define SURF_NOMARKS            0x20    // don't leave missile marks
00068 #define SURF_FLESH              0x40    // make flesh sounds and effects
00069 #define SURF_NODRAW             0x80    // don't generate a drawsurface at all
00070 #define SURF_HINT               0x100   // make a primary bsp splitter
00071 #define SURF_SKIP               0x200   // completely ignore, allowing non-closed brushes
00072 #define SURF_NOLIGHTMAP         0x400   // surface doesn't need a lightmap
00073 #define SURF_POINTLIGHT         0x800   // generate lighting info at vertexes
00074 #define SURF_METALSTEPS         0x1000  // clanking footsteps
00075 #define SURF_NOSTEPS            0x2000  // no footstep sounds
00076 #define SURF_NONSOLID           0x4000  // don't collide against curves with this set
00077 #define SURF_LIGHTFILTER        0x8000  // act as a light filter during q3map -light
00078 #define SURF_ALPHASHADOW        0x10000 // do per-pixel light shadow casting in q3map
00079 #define SURF_NODLIGHT           0x20000 // don't dlight even if solid (solid lava, skies)
00080 #define SURF_DUST               0x40000 // leave a dust trail when walking on this surface

Generated on Thu Aug 25 12:37:34 2005 for Quake III Arena by  doxygen 1.3.9.1