UFO: Alien Invasion
mapConfig_t Struct Reference

#include <shared.h>

Collaboration diagram for mapConfig_t:
Collaboration graph

Data Fields

float subdivideSize
 
int nice
 
bool verbose
 
verbosityLevel_t verbosity
 
bool noprune
 
bool nodetail
 
bool fulldetail
 
bool onlyents
 
bool exportLightmaps
 
bool nomerge
 
bool nowater
 
bool nocsg
 
bool noweld
 
bool noshare
 
bool nosubdiv
 
bool notjunc
 
bool verboseentities
 
bool nobackclip
 
int nolighting
 
int block_xl
 
int block_xh
 
int block_yl
 
int block_yh
 
float microvolume
 
bool extrasamples
 
bool soft
 
bool info
 
bool generateFootstepFile
 
bool generateMaterialFile
 
bool performMapCheck
 
bool chkEntities
 
bool chkContained
 
bool chkFillLevelFlags
 
bool chkIntersection
 
bool chkNodraws
 
bool chkBrushes
 
bool chkLevelFlags
 
bool chkTextures
 
bool chkMixedFaceContents
 
bool chkMMicro
 
bool chkZFight
 
float mapMicrovol
 
bool chkAll
 
bool fixMap
 
bool stats
 
bool generateTraceFile
 
bool generateDebugTrace
 
int sun_intensity [LIGHTMAP_MAX]
 
vec3_t sun_ambient_color [LIGHTMAP_MAX]
 
vec3_t sun_color [LIGHTMAP_MAX]
 
vec3_t sun_angles [LIGHTMAP_MAX]
 
vec3_t sun_normal [LIGHTMAP_MAX]
 
char gamedir [MAX_VAR]
 
float saturation
 
float contrast
 
float brightness
 
byte lightquant
 
float surface_scale
 
float entity_scale
 
int onlynewer
 
int compile_for_day
 

Detailed Description

Definition at line 54 of file shared.h.

Field Documentation

◆ block_xh

int mapConfig_t::block_xh

Definition at line 76 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ block_xl

int mapConfig_t::block_xl

Definition at line 76 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ block_yh

int mapConfig_t::block_yh

Definition at line 76 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ block_yl

int mapConfig_t::block_yl

Definition at line 76 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ brightness

float mapConfig_t::brightness

global light scale factor

Definition at line 113 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ chkAll

bool mapConfig_t::chkAll

Definition at line 97 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkBrushes

bool mapConfig_t::chkBrushes

Definition at line 90 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkContained

bool mapConfig_t::chkContained

Definition at line 86 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkEntities

bool mapConfig_t::chkEntities

Definition at line 85 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkFillLevelFlags

bool mapConfig_t::chkFillLevelFlags

Definition at line 87 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkIntersection

bool mapConfig_t::chkIntersection

Definition at line 88 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkLevelFlags

bool mapConfig_t::chkLevelFlags

Definition at line 91 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkMixedFaceContents

bool mapConfig_t::chkMixedFaceContents

Definition at line 93 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkMMicro

bool mapConfig_t::chkMMicro

Definition at line 94 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkNodraws

bool mapConfig_t::chkNodraws

Definition at line 89 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkTextures

bool mapConfig_t::chkTextures

Definition at line 92 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ chkZFight

bool mapConfig_t::chkZFight

Definition at line 95 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ compile_for_day

int mapConfig_t::compile_for_day

set this to 1 if you want to compile the day version of the lightmap

Definition at line 120 of file shared.h.

Referenced by main().

◆ contrast

float mapConfig_t::contrast

Definition at line 112 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ entity_scale

float mapConfig_t::entity_scale

entity lighting scale factor

Definition at line 116 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ exportLightmaps

bool mapConfig_t::exportLightmaps

will export the lightmaps and direction data into tga images

Definition at line 64 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ extrasamples

bool mapConfig_t::extrasamples

apply sampling to the lightmap- makes lightmap smoother

Definition at line 78 of file shared.h.

Referenced by U2M_Parameter().

◆ fixMap

bool mapConfig_t::fixMap

Definition at line 98 of file shared.h.

Referenced by main(), PrintMapName(), and U2M_Parameter().

◆ fulldetail

bool mapConfig_t::fulldetail

everything with content will get a detail brush

Definition at line 62 of file shared.h.

Referenced by U2M_Parameter().

◆ gamedir

char mapConfig_t::gamedir[MAX_VAR]

Definition at line 109 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ generateDebugTrace

bool mapConfig_t::generateDebugTrace

Definition at line 101 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ generateFootstepFile

bool mapConfig_t::generateFootstepFile

Definition at line 81 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ generateMaterialFile

bool mapConfig_t::generateMaterialFile

Definition at line 82 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ generateTraceFile

bool mapConfig_t::generateTraceFile

Definition at line 100 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ info

bool mapConfig_t::info

Definition at line 80 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ lightquant

byte mapConfig_t::lightquant

Definition at line 114 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ mapMicrovol

float mapConfig_t::mapMicrovol

-check mbr micro test before CSG

Definition at line 96 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ microvolume

