UFO: Alien Invasion
|
Go to the source code of this file.
Functions | |
void | SL_BSPSlice (const TR_TILE_TYPE *model, float thickness, int scale, bool singleFile, bool multipleContour) |
void SL_BSPSlice | ( | const TR_TILE_TYPE * | model, |
float | thickness, | ||
int | scale, | ||
bool | singleFile, | ||
bool | multipleContour | ||
) |
[in] | model | The tile-info about the bsp-file we want to slice |
[in] | thickness | the thickness of the brushes to render to the 2d map |
[in] | scale | The scale of the png as passed via -s param. eg. 4 means: 1/4 or 1 pixels = 4 mapunits |
[in] | singleFile | Put everything in one file. If false, create one file per level. As given by the -c param or the config default |
[in] | multipleContour | Also draw all contours below the current slice. As given by the -m param or the config default |
Definition at line 315 of file bspslicer.cpp.
References AddPointToBounds(), dBspModel_t::dbmBox, i, MAX_WORLD_WIDTH, AABB::maxs, AABB::mins, PATHFINDING_HEIGHT, SL_SliceTheWorld(), and UNIT_HEIGHT.
Referenced by main().