QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vis.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  basethread_t
 
struct  cluster_s
 
struct  passage_s
 
struct  portal_t
 
struct  pstack_s
 
struct  seperating_plane_s
 
struct  threaddata_s
 
struct  visstat_t
 
struct  winding_t
 

Macros

#define LOCK
 
#define MAX_POINTS_ON_WINDING   64
 
#define MAX_PORTALS   32768
 
#define MAX_PORTALS_ON_CLUSTER   128
 
#define ON_EPSILON   0.1
 
#define PORTALFILE   "PRT1"
 
#define PORTALFILE2   "PRT2"
 
#define PORTALFILE_AM   "PRT1-AM"
 
#define UNLOCK
 

Typedefs

typedef struct cluster_s cluster_t
 
typedef struct passage_s passage_t
 
typedef struct pstack_s pstack_t
 
typedef struct seperating_plane_s sep_t
 
typedef struct threaddata_s threaddata_t
 

Enumerations

enum  vstatus_t { stat_none, stat_selected, stat_working, stat_done }
 

Functions

void CalcAmbientSounds (void)
 
winding_tClipWinding (winding_t *in, const plane_t *split, qboolean keepon)
 
void ClusterFlow (int clusternum)
 
winding_tCopyWinding (const winding_t *w)
 Create a new winding with the same points as the given winding. More...
 
void FreeWinding (winding_t *w)
 Free the winding. More...
 
winding_tNewWinding (int points)
 Create a new, empty winding with space for the specified number of points. More...
 
void PortalBase (basethread_t *thread, portal_t *portal)
 
void PortalFlow (threaddata_t *data, portal_t *portal)
 

Variables

int bitbytes
 
int bitbytes_l
 
int bitlongs
 
struct bsp_sbsp
 
cluster_tclusters
 
intleafcluster
 
int numportals
 
int numrealleafs
 
int portalclusters
 
portal_tportals
 
byteuncompressed
 

Macro Definition Documentation

#define LOCK
#define MAX_POINTS_ON_WINDING   64
#define MAX_PORTALS   32768
#define MAX_PORTALS_ON_CLUSTER   128
#define ON_EPSILON   0.1
#define PORTALFILE   "PRT1"
#define PORTALFILE2   "PRT2"
#define PORTALFILE_AM   "PRT1-AM"
#define UNLOCK

Typedef Documentation

typedef struct cluster_s cluster_t
typedef struct passage_s passage_t
typedef struct pstack_s pstack_t
typedef struct seperating_plane_s sep_t
typedef struct threaddata_s threaddata_t

Enumeration Type Documentation

enum vstatus_t
Enumerator
stat_none 
stat_selected 
stat_working 
stat_done 

Function Documentation

void CalcAmbientSounds ( void  )
winding_t* ClipWinding ( winding_t in,
const plane_t split,
qboolean  keepon 
)
void ClusterFlow ( int  clusternum)
void PortalBase ( basethread_t thread,
portal_t portal 
)
void PortalFlow ( threaddata_t data,
portal_t portal 
)

Variable Documentation

int bitbytes
int bitbytes_l
int bitlongs
cluster_t* clusters
int* leafcluster
int numportals
int numrealleafs
int portalclusters
portal_t* portals
byte* uncompressed