QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
portals.c File Reference

Macros

#define PORTALFILE   "PRT1-AM"
 

Functions

portal_tAllocPortal (void)
 Allocate a new portal. More...
 
void FreeAllPortals (struct node_s *node)
 Free all portals from a node and its decendents. More...
 
void FreePortal (portal_t *p)
 Free a portal. More...
 
void PortalizeWorld (struct node_s *headnode)
 Builds the exact polyhedrons for the nodes and leafs. More...
 
void PortalizeWorldDetail (struct node_s *headnode)
 Builds the exact polyhedrons for the nodes and leafs. More...
 
void WritePortalfile (struct node_s *headnode)
 Write the map's portals to the portal file. More...
 

Variables

int c_activeportals
 
int c_peakportals
 
int num_realleafs
 
int num_visleafs
 
int num_visportals
 
node_t outside_node
 
FILE * pf