UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
face_s Struct Reference

#include <map.h>

Data Fields

struct face_snext
 
struct face_smerged
 
struct face_ssplit [2]
 
struct portal_sportal
 
int texinfo
 
uint16_t planenum
 
uint32_t contentFlags
 
winding_tw
 
int numpoints
 
int vertexnums [MAXEDGES]
 

Detailed Description

Definition at line 42 of file map.h.

Field Documentation

uint32_t face_s::contentFlags

faces in different contents can't merge

Definition at line 54 of file map.h.

Referenced by FaceFromPortal(), GetEdge(), and TryMerge().

struct face_s* face_s::merged

the chain of faces off of a node can be merged or split, but each face_t along the way will remain in the chain until the entire tree is freed if set, this face isn't valid anymore

Definition at line 48 of file map.h.

Referenced by EmitFace(), EmitFaceVertexes(), FixFaceEdges(), MergeNodeFaces(), NewFaceFromFace(), SubdivideFace(), and TryMerge().

struct face_s* face_s::next
int face_s::numpoints

Definition at line 56 of file map.h.

Referenced by EmitFace(), FaceFromSuperverts(), and FixFaceEdges().

uint16_t face_s::planenum

Definition at line 53 of file map.h.

Referenced by EmitFace(), FaceFromPortal(), and TryMerge().

struct portal_s* face_s::portal

Definition at line 51 of file map.h.

Referenced by FaceFromPortal().

struct face_s* face_s::split[2]

if set, this face isn't valid anymore

Definition at line 49 of file map.h.

Referenced by EmitFace(), EmitFaceVertexes(), FaceFromSuperverts(), FixFaceEdges(), MergeNodeFaces(), NewFaceFromFace(), and SubdivideFace().

int face_s::texinfo

Definition at line 52 of file map.h.

Referenced by EmitFace(), FaceFromPortal(), SubdivideFace(), and TryMerge().

int face_s::vertexnums[MAXEDGES]

Definition at line 57 of file map.h.

Referenced by EmitFace(), FaceFromSuperverts(), and FixFaceEdges().

winding_t* face_s::w

The documentation for this struct was generated from the following file: