Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# OgreQuake3Types.h File Reference

Go to the source code of this file.

## Compounds

struct | bsp_brush_t
struct | bsp_brushside_t
struct | bsp_face_t
struct | bsp_header_t
struct | bsp_leaf_t
struct | bsp_lump_entry_t
struct | bsp_model_t
struct | bsp_node_t
struct | bsp_plane_t
struct | bsp_shader_t
struct | bsp_vertex_t
struct | bsp_vis_t

## Defines

#define | BSP_HEADER_ID (*(int*)"IBSP")
#define | BSP_HEADER_VER (46)
#define | BSP_ENTITIES_LUMP (0)
#define | BSP_SHADERS_LUMP (1)
#define | BSP_PLANES_LUMP (2)
#define | BSP_NODES_LUMP (3)
#define | BSP_LEAVES_LUMP (4)
#define | BSP_LFACES_LUMP (5)
#define | BSP_LBRUSHES_LUMP (6)
#define | BSP_MODELS_LUMP (7)
#define | BSP_BRUSH_LUMP (8)
#define | BSP_BRUSHSIDES_LUMP (9)
#define | BSP_VERTICES_LUMP (10)
#define | BSP_ELEMENTS_LUMP (11)
#define | BSP_FOG_LUMP (12)
#define | BSP_FACES_LUMP (13)
#define | BSP_LIGHTMAPS_LUMP (14)
#define | BSP_LIGHTVOLS_LUMP (15)
#define | BSP_VISIBILITY_LUMP (16)
#define | BSP_LIGHTMAP_BANKSIZE (128*128*3)
#define | CONTENTS_SOLID 1
#define | CONTENTS_LAVA 8
#define | CONTENTS_SLIME 16
#define | CONTENTS_WATER 32
#define | CONTENTS_FOG 64
#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_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
#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 | BSP_FACETYPE_NORMAL (1)
#define | BSP_FACETYPE_PATCH (2)
#define | BSP_FACETYPE_MESH (3)
#define | BSP_FACETYPE_FLARE (4)

## Enumerations

enum | { SHADER_NOCULL = 1 << 0, SHADER_TRANSPARENT = 1 << 1, SHADER_DEPTHWRITE = 1 << 2, SHADER_SKY = 1 << 3, SHADER_NOMIPMAPS = 1 << 4, SHADER_NEEDCOLOURS = 1 << 5, SHADER_DEFORMVERTS = 1 << 6 }
enum | { SHADER_LIGHTMAP = 1 << 0, SHADER_BLEND = 1 << 1, SHADER_ALPHAFUNC = 1 << 3, SHADER_TCMOD = 1 << 4, SHADER_ANIMMAP = 1 << 5, SHADER_TCGEN_ENV = 1 << 6 }
enum | WaveType { SHADER_FUNC_NONE = 0, SHADER_FUNC_SIN = 1, SHADER_FUNC_TRIANGLE = 2, SHADER_FUNC_SQUARE = 3, SHADER_FUNC_SAWTOOTH = 4, SHADER_FUNC_INVERSESAWTOOTH = 5 }
enum | GenFunc { SHADER_GEN_IDENTITY = 0, SHADER_GEN_WAVE = 1, SHADER_GEN_VERTEX = 2 }
enum | TexGen { TEXGEN_BASE = 0, TEXGEN_LIGHTMAP = 1, TEXGEN_ENVIRONMENT = 2 }
enum | DeformFunc { DEFORM_FUNC_NONE = 0, DEFORM_FUNC_BULGE = 1, DEFORM_FUNC_WAVE = 2, DEFORM_FUNC_NORMAL = 3, DEFORM_FUNC_MOVE = 4, DEFORM_FUNC_AUTOSPRITE = 5, DEFORM_FUNC_AUTOSPRITE2 = 6 }

## Define Documentation

#define BSP_BRUSH_LUMP (8)

| Definition at line 25 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_BRUSHSIDES_LUMP (9)

| Definition at line 26 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_ELEMENTS_LUMP (11)

| Definition at line 28 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_ENTITIES_LUMP (0)

| Definition at line 17 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_FACES_LUMP (13)

| Definition at line 30 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_FACETYPE_FLARE (4)

