UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
levels.h File Reference

Go to the source code of this file.

Functions

void PushInfo (void)
 
void PopInfo (void)
 
void ProcessLevelEntityNumber (int entityNumber)
 
void ProcessLevel (unsigned int levelnum)
 process brushes with that level mask More...
 

Function Documentation

void ProcessLevel ( unsigned int  levelnum)

process brushes with that level mask

Parameters
[in]levelnumis the level mask
Note
levelnum 256: weaponclip-level 257: actorclip-level 258: stepon-level 259: tracing structure
See also
ProcessWorldModel
ConstructLevelNodes_r
Note
Should be reentrant as each thread has a unique levelnum at any given time
Todo:
Check what happens if two threads do the memcpy

Definition at line 238 of file levels.cpp.

References config, ConstructLevelNodes_r(), curTile, entityNum, dBspModel_t::firstface, dBspModel_t::headnode, mapbrushes, MAX_WORLD_WIDTH, dMapTile_t::models, dBspModel_t::numfaces, dMapTile_t::numfaces, nummapbrushes, dMapTile_t::nummodels, OBJZERO, VERB_EXTRA, and Verb_Printf().

Referenced by ProcessWorldModel().

void ProcessLevelEntityNumber ( int  entityNumber)

Definition at line 222 of file levels.cpp.

References entityNum.

Referenced by ProcessWorldModel().