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

l_bsp_q3.h

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 
00023 #include "q3files.h"
00024 //#include "surfaceflags.h"
00025 
00026 extern  int             q3_nummodels;
00027 extern  q3_dmodel_t     *q3_dmodels;//[MAX_MAP_MODELS];
00028 
00029 extern  int             q3_numShaders;
00030 extern  q3_dshader_t    *q3_dshaders;//[Q3_MAX_MAP_SHADERS];
00031 
00032 extern  int             q3_entdatasize;
00033 extern  char            *q3_dentdata;//[Q3_MAX_MAP_ENTSTRING];
00034 
00035 extern  int             q3_numleafs;
00036 extern  q3_dleaf_t      *q3_dleafs;//[Q3_MAX_MAP_LEAFS];
00037 
00038 extern  int             q3_numplanes;
00039 extern  q3_dplane_t     *q3_dplanes;//[Q3_MAX_MAP_PLANES];
00040 
00041 extern  int             q3_numnodes;
00042 extern  q3_dnode_t      *q3_dnodes;//[Q3_MAX_MAP_NODES];
00043 
00044 extern  int             q3_numleafsurfaces;
00045 extern  int             *q3_dleafsurfaces;//[Q3_MAX_MAP_LEAFFACES];
00046 
00047 extern  int             q3_numleafbrushes;
00048 extern  int             *q3_dleafbrushes;//[Q3_MAX_MAP_LEAFBRUSHES];
00049 
00050 extern  int             q3_numbrushes;
00051 extern  q3_dbrush_t     *q3_dbrushes;//[Q3_MAX_MAP_BRUSHES];
00052 
00053 extern  int             q3_numbrushsides;
00054 extern  q3_dbrushside_t *q3_dbrushsides;//[Q3_MAX_MAP_BRUSHSIDES];
00055 
00056 extern  int             q3_numLightBytes;
00057 extern  byte            *q3_lightBytes;//[Q3_MAX_MAP_LIGHTING];
00058 
00059 extern  int             q3_numGridPoints;
00060 extern  byte            *q3_gridData;//[Q3_MAX_MAP_LIGHTGRID];
00061 
00062 extern  int             q3_numVisBytes;
00063 extern  byte            *q3_visBytes;//[Q3_MAX_MAP_VISIBILITY];
00064 
00065 extern  int             q3_numDrawVerts;
00066 extern  q3_drawVert_t   *q3_drawVerts;//[Q3_MAX_MAP_DRAW_VERTS];
00067 
00068 extern  int             q3_numDrawIndexes;
00069 extern  int             *q3_drawIndexes;//[Q3_MAX_MAP_DRAW_INDEXES];
00070 
00071 extern  int             q3_numDrawSurfaces;
00072 extern  q3_dsurface_t   *q3_drawSurfaces;//[Q3_MAX_MAP_DRAW_SURFS];
00073 
00074 extern  int             q3_numFogs;
00075 extern  q3_dfog_t       *q3_dfogs;//[Q3_MAX_MAP_FOGS];
00076 
00077 extern  char            q3_dbrushsidetextured[Q3_MAX_MAP_BRUSHSIDES];
00078 
00079 void Q3_LoadBSPFile(struct quakefile_s *qf);
00080 void Q3_FreeMaxBSP(void);
00081 void Q3_ParseEntities (void);

Generated on Thu Aug 25 12:37:16 2005 for Quake III Arena by  doxygen 1.3.9.1