| Definition at line 183 of file OgreQuake3Types.h.

#define BSP_FACETYPE_MESH (3)

| Definition at line 182 of file OgreQuake3Types.h. Referenced by Ogre::BspLevel::loadQuake3Level().

#define BSP_FACETYPE_NORMAL (1)

| Definition at line 180 of file OgreQuake3Types.h. Referenced by Ogre::BspLevel::loadQuake3Level().

#define BSP_FACETYPE_PATCH (2)

| Definition at line 181 of file OgreQuake3Types.h. Referenced by Ogre::BspLevel::initQuake3Patches(), and Ogre::BspLevel::loadQuake3Level().

#define BSP_FOG_LUMP (12)

| Definition at line 29 of file OgreQuake3Types.h.

#define BSP_HEADER_ID (*(int*)"IBSP")

| Definition at line 14 of file OgreQuake3Types.h.

#define BSP_HEADER_VER (46)

| Definition at line 15 of file OgreQuake3Types.h.

#define BSP_LBRUSHES_LUMP (6)

| Definition at line 23 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_LEAVES_LUMP (4)

| Definition at line 21 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_LFACES_LUMP (5)

| Definition at line 22 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_LIGHTMAP_BANKSIZE (128*128*3)

| Definition at line 35 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::extractLightmaps(), and Ogre::Quake3Level::initialise().

#define BSP_LIGHTMAPS_LUMP (14)

| Definition at line 31 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_LIGHTVOLS_LUMP (15)

| Definition at line 32 of file OgreQuake3Types.h.

#define BSP_MODELS_LUMP (7)

| Definition at line 24 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_NODES_LUMP (3)

| Definition at line 20 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_PLANES_LUMP (2)

| Definition at line 19 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_SHADERS_LUMP (1)

| Definition at line 18 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_VERTICES_LUMP (10)

| Definition at line 27 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define BSP_VISIBILITY_LUMP (16)

| Definition at line 33 of file OgreQuake3Types.h. Referenced by Ogre::Quake3Level::initialise().

#define CONTENTS_AREAPORTAL 0x8000

| Definition at line 44 of file OgreQuake3Types.h.

#define CONTENTS_BODY 0x2000000

| Definition at line 56 of file OgreQuake3Types.h.

#define CONTENTS_CLUSTERPORTAL 0x100000

| Definition at line 51 of file OgreQuake3Types.h.

#define CONTENTS_CORPSE 0x4000000

| Definition at line 57 of file OgreQuake3Types.h.

#define CONTENTS_DETAIL 0x8000000

| Definition at line 58 of file OgreQuake3Types.h.

#define CONTENTS_DONOTENTER 0x200000

| Definition at line 52 of file OgreQuake3Types.h.

#define CONTENTS_FOG 64

| Definition at line 42 of file OgreQuake3Types.h.

#define CONTENTS_JUMPPAD 0x80000

| Definition at line 50 of file OgreQuake3Types.h.

#define CONTENTS_LAVA 8

| Definition at line 39 of file OgreQuake3Types.h.

#define CONTENTS_MONSTERCLIP 0x20000

| Definition at line 47 of file OgreQuake3Types.h.

#define CONTENTS_NODROP 0x80000000

| Definition at line 62 of file OgreQuake3Types.h.

#define CONTENTS_ORIGIN 0x1000000

| Definition at line 54 of file OgreQuake3Types.h.

#define CONTENTS_PLAYERCLIP 0x10000

| Definition at line 46 of file OgreQuake3Types.h.

#define CONTENTS_SLIME 16

| Definition at line 40 of file OgreQuake3Types.h.

#define CONTENTS_SOLID 1

| Definition at line 38 of file OgreQuake3Types.h. Referenced by Ogre::BspLevel::loadQuake3Level().

#define CONTENTS_STRUCTURAL 0x10000000

| Definition at line 59 of file OgreQuake3Types.h.

#define CONTENTS_TELEPORTER 0x40000

| Definition at line 49 of file OgreQuake3Types.h.

#define CONTENTS_TRANSLUCENT 0x20000000

| Definition at line 60 of file OgreQuake3Types.h.

