# drawMap
function drawMap(map)Render map.
| Parameter | Type | Default | Description |
|---|---|---|---|
map | dynamic | — | The map input consumed by `drawMap`. |
src/miniquake/map_viewer.mlminiquake/filesystem.ml as qfs → src/miniquake/filesystem.mlminiquake/format/bsp.ml as bsp → src/miniquake/format/bsp.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/platform/win32.ml as win → src/miniquake/platform/win32.mlminiquake/render/gl11.ml as gl → src/miniquake/render/gl11.mlstd/fs.ml as fs → ../MiniLangCompilerOptimization/MiniLangCompilerPy/std/fs.ml external dependencyfunction drawMap(map)Render map.
| Parameter | Type | Default | Description |
|---|---|---|---|
map | dynamic | — | The map input consumed by `drawMap`. |
function faceVertex(map, surfEdgeIndex)Implements the `faceVertex` operation for `miniquake.map_viewer` (face vertex).
| Parameter | Type | Default | Description |
|---|---|---|---|
map | dynamic | — | The map input consumed by `faceVertex`. |
surfEdgeIndex | dynamic | — | Zero-based index of the requested entry. |
function render(map, angle, width, height)Implements the `render` operation for `miniquake.map_viewer` (render).
| Parameter | Type | Default | Description |
|---|---|---|---|
map | dynamic | — | The map input consumed by `render`. |
angle | dynamic | — | The angle input consumed by `render`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function runDirect(bspFilename, paletteFilename)Execute direct.
| Parameter | Type | Default | Description |
|---|---|---|---|
bspFilename | dynamic | — | Name that identifies the requested value or resource. |
paletteFilename | dynamic | — | Name that identifies the requested value or resource. |
function runFromGame(baseDirectory, mapName)Execute from game.
| Parameter | Type | Default | Description |
|---|---|---|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
mapName | dynamic | — | Name of the map to load or inspect. |
function runMap(map, title)Execute map.
| Parameter | Type | Default | Description |
|---|---|---|---|
map | dynamic | — | The map input consumed by `runMap`. |
title | dynamic | — | The title input consumed by `runMap`. |