MiniQuake

src/miniquake/map_viewer.ml

Package
miniquake.map_viewer
Reachable
Yes

Imports

Declarations

drawMap

function drawMap(map)

Render map.

ParameterTypeDefaultDescription
mapdynamic—The map input consumed by `drawMap`.

View source

faceVertex

function faceVertex(map, surfEdgeIndex)

Implements the `faceVertex` operation for `miniquake.map_viewer` (face vertex).

ParameterTypeDefaultDescription
mapdynamic—The map input consumed by `faceVertex`.
surfEdgeIndexdynamic—Zero-based index of the requested entry.

View source

render

function render(map, angle, width, height)

Implements the `render` operation for `miniquake.map_viewer` (render).

ParameterTypeDefaultDescription
mapdynamic—The map input consumed by `render`.
angledynamic—The angle input consumed by `render`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

runDirect

function runDirect(bspFilename, paletteFilename)

Execute direct.

ParameterTypeDefaultDescription
bspFilenamedynamic—Name that identifies the requested value or resource.
paletteFilenamedynamic—Name that identifies the requested value or resource.

View source

runFromGame

function runFromGame(baseDirectory, mapName)

Execute from game.

ParameterTypeDefaultDescription
baseDirectorydynamic—Root directory containing the Quake installation.
mapNamedynamic—Name of the map to load or inspect.

View source

runMap

function runMap(map, title)

Execute map.

ParameterTypeDefaultDescription
mapdynamic—The map input consumed by `runMap`.
titledynamic—The title input consumed by `runMap`.

View source