Skip to main content

Module layout

Module layout 

Source
Expand description

Where a scene’s tiles go on the console, in pixels: what every grid skin works out from its own tile size, and the shared drawing (the path, the threat arrows) works from. The tiles are laid out by a Projection: today top-down squares only (ADR-0003 §6; the isometric one is ticket 1126).

Structs§

Grid
The tiles of a scene laid out on the console.

Enums§

Projection
How map tiles are laid on the screen: where a tile goes, from where it is in the view. Every skin and every drawing across tiles asks it, rather than assume squares in rows (ADR-0003 §6).

Constants§

CELL_PX
A console cell in pixels, across × down. The grid skins lay a map out in a text console’s cells (ConsoleSpec::text): 8 × 16 pixels.

Functions§

px_rect
cells in console pixels.