constants

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2019 License: Unlicense Imports: 0 Imported by: 6

Documentation

Index

Constants

View Source
const MAX_DISPTRIS = (1 << (MAX_MAP_DISP_POWER)) * ((1 << (MAX_MAP_DISP_POWER)) * 2)
View Source
const MAX_DISPVERTS = ((1 << (MAX_MAP_DISP_POWER)) + 1) * ((1 << (MAX_MAP_DISP_POWER)) + 1)
View Source
const MAX_MAP_AREAPORTALS = 1024
View Source
const MAX_MAP_AREAS = 256
View Source
const MAX_MAP_AREA_BYTES = (MAX_MAP_AREAS / 8)
View Source
const MAX_MAP_BRUSHES = 8192
View Source
const MAX_MAP_BRUSHSIDES = 65536
View Source
const MAX_MAP_CLUSTERS = 65536
View Source
const MAX_MAP_CUBEMAPSAMPLES = 1024
View Source
const MAX_MAP_DISPINFO = 2048
View Source
const MAX_MAP_DISP_POWER = 4
View Source
const MAX_MAP_DISP_TRIS = (1 << MAX_MAP_DISP_POWER) * (1 << MAX_MAP_DISP_POWER) * 2
View Source
const MAX_MAP_DISP_VERTS = MAX_MAP_DISPINFO * ((1 << MAX_MAP_DISP_POWER) + 1) * ((1 << MAX_MAP_DISP_POWER) + 1)
View Source
const MAX_MAP_EDGES = 256000
View Source
const MAX_MAP_ENTITIES = 8192
View Source
const MAX_MAP_FACES = 65536
View Source
const MAX_MAP_LEAFBRUSHES = 65536
View Source
const MAX_MAP_LEAFFACES = 65536
View Source
const MAX_MAP_LEAFS = 65536
View Source
const MAX_MAP_LEAFWATERDATA = 32768
View Source
const MAX_MAP_LIGHTING = 0x1000000
View Source
const MAX_MAP_MODELS = 1024

Common limits leaffaces, leafbrushes, planes, and verts are still bounded by 16 bit short limits

View Source
const MAX_MAP_NODES = 65536
View Source
const MAX_MAP_OVERLAYS = 512
View Source
const MAX_MAP_PLANES = 65536

Planes come in pairs, thus an even number.

View Source
const MAX_MAP_PORTALS = 65536
View Source
const MAX_MAP_PORTALVERTS = 128000
View Source
const MAX_MAP_PRIMINDICES = 65536
View Source
const MAX_MAP_PRIMITIVES = 32768

this is stuff for trilist/tristrips, etc.

View Source
const MAX_MAP_PRIMVERTS = 65536
View Source
const MAX_MAP_SURFEDGES = 512000
View Source
const MAX_MAP_TEXDATA = 2048
View Source
const MAX_MAP_TEXDATA_STRING_DATA = 256000
View Source
const MAX_MAP_TEXDATA_STRING_TABLE = 65536
View Source
const MAX_MAP_TEXINFO = 12288
View Source
const MAX_MAP_TEXTURES = 1024
View Source
const MAX_MAP_VERTNORMALINDICES = 256000
View Source
const MAX_MAP_VERTNORMALS = 256000
View Source
const MAX_MAP_VERTS = 65536
View Source
const MAX_MAP_VISIBILITY = 0x1000000 // increased BSPVERSION 7
View Source
const MAX_MAP_WATEROVERLAYS = 16384
View Source
const MAX_MAP_WORLDLIGHTS = 8192
View Source
const MIN_MAP_DISP_POWER = 2 // Minimum and maximum power a displacement can be.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL