|
UFO: Alien Invasion
|
#include "../../../shared/ufotypes.h"#include "../../../common/unzip.h"#include "../../../common/mem.h"#include "../../../common/filesys.h"#include "../../../shared/shared.h"#include "../../../shared/mathlib.h"#include "../../../shared/defines.h"#include "../../../shared/typedefs.h"#include "../../../shared/parse.h"#include "../../../shared/byte.h"

Go to the source code of this file.
Data Structures | |
| struct | mapConfig_t |
| struct | threadstate_t |
Macros | |
| #define | SYS_VRB 0 /* verbose support (on/off) */ |
| #define | SYS_STD 1 /* standard print level */ |
| #define | SYS_WRN 2 /* warnings */ |
| #define | SYS_ERR 3 /* error */ |
Enumerations | |
| enum | verbosityLevel_t { VERB_SILENT_EXCEPT_ERROR , VERB_CHECK , VERB_MAPNAME , VERB_LESS , VERB_NORMAL , VERB_EXTRA , VERB_DUMP , VERB_NUM } |
| verbosity levels for use in calls to Verb_Printf and on the command line -v <int> More... | |
Functions | |
| bool | AbortPrint (const verbosityLevel_t importance) |
| return nonzero if printing should be aborted based on the command line verbosity level and the importance of the message | |
| void | Verb_Printf (const verbosityLevel_t importance, const char *format,...) __attribute__((format(__printf__ |
| void | ThreadLock (void) |
| Lock the shared data by the calling thread. | |
| void | ThreadUnlock (void) |
| Release the lock on the shared data. | |
| void | RunThreadsOn (void(*func)(unsigned int), unsigned int workcount, bool progress, const char *id) |
| void | RunSingleThreadOn (void(*func)(unsigned int), unsigned int workcount, bool progress, const char *id) |
| void | Sys_Error (const char *error,...) __attribute__((noreturn |
| void | format (__printf__, 1, 2))) |
| void | Com_Printf (const char *format,...) __attribute__((format(__printf__ |
Variables | |
| mapConfig_t | config |
| char | baseFilename [MAX_OSPATH] |
| threadstate_t | threadstate |
| memPool_t * | com_genericPool |
| memPool_t * | com_fileSysPool |
| enum verbosityLevel_t |
verbosity levels for use in calls to Verb_Printf and on the command line -v <int>
| bool AbortPrint | ( | const verbosityLevel_t | msgVerbLevel | ) |
return nonzero if printing should be aborted based on the command line verbosity level and the importance of the message
| msgVerbLevel | insignificance of the message. Larger numbers mean the message is less important. The message will first be printed if the msgVerbLevel is equal to the config.verbosity. |
Definition at line 189 of file ufo2map.cpp.
References config.
Referenced by Check_Printf(), and Verb_Printf().
| void Com_Printf | ( | const char * | format, |
| ... ) |
References __attribute__, Com_Printf(), and format().
| void format | ( | __printf__ | , |
| 1 | , | ||
| 2 | ) |
References __attribute__, and format().
| void RunSingleThreadOn | ( | void(* | func )(unsigned int), |
| unsigned int | workcount, | ||
| bool | progress, | ||
| const char * | id ) |
Referenced by DoRouting(), and ProcessWorldModel().
| void RunThreadsOn | ( | void(* | func )(unsigned int), |
| unsigned int | workcount, | ||
| bool | progress, | ||
| const char * | id ) |
Referenced by LightWorld().
| void Sys_Error | ( | const char * | error, |
| ... ) |
Lock the shared data by the calling thread.
Definition at line 112 of file threads.cpp.
References lock, Sys_Error(), and threadstate.
Referenced by FinalLightFace(), and GetThreadWork().
Release the lock on the shared data.
Definition at line 126 of file threads.cpp.
References lock, Sys_Error(), and threadstate.
Referenced by FinalLightFace(), and GetThreadWork().
| void Verb_Printf | ( | const verbosityLevel_t | importance, |
| const char * | format, | ||
| ... ) |
References __attribute__, and format().
Referenced by ASE_KeyMAP_DIFFUSE(), ASE_Load(), BrushContents(), BrushlistCalcStats(), BuildLights(), BuildNodeChildren(), BuildTree(), BuildTree_r(), CalcLightinfoVectors(), CalcTextureReflectivity(), Check_Stats(), CheckConnectionsThread(), ChopBrushes(), ConstructLevelNodes_r(), CreateBrushWindings(), EmitDrawNode_r(), EmitLeaf(), EndBSPFile(), FindPortalSide(), FixTjuncs(), LeafNode(), LoadMapFile(), MakeBspBrushList(), MakeFaces(), MarkVisibleSides(), ParseBrush(), ProcessLevel(), ProcessModels(), PruneNodes(), RunThreadsOn(), SplitBrush(), SplitBrushList(), WriteBSP(), and WriteMapFile().
|
extern |
This is used for extra file output functions
Definition at line 55 of file ufo2map.cpp.
Referenced by DoRouting(), main(), and RT_WriteCSVFiles().
|
extern |
Definition at line 71 of file common.cpp.
Referenced by FS_AddGameDirectory(), FS_BuildFileList(), FS_CopyFile(), FS_GetMaps(), FS_ListFiles(), FS_LoadFile(), FS_LoadPackFile(), FS_Shutdown(), main(), Qcommon_Init(), TEST_Init(), and TEST_Shutdown().
|
extern |
Definition at line 72 of file common.cpp.
Referenced by AllocInventoryMemory(), AllocInventoryMemory(), CL_AllocateActorSkin(), Com_ParseEquipment(), Com_ParseFire(), Com_ParseImplant(), Com_ParseItem(), Com_ParseItemEffect(), Com_ParseMapDefinition(), Com_ParseTerrain(), Com_ParseUGVs(), FreeAllInventory(), FreeAllInventory(), Key_SetBinding(), LIST_Add(), LIST_AllocateEntry(), main(), Qcommon_Init(), Schedule_Timer(), SV_LoadModelAABB(), TEST_Init(), TEST_Shutdown(), and UI_ResetData().
|
extern |
Definition at line 49 of file ufo2map.cpp.
|
extern |
Definition at line 32 of file threads.cpp.
Referenced by AllocBrush(), AllocPortal(), BuildTree_r(), FreeBrush(), FreePortal(), FreeTree_r(), GetThreadWork(), main(), RunSingleThreadOn(), RunThreads(), RunThreadsOn(), SelectSplitSide(), ThreadLock(), ThreadUnlock(), and U2M_Parameter().