altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Enumerations
bspTypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bspvertex_t
 
struct  fog_t
 
struct  face_t
 
struct  material_t
 
struct  lightmap_t
 
struct  node_t
 
struct  leaf_t
 
struct  plane_t
 
struct  visData_t
 
struct  brush_t
 
struct  brushSide_t
 
struct  model_t
 
struct  lightgrid_t
 
struct  lump_t
 
struct  bsp_t
 
struct  bspData_t
 

Macros

#define LUMP_ENTITIES   0
 
#define LUMP_SHADERS   1
 
#define LUMP_PLANES   2
 
#define LUMP_NODES   3
 
#define LUMP_LEAFS   4
 
#define LUMP_LEAFSURFACES   5
 
#define LUMP_LEAFBRUSHES   6
 
#define LUMP_MODELS   7
 
#define LUMP_BRUSHES   8
 
#define LUMP_BRUSHSIDES   9
 
#define LUMP_DRAWVERTS   10
 
#define LUMP_DRAWINDEXES   11
 
#define LUMP_FOGS   12
 
#define LUMP_SURFACES   13
 
#define LUMP_LIGHTMAPS   14
 
#define LUMP_LIGHTGRID   15
 
#define LUMP_VISIBILITY   16
 
#define HEADER_LUMPS   17
 
#define SURF_NODAMAGE   0x1
 
#define SURF_SLICK   0x2
 
#define SURF_SKY   0x4
 
#define SURF_LADDER   0x8
 
#define SURF_NOIMPACT   0x10
 
#define SURF_NOMARKS   0x20
 
#define SURF_FLESH   0x40
 
#define SURF_NODRAW   0x80
 
#define SURF_HINT   0x100
 
#define SURF_SKIP   0x200
 
#define SURF_NOLIGHTMAP   0x400
 
#define SURF_POINTLIGHT   0x800
 
#define SURF_METALSTEPS   0x1000
 
#define SURF_NOSTEPS   0x2000
 
#define SURF_NONSOLID   0x4000
 
#define SURF_LIGHTFILTER   0x8000
 
#define SURF_ALPHASHADOW   0x10000
 
#define SURF_NODLIGHT   0x20000
 
#define SURF_DUST   0x40000
 
#define CONTENTS_SOLID   1
 
#define CONTENTS_LAVA   8
 
#define CONTENTS_SLIME   16
 
#define CONTENTS_WATER   32
 
#define CONTENTS_FOG   64
 
#define CONTENTS_NOTTEAM1   0x0080
 
#define CONTENTS_NOTTEAM2   0x0100
 
#define CONTENTS_NOBOTCLIP   0x0200
 
#define CONTENTS_AREAPORTAL   0x8000
 
#define CONTENTS_PLAYERCLIP   0x10000
 
#define CONTENTS_MONSTERCLIP   0x20000
 
#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_ORIGIN   0x1000000
 
#define CONTENTS_BODY   0x2000000
 
#define CONTENTS_CORPSE   0x4000000
 
#define CONTENTS_DETAIL   0x8000000
 
#define CONTENTS_STRUCTURAL   0x10000000
 
#define CONTENTS_TRANSLUCENT   0x20000000
 
#define CONTENTS_TRIGGER   0x40000000
 
#define CONTENTS_NODROP   0x80000000
 

Typedefs

typedef unsigned char byte
 

Enumerations

enum  lumps {
  Entities = 0, Materials, Planes, Nodes,
  Leafs, LeafFaces, LeafBrushes, Models,
  Brushes, BrushSides, VertexArray, IndexArray,
  Fog, Faces, LightMaps, LightGrids,
  VisData, MaxLumps
}
 
enum  facetype_t {
  FACE_NONE, FACE_POLYGON, FACE_PATCH, FACE_MODEL,
  FACE_BILLBOARD
}
 

Macro Definition Documentation

#define CONTENTS_AREAPORTAL   0x8000
#define CONTENTS_BODY   0x2000000
#define CONTENTS_BOTCLIP   0x400000
#define CONTENTS_CLUSTERPORTAL   0x100000
#define CONTENTS_CORPSE   0x4000000
#define CONTENTS_DETAIL   0x8000000
#define CONTENTS_DONOTENTER   0x200000
#define CONTENTS_FOG   64
#define CONTENTS_JUMPPAD   0x80000
#define CONTENTS_LAVA   8
#define CONTENTS_MONSTERCLIP   0x20000
#define CONTENTS_MOVER   0x800000
#define CONTENTS_NOBOTCLIP   0x0200
#define CONTENTS_NODROP   0x80000000
#define CONTENTS_NOTTEAM1   0x0080
#define CONTENTS_NOTTEAM2   0x0100
#define CONTENTS_ORIGIN   0x1000000
#define CONTENTS_PLAYERCLIP   0x10000
#define CONTENTS_SLIME   16
#define CONTENTS_SOLID   1
#define CONTENTS_STRUCTURAL   0x10000000
#define CONTENTS_TELEPORTER   0x40000
#define CONTENTS_TRANSLUCENT   0x20000000
#define CONTENTS_TRIGGER   0x40000000
#define CONTENTS_WATER   32
#define HEADER_LUMPS   17
#define LUMP_BRUSHES   8
#define LUMP_BRUSHSIDES   9
#define LUMP_DRAWINDEXES   11
#define LUMP_DRAWVERTS   10
#define LUMP_ENTITIES   0
#define LUMP_FOGS   12
#define LUMP_LEAFBRUSHES   6
#define LUMP_LEAFS   4
#define LUMP_LEAFSURFACES   5
#define LUMP_LIGHTGRID   15
#define LUMP_LIGHTMAPS   14
#define LUMP_MODELS   7
#define LUMP_NODES   3
#define LUMP_PLANES   2
#define LUMP_SHADERS   1
#define LUMP_SURFACES   13
#define LUMP_VISIBILITY   16
#define SURF_ALPHASHADOW   0x10000
#define SURF_DUST   0x40000
#define SURF_FLESH   0x40
#define SURF_HINT   0x100
#define SURF_LADDER   0x8
#define SURF_LIGHTFILTER   0x8000
#define SURF_METALSTEPS   0x1000
#define SURF_NODAMAGE   0x1
#define SURF_NODLIGHT   0x20000
#define SURF_NODRAW   0x80
#define SURF_NOIMPACT   0x10
#define SURF_NOLIGHTMAP   0x400
#define SURF_NOMARKS   0x20
#define SURF_NONSOLID   0x4000
#define SURF_NOSTEPS   0x2000
#define SURF_POINTLIGHT   0x800
#define SURF_SKIP   0x200
#define SURF_SKY   0x4
#define SURF_SLICK   0x2

Typedef Documentation

typedef unsigned char byte

Enumeration Type Documentation

enum facetype_t
Enumerator:
FACE_NONE 
FACE_POLYGON 
FACE_PATCH 
FACE_MODEL 
FACE_BILLBOARD 
enum lumps
Enumerator:
Entities 
Materials 
Planes 
Nodes 
Leafs 
LeafFaces 
LeafBrushes 
Models 
Brushes 
BrushSides 
VertexArray 
IndexArray 
Fog 
Faces 
LightMaps 
LightGrids 
VisData 
MaxLumps