|
UFO: Alien Invasion
|
Header for various formats like pak, and model formats as well as bsp format. More...
#include "../shared/defines.h"

Go to the source code of this file.
Data Structures | |
| struct | dMD2Coord_t |
| These two shorts are used to map a vertex onto a skin The horizontal axis position is given by s, and the vertical axis position is given by t. The ranges for s and t are greater than or equal to 0 and less than skinWidth and skinHeight. More... | |
| struct | dMD2Triangle_t |
| struct | dMD2TriangleVertex_t |
| struct | dMD2Frame_t |
| is a variable sized structure, however all frame_t structures within the same file will have the same size (numVertices in the header) More... | |
| struct | dMD2Model_t |
| the glcmd format: a positive integer starts a tristrip command, followed by that many vertex structures. a negative integer starts a trifan command, followed by -x vertexes a zero indicates the end of the command list. a vertex consists of a floating point s, a floating point t, and an integer vertex index. More... | |
| struct | dMD2tag_t |
| Tag file header structure - 32 byte A tag for a model must have the same amount of frames as the model. A tag is nothing more than a coordinate. It's used to e.g. determine the hand of a model when the walking animation is played. The renderer has to know where to place the weapon. More... | |
| struct | dmd3coord_t |
| struct | dmd3vertex_t |
| struct | dmd3frame_t |
| struct | dorientation_t |
| struct | dmd3tag_t |
| struct | dmd3skin_t |
| struct | dmd3mesh_t |
| struct | dmd3_t |
| struct | lump_t |
| Directory of the different data blocks. More... | |
| struct | dBspHeader_t |
| The BSP header definition with the data block directory. More... | |
Macros | |
| #define | IDMDXHEADER "UFOMDX" |
| #define | MDX_VERSION 1 |
| #define | IDALIASHEADER (('2'<<24)+('P'<<16)+('D'<<8)+'I') |
| #define | IDTAGHEADER (('2'<<24)+('P'<<16)+('D'<<8)+'J') |
| #define | MD2_ALIAS_VERSION 8 |
| #define | TAG_VERSION 1 |
| #define | MD2_MAX_TRIANGLES 4096 |
| #define | MD2_MAX_VERTS 2048 |
| #define | MD2_MAX_FRAMES 1024 |
| #define | MD2_MAX_SKINS 32 |
| #define | MD2_MAX_SKINNAME 64 |
| #define | MD2_MAX_TAGNAME 64 |
| #define | IDMD3HEADER (('3'<<24)+('P'<<16)+('D'<<8)+'I') |
| #define | MD3_ALIAS_VERSION 15 |
| #define | MD3_ALIAS_MAX_LODS 4 |
| #define | MD3_MAX_TRIANGLES 8192 /* per mesh */ |
| #define | MD3_MAX_VERTS 4096 /* per mesh */ |
| #define | MD3_MAX_SHADERS 256 /* per mesh */ |
| #define | MD3_MAX_FRAMES 1024 /* per model */ |
| #define | MD3_MAX_MESHES 32 /* per model */ |
| #define | MD3_MAX_TAGS 16 /* per frame */ |
| #define | MD3_MAX_PATH 64 |
| #define | MD3_XYZ_SCALE (1.0f/64.0f) |
| #define | IDBSPHEADER (('P'<<24)+('S'<<16)+('B'<<8)+'I') |
| #define | BSPVERSION 79 |
| #define | BSP_SwapHeader(header, name) |
Header for various formats like pak, and model formats as well as bsp format.
Definition in file qfiles.h.
| #define BSP_SwapHeader | ( | header, | |
| name ) |
Definition at line 269 of file qfiles.h.
Referenced by CM_AddMapTile(), LoadBSPFile(), and R_ModAddMapTile().
| #define BSPVERSION 79 |
Definition at line 253 of file qfiles.h.
Referenced by CheckBSPFile(), CM_AddMapTile(), LoadBSPFile(), R_ModAddMapTile(), and WriteBSPFile().
| #define IDALIASHEADER (('2'<<24)+('P'<<16)+('D'<<8)+'I') |
Definition at line 40 of file qfiles.h.
Referenced by LoadModel(), MD2HeaderCheck(), ModelWorker(), R_LoadModelAsync(), and SV_LoadModelAABB().
| #define IDBSPHEADER (('P'<<24)+('S'<<16)+('B'<<8)+'I') |
little-endian "IBSP"
Definition at line 251 of file qfiles.h.
Referenced by CheckBSPFile(), LoadBSPFile(), ModelWorker(), R_LoadModelAsync(), and WriteBSPFile().
| #define IDMD3HEADER (('3'<<24)+('P'<<16)+('D'<<8)+'I') |
Definition at line 159 of file qfiles.h.
Referenced by LoadModel(), ModelWorker(), R_LoadModelAsync(), R_ModLoadAliasMD3Model(), and SV_LoadModelAABB().
| #define IDMDXHEADER "UFOMDX" |
Definition at line 33 of file qfiles.h.
Referenced by R_ModLoadMDX(), and WriteToFile().
| #define MD2_ALIAS_VERSION 8 |
Definition at line 42 of file qfiles.h.
Referenced by MD2HeaderCheck(), and R_ModLoadAliasMD2Mesh().
| #define MD2_MAX_FRAMES 1024 |
Definition at line 47 of file qfiles.h.
Referenced by R_ModLoadAliasMD2Model().
| #define MD2_MAX_SKINNAME 64 |
Definition at line 49 of file qfiles.h.
Referenced by MD2Check(), MD2Info(), MD2SkinEdit(), MD2SkinFix(), MD2SkinNum(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), and R_ModLoadTags().
| #define MD2_MAX_SKINS 32 |
Definition at line 48 of file qfiles.h.
Referenced by MD2HeaderCheck(), MD2SkinNum(), R_ModLoadAliasMD2MeshIndexed(), and R_ModLoadAliasMD2MeshUnindexed().
| #define MD2_MAX_TRIANGLES 4096 |
Definition at line 45 of file qfiles.h.
Referenced by MD2HeaderCheck(), R_ModLoadAliasMD2MeshIndexed(), and R_ModLoadAliasMD2MeshUnindexed().
| #define MD2_MAX_VERTS 2048 |
Definition at line 46 of file qfiles.h.
Referenced by MD2HeaderCheck(), R_ModLoadAliasMD2MeshIndexed(), and R_ModLoadAliasMD2MeshUnindexed().
| #define MD3_ALIAS_VERSION 15 |
Definition at line 161 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_FRAMES 1024 /* per model */ |
Definition at line 167 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_MESHES 32 /* per model */ |
Definition at line 168 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_PATH 64 |
Definition at line 170 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_SHADERS 256 /* per mesh */ |
Definition at line 166 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_TAGS 16 /* per frame */ |
Definition at line 169 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_TRIANGLES 8192 /* per mesh */ |
Definition at line 164 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_MAX_VERTS 4096 /* per mesh */ |
Definition at line 165 of file qfiles.h.
Referenced by R_ModLoadAliasMD3Model().
| #define MD3_XYZ_SCALE (1.0f/64.0f) |
| #define MDX_VERSION 1 |
Definition at line 34 of file qfiles.h.
Referenced by R_ModLoadMDX(), and WriteToFile().
| #define TAG_VERSION 1 |
Definition at line 43 of file qfiles.h.
Referenced by R_ModLoadTags().