upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/loader_test.cpp
diff options
context:
space:
mode:
authorcixotdev <339371196+cixotdev@users.noreply.github.com>2026-11-22 15:38:59 -0300
committercixotdev <339371196+cixotdev@users.noreply.github.com>2026-11-22 15:38:59 -0300
commit8f53961c198b11ef271d55dc81391a5cdf4ccebb (patch)
tree8e96034f5744b326161c69d7976938e8fe2c4999 /runtime/test/loader_test.cpp
parentec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff)
gamedata_reader: keep streaming root parity, extra vector attributes and single type counts
- Keep Reader.read() aligned with Reader.convert() on root type handlers, type="NULL", attribute conventions, and stats["object"], and detach cleared top-level elements from root via del root[:]. - Match vector elements by float x/y/z/w attributes so vectors with extra attributes retain their tuple value via "$value", while non-vector x/y/z/w attributes are preserved as @x/@y/@z/@w instead of failing _float() or being dropped. - Avoid double-counting types[t] and stats["extra attributes"] when a registered type handler falls back to reader.convert(el, use_type_handler=False).
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions