Reorganize assets; switch the HUD to the Micro Chat font

Source packs move to assets/packs (untouched), maps to assets/maps, and the
palette/sketch leftovers from the 8-bit era go. tools/mkfont.py repacks
VEXED's Micro Chat sheet (8-column grid, 8x10 cells) into the CP437 atlas
layout the font loader already reads, cropped to 8x9 so the HUD can use an
8 px line height. The CGA atlas is dropped in its favor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-20 19:47:33 +02:00
co-authored by Claude Opus 5
parent bb12f095d8
commit 335962800f
111 changed files with 528 additions and 546 deletions
+7 -2
View File
@@ -13,9 +13,14 @@
- `cp437(char)` maps ASCII 1:1 and the accented letters the atlas has (ä ö ü ß …);
everything else becomes `?`.
- `text_width` and `wrap` (word wrap with hard `\n`) for layout.
- Font in use: `assets/fonts/cga-8x8.png` (Oldschool PC Font Pack, CGA 8×8).
- Font in use: `assets/fonts/micro-chat-8x9.png` — VEXED's Micro Chat (5 px, CC-BY),
repacked into the CP437 layout by `tools/mkfont.py` from the source sheet in
`assets/fonts/Micro-Chat-All/` (8-column grid with 1 px grid lines, 8×10 cells, black
glyphs on transparent). Cells are cropped to source rows 1..9 — umlaut dots down to
descenders — giving 8×9 cells; the HUD uses an 8 px line height. The sheet marks the
space cell with a bar, which the tool drops. Regenerate with `python3 tools/mkfont.py`.
## Open questions
- A second, smaller or larger font (the EGA 8×14 from `wds`) once the UI needs hierarchy.
- A second, larger font (the CGA 8×8 / EGA 8×14 from `wds`) once the UI needs hierarchy.
- Text color per span / inline markup for the log — not before it is needed.