float mapConfig_t::microvolume

-micro test after CSG

Definition at line 77 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ nice

int mapConfig_t::nice

Definition at line 56 of file shared.h.

Referenced by U2M_Parameter().

◆ nobackclip

bool mapConfig_t::nobackclip

does not filter out back clipping brushes - results in larger bsp files

Definition at line 74 of file shared.h.

Referenced by U2M_Parameter().

◆ nocsg

bool mapConfig_t::nocsg

If set, the call to chop the brushes is deactivated - there will be no reduction of intersecting brushes with non-intersecting brushes. The resulting bsp file will also be larger with this option turned on.

Definition at line 67 of file shared.h.

Referenced by U2M_Parameter().

◆ nodetail

bool mapConfig_t::nodetail

do not put any of the detail brushes in the bsp

Definition at line 61 of file shared.h.

Referenced by U2M_Parameter().

◆ nolighting

int mapConfig_t::nolighting

Definition at line 75 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ nomerge

bool mapConfig_t::nomerge

If set, faces that share the same edge on the same plane are not merged

Definition at line 65 of file shared.h.

Referenced by U2M_Parameter().

◆ noprune

bool mapConfig_t::noprune

If not set to true the brushlists of child nodes are combined. The bsp file will get larger and the compile time will increase

Definition at line 59 of file shared.h.

Referenced by U2M_Parameter().

◆ noshare

bool mapConfig_t::noshare

If true, keep identical edges in the bsp

Definition at line 70 of file shared.h.

Referenced by U2M_Parameter().

◆ nosubdiv

bool mapConfig_t::nosubdiv

If this is set to false faces that are larger than the given chop size will get subdivided

Definition at line 71 of file shared.h.

Referenced by U2M_Parameter().

◆ notjunc

bool mapConfig_t::notjunc

If true, do not break edges on tjunctions. This will decrease the compile times and should not be used on final compiles

Definition at line 72 of file shared.h.

Referenced by U2M_Parameter().

◆ nowater

bool mapConfig_t::nowater

does not add any CONTENTS_WATER brush to the bsp

Definition at line 66 of file shared.h.

Referenced by U2M_Parameter().

◆ noweld

bool mapConfig_t::noweld

use vertices from curTile->vertexes array or if false, create vertices from a hash table

Definition at line 69 of file shared.h.

Referenced by U2M_Parameter().

◆ onlyents

bool mapConfig_t::onlyents

will only update the entity data without recalculating the pathfinding or the lightmaps

Definition at line 63 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ onlynewer

int mapConfig_t::onlynewer

only compile (update) the bsp if the map file is newer

Definition at line 118 of file shared.h.

◆ performMapCheck

bool mapConfig_t::performMapCheck

Definition at line 84 of file shared.h.

Referenced by main(), PrintMapName(), and U2M_Parameter().

◆ saturation

float mapConfig_t::saturation

Definition at line 111 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ soft

bool mapConfig_t::soft

use different supersampling pattern for lightmap, which produces softer shadows

Definition at line 79 of file shared.h.

Referenced by U2M_Parameter().

◆ stats

bool mapConfig_t::stats

print stats and quit. implemented as a kind of check

Definition at line 99 of file shared.h.

Referenced by main(), and U2M_Parameter().

◆ subdivideSize

float mapConfig_t::subdivideSize

Definition at line 55 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ sun_ambient_color

vec3_t mapConfig_t::sun_ambient_color[LIGHTMAP_MAX]

Definition at line 104 of file shared.h.

Referenced by U2M_SetDefaultConfigValues().

◆ sun_angles

vec3_t mapConfig_t::sun_angles[LIGHTMAP_MAX]

Definition at line 106 of file shared.h.

Referenced by U2M_SetDefaultConfigValues().

◆ sun_color

vec3_t mapConfig_t::sun_color[LIGHTMAP_MAX]

Definition at line 105 of file shared.h.

Referenced by U2M_SetDefaultConfigValues().

◆ sun_intensity

int mapConfig_t::sun_intensity[LIGHTMAP_MAX]

Definition at line 103 of file shared.h.

Referenced by U2M_SetDefaultConfigValues().

◆ sun_normal

vec3_t mapConfig_t::sun_normal[LIGHTMAP_MAX]

Definition at line 107 of file shared.h.

Referenced by U2M_SetDefaultConfigValues().

◆ surface_scale

float mapConfig_t::surface_scale

surface lighting scale factor

Definition at line 115 of file shared.h.

Referenced by U2M_Parameter(), and U2M_SetDefaultConfigValues().

◆ verbose

bool mapConfig_t::verbose

Definition at line 57 of file shared.h.

◆ verboseentities

bool mapConfig_t::verboseentities

prints entity sub model information to the console

Definition at line 73 of file shared.h.

Referenced by U2M_Parameter().

◆ verbosity

verbosityLevel_t mapConfig_t::verbosity

Definition at line 58 of file shared.h.

Referenced by AbortPrint(), main(), U2M_Parameter(), and U2M_SetDefaultConfigValues().


The documentation for this struct was generated from the following file: