UFO: Alien Invasion
Loading...
Searching...
No Matches
levels.h File Reference
This graph shows which files directly or indirectly include this file:

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

Function Documentation

◆ PopInfo()

void PopInfo ( void )

◆ ProcessLevel()

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, dBspModel_t::numfaces, nummapbrushes, OBJZERO, VERB_EXTRA, and Verb_Printf().

Referenced by ProcessWorldModel().

◆ ProcessLevelEntityNumber()

void ProcessLevelEntityNumber ( int entityNumber)

Definition at line 222 of file levels.cpp.

References entityNum.

Referenced by ProcessWorldModel().

◆ PushInfo()

void PushInfo ( void )