#include "map.h"
#include "bsp.h"
Go to the source code of this file.
Functions | |
static void | ProcessWorldModel (void) |
static void | ProcessSubModel (int entityNum) |
void | ProcessModels (const char *filename) |
Variables | |
int | entity_num |
dMapTile_t * | curTile |
mapTiles_t | mapTiles |
void ProcessModels | ( | const char * | filename | ) |
Definition at line 107 of file bsp.c.
References BeginBSPFile(), config, EndBSPFile(), entities, entity_num, num_entities, dMapTile_t::nummodels, ProcessSubModel(), ProcessWorldModel(), qfalse, VERB_EXTRA, and Verb_Printf().
Referenced by main().
static void ProcessSubModel | ( | int | entityNum | ) | [static] |
Definition at line 62 of file bsp.c.
References BeginModel(), BrushBSP(), ChopBrushes(), Com_Printf(), config, EndModel(), entities, entity_t::epairs, entity_t::firstbrush, FixTjuncs(), FreeTree(), dBspModel_t::headnode, tree_t::headnode, epair_s::key, MakeBspBrushList(), MakeFaces(), MakeTreePortals(), MarkVisibleSides(), MAX_WORLD_WIDTH, dMapTile_t::models, entity_t::numbrushes, dMapTile_t::nummodels, node_s::planenum, PLANENUM_LEAF, Sys_Error(), epair_s::value, ValueForKey(), and WriteBSP().
Referenced by ProcessModels().
static void ProcessWorldModel | ( | void | ) | [static] |
Definition at line 39 of file bsp.c.
References brush_end, brush_start, ClearBounds(), config, DoRouting(), entities, entity_t::firstbrush, NUM_REGULAR_MODELS, entity_t::numbrushes, dMapTile_t::nummodels, ProcessLevel(), RunSingleThreadOn(), VERB_NORMAL, worldMaxs, and worldMins.
Referenced by ProcessModels().
Definition at line 33 of file bsp.c.
Referenced by BeginBSPFile(), BeginModel(), BuildFaceExtents(), BuildFacelights(), BuildNodeChildren(), BuildPatch(), BuildPatches(), BuildVertexNormals(), CalcLightinfoExtents(), CalcLightinfoVectors(), CalcTextureReflectivity(), CalcTextureSize(), CloseTracingNodes(), DoRouting(), EmissiveLight(), EmitBrushes(), EmitDrawNode_r(), EmitFace(), EmitFaceVertexes(), EmitLeaf(), EmitPlanes(), EndModel(), ExportLightmap(), FaceFromPortal(), FacesWithVert(), FinalLightFace(), FixFaceEdges(), GetEdge(), GetVertexnum(), HasLight(), LightWorld(), LoadBSPFile(), LoadMapFile(), MakeTracingNodes(), ParseEntities(), PopInfo(), PrintBSPFileSizes(), ProcessLevel(), PushInfo(), SampleNormal(), SubdivideFace(), SwapBSPFile(), TestEdge(), TexinfoForBrushTexture(), TR_TestLineSingleTile(), UnparseEntities(), WindingFromFace(), WriteBSP(), WriteBSPBrushMap(), and WriteBSPFile().
int entity_num |
Definition at line 28 of file bsp.c.
Referenced by ConstructLevelNodes_r(), and ProcessModels().