UFO: Alien Invasion
|
functions for check.c More...
#include "checklib.h"
#include "../ufo2map.h"
#include "../../../shared/entitiesdef.h"
#include "../bsp.h"
#include "check.h"
Go to the source code of this file.
Functions | |
void | Check_Printf (verbosityLevel_t msgVerbLevel, bool change, int entnum, int brushnum, const char *format,...) |
decides wether to proceed with output based on verbosity and ufo2map's mode: check/fix/compile More... | |
void | Check_InitEntityDefs (void) |
void | Check_Free (void) |
free the mapbrush_t::nearBrushes, compositeSides and entitiesdef.h stuff. More... | |
functions for check.c
Definition in file checklib.cpp.
free the mapbrush_t::nearBrushes, compositeSides and entitiesdef.h stuff.
Definition at line 153 of file checklib.cpp.
References compositeSides, ED_Free(), i, mapbrushes, Mem_Free, compositeSide_s::memberSides, mapbrush_s::nearBrushes, numCompositeSides, nummapbrushes, compositeSide_s::numMembers, and mapbrush_s::numNear.
Referenced by main().
Definition at line 131 of file checklib.cpp.
References ED_ERROR, ED_GetLastError(), ED_Parse(), FS_LoadFile(), Mem_Free, numEntityDefs, and Sys_Error().
Referenced by Check_Stats(), and CheckEntities().
void Check_Printf | ( | verbosityLevel_t | msgVerbLevel, |
bool | change, | ||
int | entnum, | ||
int | brushnum, | ||
const char * | format, | ||
... | |||
) |
decides wether to proceed with output based on verbosity and ufo2map's mode: check/fix/compile
msgVerbLevel | The level of importance of the message to be compared to the -v value |
change | true if there will be an automatic change on -fix |
entnum | the entity the brush is from.send NUM_NONE if the report is a summary, not regarding a specific entity or brush |
brushnum | the brush that the report is about. send NUM_NONE, if the report only regards an entity |
format | A printf type formatting string |
Definition at line 49 of file checklib.cpp.
References AbortPrint(), config, NUM_NONE, NUM_SAME, PrintMapName(), Q_vsnprintf(), VERB_MAPNAME, and VERB_NORMAL.
Referenced by Check_BrushIntersection(), Check_ContainedBrushes(), Check_DuplicateBrushPlanes(), Check_EntityWithBrushes(), Check_FindCompositeSides(), Check_SidesOverlap(), CheckBrushes(), CheckEntities(), CheckFillLevelFlags(), CheckLevelFlags(), CheckMapMicro(), CheckMixedFaceContents(), CheckNodraws(), CheckPropagateParserContentFlags(), CheckTexturesBasedOnFlags(), CheckZFighting(), DisplayContentFlags(), and SetImpliedFlags().