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

q3files.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  md3Frame_s
struct  md3Header_t
struct  md3Shader_t
struct  md3St_t
struct  md3Surface_t
struct  md3Tag_s
struct  md3Triangle_t
struct  md3XyzNormal_t
struct  q3_dbrush_t
struct  q3_dbrushside_t
struct  q3_dfog_t
struct  q3_dheader_t
struct  q3_dleaf_t
struct  q3_dmodel_t
struct  q3_dnode_t
struct  q3_dplane_t
struct  q3_drawVert_t
struct  q3_dshader_t
struct  q3_dsurface_t
struct  q3_lump_t

Defines

#define ANGLE_DOWN   -2
#define ANGLE_UP   -1
#define LIGHTMAP_HEIGHT   128
#define LIGHTMAP_WIDTH   128
#define MAX_QPATH   64
#define MD3_IDENT   (('3'<<24)+('P'<<16)+('D'<<8)+'I')
#define MD3_MAX_FRAMES   1024
#define MD3_MAX_LODS   4
#define MD3_MAX_SHADERS   256
#define MD3_MAX_SURFACES   32
#define MD3_MAX_TAGS   16
#define MD3_MAX_TRIANGLES   8192
#define MD3_MAX_VERTS   4096
#define MD3_VERSION   15
#define MD3_XYZ_SCALE   (1.0/64)
#define Q3_BSP_IDENT   (('P'<<24)+('S'<<16)+('B'<<8)+'I')
#define Q3_BSP_VERSION   46
#define Q3_HEADER_LUMPS   17
#define Q3_LUMP_BRUSHES   8
#define Q3_LUMP_BRUSHSIDES   9
#define Q3_LUMP_DRAWINDEXES   11
#define Q3_LUMP_DRAWVERTS   10
#define Q3_LUMP_ENTITIES   0
#define Q3_LUMP_FOGS   12
#define Q3_LUMP_LEAFBRUSHES   6
#define Q3_LUMP_LEAFS   4
#define Q3_LUMP_LEAFSURFACES   5
#define Q3_LUMP_LIGHTGRID   15
#define Q3_LUMP_LIGHTMAPS   14
#define Q3_LUMP_MODELS   7
#define Q3_LUMP_NODES   3
#define Q3_LUMP_PLANES   2
#define Q3_LUMP_SHADERS   1
#define Q3_LUMP_SURFACES   13
#define Q3_LUMP_VISIBILITY   16
#define Q3_MAX_KEY   32
#define Q3_MAX_MAP_AREAS   0x100
#define Q3_MAX_MAP_BRUSHES   0x8000
#define Q3_MAX_MAP_BRUSHSIDES   0x10000
#define Q3_MAX_MAP_DRAW_INDEXES   0x80000
#define Q3_MAX_MAP_DRAW_SURFS   0x20000
#define Q3_MAX_MAP_DRAW_VERTS   0x80000
#define Q3_MAX_MAP_ENTITIES   0x800
#define Q3_MAX_MAP_ENTSTRING   0x10000
#define Q3_MAX_MAP_FOGS   0x100
#define Q3_MAX_MAP_LEAFBRUSHES   0x10000
#define Q3_MAX_MAP_LEAFFACES   0x10000
#define Q3_MAX_MAP_LEAFS   0x10000
#define Q3_MAX_MAP_LIGHTGRID   0x400000
#define Q3_MAX_MAP_LIGHTING   0x400000
#define Q3_MAX_MAP_MODELS   0x400
#define Q3_MAX_MAP_NODES   0x10000
#define Q3_MAX_MAP_PLANES   0x10000
#define Q3_MAX_MAP_PORTALS   0x10000
#define Q3_MAX_MAP_SHADERS   0x400
#define Q3_MAX_MAP_VISIBILITY   0x200000
#define Q3_MAX_VALUE   1024
#define SHADER_MAX_INDEXES   (6*SHADER_MAX_VERTEXES)
#define SHADER_MAX_VERTEXES   1000

Typedefs

typedef md3Frame_s md3Frame_t
typedef md3Tag_s md3Tag_t

Enumerations

enum  q3_mapSurfaceType_t {
  MST_BAD, MST_PLANAR, MST_PATCH, MST_TRIANGLE_SOUP,
  MST_FLARE
}


Define Documentation

#define ANGLE_DOWN   -2
 

Definition at line 239 of file q3files.h.

#define ANGLE_UP   -1
 

Definition at line 238 of file q3files.h.

#define LIGHTMAP_HEIGHT   128
 

