UFO: Alien Invasion
Loading...
Searching...
No Matches
dBspSurface_t Struct Reference

#include <typedefs.h>

Collaboration diagram for dBspSurface_t:
Collaboration graph

Data Fields

uint16_t planenum
short side
int firstedge
short numedges
short texinfo
int lightofs [LIGHTMAP_MAX]

Detailed Description

Definition at line 403 of file typedefs.h.

Field Documentation

◆ firstedge

int dBspSurface_t::firstedge

we must support > 64k edges

Definition at line 407 of file typedefs.h.

Referenced by BuildFaceExtents(), EmitFace(), FacesWithVert(), R_ModLoadSurfaces(), SampleNormal(), and SwapBSPFile().

◆ lightofs

int dBspSurface_t::lightofs[LIGHTMAP_MAX]

lighting info start of [surfsize] samples

Definition at line 412 of file typedefs.h.

Referenced by EmitFace(), ExportLightmap(), R_ModLoadSurfaces(), and SwapBSPFile().

◆ numedges

short dBspSurface_t::numedges

◆ planenum

uint16_t dBspSurface_t::planenum

planenum is used in lighting stage, but not in ufo

Definition at line 404 of file typedefs.h.

Referenced by BuildFacelights(), BuildPatch(), BuildVertexNormals(), EmitFace(), R_ModLoadSurfaces(), and SwapBSPFile().

◆ side

short dBspSurface_t::side

◆ texinfo

short dBspSurface_t::texinfo

index in the global texinfo array

Definition at line 409 of file typedefs.h.

Referenced by BuildFaceExtents(), BuildFacelights(), CalcLightinfoVectors(), EmissiveLight(), EmitFace(), FacesWithVert(), R_ModLoadSurfaces(), and SwapBSPFile().


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