| 
    icculus quake2 doxygen
    1.0 dev
    
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   34 #define IDPAKHEADER     (('K'<<24)+('C'<<16)+('A'<<8)+'P') 
   49 #define MAX_FILES_IN_PACK   4096 
   66     unsigned short  xmin,
ymin,xmax,ymax;
 
   68     unsigned char   palette[48];
 
   86 #define IDALIASHEADER       (('2'<<24)+('P'<<16)+('D'<<8)+'I') 
   87 #define ALIAS_VERSION   8 
   89 #define MAX_TRIANGLES   4096 
   90 #define MAX_VERTS       2048 
   91 #define MAX_FRAMES      512 
   92 #define MAX_MD2SKINS    32 
   93 #define MAX_SKINNAME    64 
  113 #define DTRIVERTX_V0   0 
  114 #define DTRIVERTX_V1   1 
  115 #define DTRIVERTX_V2   2 
  116 #define DTRIVERTX_LNI  3 
  117 #define DTRIVERTX_SIZE 4 
  170 #define IDSPRITEHEADER  (('2'<<24)+('S'<<16)+('D'<<8)+'I') 
  172 #define SPRITE_VERSION  2 
  219 #define IDBSPHEADER (('P'<<24)+('S'<<16)+('B'<<8)+'I') 
  222 #define BSPVERSION  38 
  228 #define MAX_MAP_MODELS      1024 
  229 #define MAX_MAP_BRUSHES     8192 
  230 #define MAX_MAP_ENTITIES    2048 
  231 #define MAX_MAP_ENTSTRING   0x40000 
  232 #define MAX_MAP_TEXINFO     8192 
  234 #define MAX_MAP_AREAS       256 
  235 #define MAX_MAP_AREAPORTALS 1024 
  236 #define MAX_MAP_PLANES      65536 
  237 #define MAX_MAP_NODES       65536 
  238 #define MAX_MAP_BRUSHSIDES  65536 
  239 #define MAX_MAP_LEAFS       65536 
  240 #define MAX_MAP_VERTS       65536 
  241 #define MAX_MAP_FACES       65536 
  242 #define MAX_MAP_LEAFFACES   65536 
  243 #define MAX_MAP_LEAFBRUSHES 65536 
  244 #define MAX_MAP_PORTALS     65536 
  245 #define MAX_MAP_EDGES       128000 
  246 #define MAX_MAP_SURFEDGES   256000 
  247 #define MAX_MAP_LIGHTING    0x200000 
  248 #define MAX_MAP_VISIBILITY  0x100000 
  253 #define MAX_VALUE   1024 
  262 #define LUMP_ENTITIES       0 
  263 #define LUMP_PLANES         1 
  264 #define LUMP_VERTEXES       2 
  265 #define LUMP_VISIBILITY     3 
  267 #define LUMP_TEXINFO        5 
  269 #define LUMP_LIGHTING       7 
  271 #define LUMP_LEAFFACES      9 
  272 #define LUMP_LEAFBRUSHES    10 
  273 #define LUMP_EDGES          11 
  274 #define LUMP_SURFEDGES      12 
  275 #define LUMP_MODELS         13 
  276 #define LUMP_BRUSHES        14 
  277 #define LUMP_BRUSHSIDES     15 
  279 #define LUMP_AREAS          17 
  280 #define LUMP_AREAPORTALS    18 
  281 #define HEADER_LUMPS        19 
  292     float       mins[3], maxs[3];
 
  333 #define CONTENTS_SOLID          1       // an eye is never valid in a solid 
  334 #define CONTENTS_WINDOW         2       // translucent, but not watery 
  335 #define CONTENTS_AUX            4 
  336 #define CONTENTS_LAVA           8 
  337 #define CONTENTS_SLIME          16 
  338 #define CONTENTS_WATER          32 
  339 #define CONTENTS_MIST           64 
  340 #define LAST_VISIBLE_CONTENTS   64 
  344 #define CONTENTS_AREAPORTAL     0x8000 
  346 #define CONTENTS_PLAYERCLIP     0x10000 
  347 #define CONTENTS_MONSTERCLIP    0x20000 
  350 #define CONTENTS_CURRENT_0      0x40000 
  351 #define CONTENTS_CURRENT_90     0x80000 
  352 #define CONTENTS_CURRENT_180    0x100000 
  353 #define CONTENTS_CURRENT_270    0x200000 
  354 #define CONTENTS_CURRENT_UP     0x400000 
  355 #define CONTENTS_CURRENT_DOWN   0x800000 
  357 #define CONTENTS_ORIGIN         0x1000000   // removed before bsping an entity 
  359 #define CONTENTS_MONSTER        0x2000000   // should never be on a brush, only in game 
  360 #define CONTENTS_DEADMONSTER    0x4000000 
  361 #define CONTENTS_DETAIL         0x8000000   // brushes to be added after vis leafs 
  362 #define CONTENTS_TRANSLUCENT    0x10000000  // auto set if any surface has trans 
  363 #define CONTENTS_LADDER         0x20000000 
  367 #define SURF_LIGHT      0x1     // value will hold the light strength 
  369 #define SURF_SLICK      0x2     // effects game physics 
  371 #define SURF_SKY        0x4     // don't draw, but add to skybox 
  372 #define SURF_WARP       0x8     // turbulent water warp 
  373 #define SURF_TRANS33    0x10 
  374 #define SURF_TRANS66    0x20 
  375 #define SURF_FLOWING    0x40    // scroll towards angle 
  376 #define SURF_NODRAW     0x80    // don't bother referencing the texture 
  409 #define MAXLIGHTMAPS    4 
  455 #define ANGLE_DOWN  -2 
  
 
unsigned short firstleafface
 
unsigned short firstleafbrush
 
struct texinfo_s texinfo_t
 
unsigned short numleafbrushes
 
unsigned short palette_type
 
unsigned offsets[MIPLEVELS]
 
unsigned short numleaffaces
 
unsigned short bytes_per_line