Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
`player` is the player's world point (raw Q12), or null when there is none; `frame` counts frames for the player's blink.
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.
| Parameter | Type | Meaning |
|---|---|---|
output | psyqo::GPU & | Not documented; consult the linked header. |
screen_width | int | Not documented; consult the linked header. |
screen_height | int | Not documented; consult the linked header. |
player | const int32_t * | Not documented; consult the linked header. |
frame | uint32_t | Not documented; consult the linked header. |
active | Active && | Not documented; consult the linked header. |
Returns: Nothing (void).
#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);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/dungeon_minimap.hpp:56