Definition at line 242 of file q3files.h.

Referenced by AllocateLightmapForSurface(), AllocateLightmaps(), CountLightmaps(), PrintBSPFileSizes(), Q3_PrintBSPFileSizes(), TraceLtm(), VL_CalcVisibleLightmapPixelArea(), VL_FixLightmapEdges(), VL_LightSurfaceWithVolume(), VL_ShiftPatchLightmaps(), VL_SmoothenLightmapEdges(), VL_StoreLightmap(), VL_SurfaceRadiosity(), VS_CalcVisibleLightmapPixelArea(), VS_FixLightmapEdges(), VS_LightSurfaceWithVolume(), VS_ShiftPatchLightmaps(), VS_SmoothenLightmapEdges(), VS_StoreLightmap(), and VS_SurfaceRadiosity().

#define LIGHTMAP_WIDTH   128
 

Definition at line 241 of file q3files.h.

Referenced by AllocateLightmapForPatch(), AllocateLightmapForSurface(), AllocateLightmaps(), AllocLMBlock(), CountLightmaps(), PrintBSPFileSizes(), Q3_PrintBSPFileSizes(), TraceLtm(), VL_CalcVisibleLightmapPixelArea(), VL_FixLightmapEdges(), VL_LightSurfaceWithVolume(), VL_ShiftPatchLightmaps(), VL_SmoothenLightmapEdges(), VL_StoreLightmap(), VL_SurfaceRadiosity(), VS_CalcVisibleLightmapPixelArea(), VS_FixLightmapEdges(), VS_LightSurfaceWithVolume(), VS_ShiftPatchLightmaps(), VS_SmoothenLightmapEdges(), VS_StoreLightmap(), and VS_SurfaceRadiosity().

#define MAX_QPATH   64
 

Definition at line 36 of file q3files.h.

Referenced by AAS_ReadRouteCache(), AAS_WriteRouteCache(), BuildShaderStateConfig(), CG_LoadingClient(), CG_RegisterClientModelname(), CG_RegisterItemSounds(), CG_TestModel_f(), Com_FilterPath(), RE_RegisterFont(), Sys_LoadDll(), UI_BotSelectMenu_UpdateGrid(), UI_CalcPostGameStats(), UI_LoadBestScores(), and UI_RegisterClientSkin().

#define MD3_IDENT   (('3'<<24)+('P'<<16)+('D'<<8)+'I')
 

Definition at line 91 of file q3files.h.

#define MD3_MAX_FRAMES   1024
 

Definition at line 99 of file q3files.h.

#define MD3_MAX_LODS   4
 

Definition at line 95 of file q3files.h.

Referenced by RE_RegisterModel().

#define MD3_MAX_SHADERS   256
 

Definition at line 98 of file q3files.h.

#define MD3_MAX_SURFACES   32
 

Definition at line 100 of file q3files.h.

#define MD3_MAX_TAGS   16
 

Definition at line 101 of file q3files.h.

#define MD3_MAX_TRIANGLES   8192
 

Definition at line 96 of file q3files.h.

#define MD3_MAX_VERTS   4096
 

Definition at line 97 of file q3files.h.

#define MD3_VERSION   15
 

Definition at line 92 of file q3files.h.

Referenced by R_LoadMD3().

#define MD3_XYZ_SCALE   (1.0/64)
 

Definition at line 104 of file q3files.h.

Referenced by InsertMD3Model(), and LerpMeshVertexes().

#define Q3_BSP_IDENT   (('P'<<24)+('S'<<16)+('B'<<8)+'I')
 

Definition at line 201 of file q3files.h.

Referenced by LoadMapFromBSP(), and Q3_WriteBSPFile().

#define Q3_BSP_VERSION   46
 

Definition at line 204 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_HEADER_LUMPS   17
 

Definition at line 269 of file q3files.h.

#define Q3_LUMP_BRUSHES   8
 

Definition at line 260 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_BRUSHSIDES   9
 

Definition at line 261 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_DRAWINDEXES   11
 

Definition at line 263 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_DRAWVERTS   10
 

Definition at line 262 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_ENTITIES   0
 

Definition at line 252 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_FOGS   12
 

Definition at line 264 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_LEAFBRUSHES   6
 

Definition at line 258 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_LEAFS   4
 

Definition at line 256 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_LEAFSURFACES   5
 

Definition at line 257 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_LIGHTGRID   15
 

Definition at line 267 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_LIGHTMAPS   14
 

