|
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 | |||
| ) |
| #define IDBSPHEADER (('P'<<24)+('S'<<16)+('B'<<8)+'I') |