Epok Engine

EPOK RUNTIME

epok::dungeon::MinimapRenderer::draw

Function template · 1 overload

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.

Function template

`player` is the player's world point (raw Q12), or null when there is none; `frame` counts frames for the player's blink.

Belongs to
epok::dungeon::MinimapRenderer
Header
dungeon_minimap.hpp
Overloads
1

Declaration

template
Declaration
template<class Active> void draw(psyqo::GPU& output,int screen_width,int screen_height,const int32_t* player,uint32_t frame,Active&& active)

`player` is the player's world point (raw Q12), or null when there is none; `frame` counts frames for the player's blink.

ParameterTypeMeaning
outputpsyqo::GPU &Not documented; consult the linked header.
screen_widthintNot documented; consult the linked header.
screen_heightintNot documented; consult the linked header.
playerconst int32_t *Not documented; consult the linked header.
frameuint32_tNot documented; consult the linked header.
activeActive &&Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "dungeon_minimap.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Active

// Assume these named values have been initialized with valid data:
// psyqo::GPU & output
// int screen_width
// int screen_height
// const int32_t * player
// uint32_t frame
// Active && active

epok::dungeon::MinimapRenderer& object = /* obtain a valid instance */;

object.draw<Active>(output, screen_width, screen_height, player, frame, active);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/dungeon_minimap.hpp:56