Definition at line 266 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_MODELS   7
 

Definition at line 259 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_NODES   3
 

Definition at line 255 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_PLANES   2
 

Definition at line 254 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_SHADERS   1
 

Definition at line 253 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_SURFACES   13
 

Definition at line 265 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_LUMP_VISIBILITY   16
 

Definition at line 268 of file q3files.h.

Referenced by Q3_LoadBSPFile(), and Q3_WriteBSPFile().

#define Q3_MAX_KEY   32
 

Definition at line 234 of file q3files.h.

#define Q3_MAX_MAP_AREAS   0x100
 

Definition at line 215 of file q3files.h.

#define Q3_MAX_MAP_BRUSHES   0x8000
 

Definition at line 210 of file q3files.h.

#define Q3_MAX_MAP_BRUSHSIDES   0x10000
 

Definition at line 219 of file q3files.h.

Referenced by Q3_FindVisibleBrushSides().

#define Q3_MAX_MAP_DRAW_INDEXES   0x80000
 

Definition at line 230 of file q3files.h.

#define Q3_MAX_MAP_DRAW_SURFS   0x20000
 

Definition at line 228 of file q3files.h.

#define Q3_MAX_MAP_DRAW_VERTS   0x80000
 

Definition at line 229 of file q3files.h.

#define Q3_MAX_MAP_ENTITIES   0x800
 

Definition at line 211 of file q3files.h.

#define Q3_MAX_MAP_ENTSTRING   0x10000
 

Definition at line 212 of file q3files.h.

#define Q3_MAX_MAP_FOGS   0x100
 

Definition at line 216 of file q3files.h.

#define Q3_MAX_MAP_LEAFBRUSHES   0x10000
 

Definition at line 222 of file q3files.h.

#define Q3_MAX_MAP_LEAFFACES   0x10000
 

Definition at line 221 of file q3files.h.

#define Q3_MAX_MAP_LEAFS   0x10000
 

Definition at line 220 of file q3files.h.

#define Q3_MAX_MAP_LIGHTGRID   0x400000
 

Definition at line 225 of file q3files.h.

#define Q3_MAX_MAP_LIGHTING   0x400000
 

Definition at line 224 of file q3files.h.

#define Q3_MAX_MAP_MODELS   0x400
 

Definition at line 209 of file q3files.h.

#define Q3_MAX_MAP_NODES   0x10000
 

Definition at line 218 of file q3files.h.

#define Q3_MAX_MAP_PLANES   0x10000
 

Definition at line 217 of file q3files.h.

#define Q3_MAX_MAP_PORTALS   0x10000
 

Definition at line 223 of file q3files.h.

#define Q3_MAX_MAP_SHADERS   0x400
 

Definition at line 213 of file q3files.h.

#define Q3_MAX_MAP_VISIBILITY   0x200000
 

Definition at line 226 of file q3files.h.

#define Q3_MAX_VALUE   1024
 

Definition at line 235 of file q3files.h.

#define SHADER_MAX_INDEXES   (6*SHADER_MAX_VERTEXES)
 

Definition at line 32 of file q3files.h.

Referenced by R_LoadMD3(), R_LoadMD4(), RB_CheckOverflow(), RB_EndSurface(), and RB_SurfaceGrid().

#define SHADER_MAX_VERTEXES   1000
 

Definition at line 31 of file q3files.h.

Referenced by R_LoadMD3(), R_LoadMD4(), RB_CheckOverflow(), RB_EndSurface(), RB_ShadowTessEnd(), and RB_SurfaceGrid().


Typedef Documentation

typedef struct md3Frame_s md3Frame_t
 

Referenced by R_ComputeFogNum(), R_ComputeLOD(), R_CullModel(), R_LoadMD3(), and R_ModelBounds().

typedef struct md3Tag_s md3Tag_t
 

Referenced by R_GetTag(), R_LerpTag(), and R_LoadMD3().


Enumeration Type Documentation

enum q3_mapSurfaceType_t
 

Enumeration values:
MST_BAD 
MST_PLANAR 
MST_PATCH 
MST_TRIANGLE_SOUP 
MST_FLARE 

Definition at line 343 of file q3files.h.

00343              {
00344     MST_BAD,
00345     MST_PLANAR,
00346     MST_PATCH,
00347     MST_TRIANGLE_SOUP,
00348     MST_FLARE
00349 } q3_mapSurfaceType_t;


Generated on Thu Aug 25 13:02:07 2005 for Quake III Arena by  doxygen 1.3.9.1