Files
src/miniquake2/format/bsp.ml
Provides miniquake2 format bsp facilities for this project.
- Package
miniquake2.format.bsp- Reachable
- Yes
Imports
Declarations
# decompressVisibility
function decompressVisibility(visibility, cluster, kind)
Decompress visibility.
| Parameter | Type | Default | Description |
|---|
visibility | dynamic | — | visibility value consumed by this operation. |
cluster | dynamic | — | cluster value consumed by this operation. |
kind | dynamic | — | kind value consumed by this operation. |
View source
# emptyArray
function emptyArray(count)
Report whether empty array.
| Parameter | Type | Default | Description |
|---|
count | dynamic | — | Number of items or units to process. |
View source
# parse
function parse(data, name)
Parses parse for the miniquake2 format bsp workflow.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
name | dynamic | — | Name of the affected item. |
View source
# parseAreaPortals
function parseAreaPortals(data, lump)
Parse area portals.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseAreas
function parseAreas(data, lump)
Parse areas.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseBrushes
function parseBrushes(data, lump)
Parse brushes.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseBrushSides
function parseBrushSides(data, lump)
Parse brush sides.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseEdges
function parseEdges(data, lump)
Parse edges.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseFaces
function parseFaces(data, lump)
Parse faces.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseI32Array
function parseI32Array(data, lump, name)
Parse i 32 array.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
View source
# parseLeafs
function parseLeafs(data, lump)
Parse leafs.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseLumps
function parseLumps(data)
Parse lumps.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
View source
# parseModels
function parseModels(data, lump)
Parse models.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseNodes
function parseNodes(data, lump)
Parse nodes.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parsePlanes
function parsePlanes(data, lump)
Parse planes.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseTexInfo
function parseTexInfo(data, lump)
Parse tex info.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseU16Array
function parseU16Array(data, lump, name)
Parse u 16 array.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
View source
# parseVertices
function parseVertices(data, lump)
Parse vertices.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# parseVisibility
function parseVisibility(data, lump)
Parse visibility.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
lump | dynamic | — | lump value consumed by this operation. |
View source
# requireStride
function requireStride(lump, stride, name)
Require stride.
| Parameter | Type | Default | Description |
|---|
lump | dynamic | — | lump value consumed by this operation. |
stride | dynamic | — | stride value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
View source
# validateReferences
function validateReferences(bspMapToValidate)
Validate references.
| Parameter | Type | Default | Description |
|---|
bspMapToValidate | dynamic | — | bspMapToValidate value consumed by this operation. |
View source
# vec3f
function vec3f(data, offset)
Return the vec 3 f value.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
offset | dynamic | — | Zero-based offset at which processing starts. |
View source
# vec3s
function vec3s(data, offset)
Return the vec 3 s value.
| Parameter | Type | Default | Description |
|---|
data | dynamic | — | Input data consumed by the operation. |
offset | dynamic | — | Zero-based offset at which processing starts. |
View source