codecs/model/DoomMap: the Doom map-to-Scene builder moved out of archive/wad, plus a UDMF 1.1 TEXTMAP parser (fields kept, namespace flag bits); Wad.map loads UDMF maps; model/udmf for a standalone TEXTMAP; codecs/text/Lexer (C-style tokens for id Tech / UDMF text)

STYLE.md: layout block and the 2a table list DoomMap and Lexer. tests/archive/wad: the UDMF stub map now loads (empty) instead of UNSUPPORTED.
This commit is contained in:
4DBug committed 2026-11-01 18:33:24 -06:00
1 parent 01c044805f
commit 7d4e0381fe
20 files changed
+3857 -1979

No files matched your search

+2 -2
View File
@@ -121,8 +121,8 @@ do
t:eq(names[17], "E1M2/ENDMAP", "up to ENDMAP")
t:eq(names[18], "DEMO1", "after the map")
t:eq(names[19], "DEMO1~2", "duplicate names get ~n")
local _, ue = Wad.map(rm, "E1M2")
t:check(ue and ue.code == Err.UNSUPPORTED, "UDMF unsupported")
local us = Wad.map(rm, "E1M2") :: any
t:check(us and us.meta.source.mapFormat == "udmf" and #us.meshes[1].primitives == 0, "UDMF stub: an empty map")
local s = Wad.map(rm, "E1M1") :: any
local area = { floor = 0, ceil = 0, wall = 0 }
for _, p in s.meshes[1].primitives do