Expand description
BasicData: a ready-made GameData for a game on the short path
(ADR-0036). It reads the files every such game has from its bundle,
through the format registry (BasicData::formats): the English
screen text, the keymap, the palette with the engine’s colours, the
font atlas and every picture. A part of the game’s own rides along in
BasicData::own. It has no sounds, no voices (()), no settings of
the game’s own (()) and one palette. A game that needs more writes
its own GameData, as before.
Structs§
- Basic
Data - A game’s data on the short path: what the engine reads from the
standard files, the files themselves and the game’s own part
T. Its actions areA(most simplyUiAction), its colours the engine’s.
Constants§
- BASIC_
GLYPHS - The glyphs the font must have: printable ASCII, and the box and shape glyphs the engine’s widgets draw.
- ENGLISH_
RON - The English screen text by key, in the bundle.
- FONT_
PNG - The font atlas’s picture, beside
FONT_RON. - FONT_
RON - The font atlas’s description, in the bundle.
- KEYMAP_
RON - The keymap file, in the bundle.
- PALETTE_
RON - The palette, in the bundle: at least the engine’s colours.
Type Aliases§
- Own
- How a game reads its own part from its bundle, with every problem of every file.