Epok Engine

EPOK RUNTIME

epok::dungeon::Minimap

Struct

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Struct

Struct declared by the dungeon-map module for the dungeon map module.

Namespace
epok::dungeon
Header
dungeon_map.hpp
Include
#include "dungeon_map.hpp"
Module
dungeon-map
Source
runtime/dungeon_map.hpp:103

Basic usage

This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.

C++ example
#include "dungeon_map.hpp"

epok::dungeon::Minimap& value = /* obtain a valid instance from your game */;

Fields and constants

cellExposes `cell` on `epok::dungeon::Minimap` for the dungeon map module.FieldcolorsExposes `colors` on `epok::dungeon::Minimap` for the dungeon map module.FieldcolumnsExposes `columns` on `epok::dungeon::Minimap` for the dungeon map module.FieldcornerThe grid's corner and one cell's step on the dungeon's plane, world raw values: (x, z) in 3D, (x, y) pixels in 2D.FieldcountExposes `count` on `epok::dungeon::Minimap` for the dungeon map module.FieldexploredExplored rectangles, one bit each; rooms explored, one bit each.FieldflagsExposes `flags` on `epok::dungeon::Minimap` for the dungeon map module.FieldheightWhere it draws: the box's corner and size in pixels, pixels per cell when it follows the player, and MinimapFlag bits.Fielditem_actorsExposes `item_actors` on `epok::dungeon::Minimap` for the dungeon map module.Fieldlock_actorsExposes `lock_actors` on `epok::dungeon::Minimap` for the dungeon map module.FieldplayerRuntime object slots: the player, each item's actor and each lock's door; -1 when there is none.FieldrectsExposes `rects` on `epok::dungeon::Minimap` for the dungeon map module.FieldrowsExposes `rows` on `epok::dungeon::Minimap` for the dungeon map module.FieldstepExposes `step` on `epok::dungeon::Minimap` for the dungeon map module.FieldwidthWhere it draws: the box's corner and size in pixels, pixels per cell when it follows the player, and MinimapFlag bits.FieldxWhere it draws: the box's corner and size in pixels, pixels per cell when it follows the player, and MinimapFlag bits.FieldyWhere it draws: the box's corner and size in pixels, pixels per cell when it follows the player, and MinimapFlag bits.Field