#define CONTENTS_TRIGGER 0x40000000

| Definition at line 61 of file OgreQuake3Types.h.

#define CONTENTS_WATER 32

| Definition at line 41 of file OgreQuake3Types.h.

#define SURF_ALPHASHADOW 0x10000

| Definition at line 80 of file OgreQuake3Types.h.

#define SURF_FLESH 0x40

| Definition at line 70 of file OgreQuake3Types.h.

#define SURF_HINT 0x100

| Definition at line 72 of file OgreQuake3Types.h.

#define SURF_LADDER 0x8

| Definition at line 67 of file OgreQuake3Types.h.

#define SURF_LIGHTFILTER 0x8000

| Definition at line 79 of file OgreQuake3Types.h.

#define SURF_METALSTEPS 0x1000

| Definition at line 76 of file OgreQuake3Types.h.

#define SURF_NODAMAGE 0x1

| Definition at line 64 of file OgreQuake3Types.h.

#define SURF_NODLIGHT 0x20000

| Definition at line 81 of file OgreQuake3Types.h.

#define SURF_NODRAW 0x80

| Definition at line 71 of file OgreQuake3Types.h.

#define SURF_NOIMPACT 0x10

| Definition at line 68 of file OgreQuake3Types.h.

#define SURF_NOLIGHTMAP 0x400

| Definition at line 74 of file OgreQuake3Types.h.

#define SURF_NOMARKS 0x20

| Definition at line 69 of file OgreQuake3Types.h.

#define SURF_NONSOLID 0x4000

| Definition at line 78 of file OgreQuake3Types.h.

#define SURF_NOSTEPS 0x2000

| Definition at line 77 of file OgreQuake3Types.h.

#define SURF_POINTLIGHT 0x800

| Definition at line 75 of file OgreQuake3Types.h.

#define SURF_SKIP 0x200

| Definition at line 73 of file OgreQuake3Types.h.

#define SURF_SKY 0x4

| Definition at line 66 of file OgreQuake3Types.h. Referenced by Ogre::BspLevel::loadQuake3Level().

#define SURF_SLICK 0x2

| Definition at line 65 of file OgreQuake3Types.h.

## Enumeration Type Documentation

anonymous enum

Enumeration values:

  SHADER_NOCULL |
  SHADER_TRANSPARENT |
  SHADER_DEPTHWRITE |
  SHADER_SKY |
  SHADER_NOMIPMAPS |
  SHADER_NEEDCOLOURS |
  SHADER_DEFORMVERTS |

Definition at line 84 of file OgreQuake3Types.h.

anonymous enum

Enumeration values:

  SHADER_LIGHTMAP |
  SHADER_BLEND |
  SHADER_ALPHAFUNC |
  SHADER_TCMOD |
  SHADER_ANIMMAP |
  SHADER_TCGEN_ENV |

Definition at line 96 of file OgreQuake3Types.h.

enum DeformFunc

Enumeration values:

  DEFORM_FUNC_NONE |
  DEFORM_FUNC_BULGE |
  DEFORM_FUNC_WAVE |
  DEFORM_FUNC_NORMAL |
  DEFORM_FUNC_MOVE |
  DEFORM_FUNC_AUTOSPRITE |
  DEFORM_FUNC_AUTOSPRITE2 |

Definition at line 132 of file OgreQuake3Types.h.

enum GenFunc

Enumeration values:

  SHADER_GEN_IDENTITY |
  SHADER_GEN_WAVE |
  SHADER_GEN_VERTEX |

Definition at line 118 of file OgreQuake3Types.h.

enum TexGen

Enumeration values:

  TEXGEN_BASE |
  TEXGEN_LIGHTMAP |
  TEXGEN_ENVIRONMENT |

Definition at line 125 of file OgreQuake3Types.h.

enum WaveType

Enumeration values:

  SHADER_FUNC_NONE |
  SHADER_FUNC_SIN |
  SHADER_FUNC_TRIANGLE |
  SHADER_FUNC_SQUARE |
  SHADER_FUNC_SAWTOOTH |
  SHADER_FUNC_INVERSESAWTOOTH |

Definition at line 107 of file OgreQuake3Types.h.

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:48:54 2004