UFO: Alien Invasion
checklib.h File Reference

Performs check on a loaded mapfile, and makes changes that can be saved back to the source map. More...

#include "../common/shared.h"
Include dependency graph for checklib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NUM_NONE   -1
 
#define NUM_DIFF   -2
 
#define NUM_SAME   -3
 

Functions

void Check_Printf (const verbosityLevel_t msgVerbLevel, bool change, int entnum, int brushnum, const char *format,...) __attribute__((format(__printf__
 
void void Check_InitEntityDefs (void)
 
void Check_Free (void)
 free the mapbrush_t::nearBrushes, compositeSides and entitiesdef.h stuff. More...
 

Detailed Description

Performs check on a loaded mapfile, and makes changes that can be saved back to the source map.

Definition in file checklib.h.

Macro Definition Documentation

◆ NUM_DIFF

#define NUM_DIFF   -2

Definition at line 33 of file checklib.h.

◆ NUM_NONE

#define NUM_NONE   -1

constants that may be passed to Check_Printf in lieu of entity/brush numbers

Definition at line 32 of file checklib.h.

◆ NUM_SAME

#define NUM_SAME   -3

Definition at line 34 of file checklib.h.

Function Documentation

◆ Check_Free()

◆ Check_InitEntityDefs()

void void Check_InitEntityDefs ( void  )
Note
Check_Free calls ED_Free, which frees all outstanding malloc'd space from this function

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().

◆ Check_Printf()

void Check_Printf ( const verbosityLevel_t  msgVerbLevel,
bool  change,
int  entnum,
int  brushnum,
const char *  format,
  ... 
)