Add mechanics to save per spot lattice information (WIP)

This commit is contained in:
2026-06-05 14:17:19 +02:00
parent 74c1a7a828
commit 83f467d4dc
10 changed files with 34 additions and 13 deletions
@@ -224,6 +224,7 @@ inline void CBOR_ENC(CborEncoder &encoder, const SpotToSave& spot) {
CBOR_ENC(mapEncoder, "maxc", spot.maxc);
CBOR_ENC(mapEncoder, "ice_ring", spot.ice_ring);
CBOR_ENC(mapEncoder, "indexed", spot.indexed);
CBOR_ENC(mapEncoder, "latt", spot.lattice);
CBOR_ENC(mapEncoder, "image", spot.image);
if (spot.indexed) {
CBOR_ENC(mapEncoder, "h", spot.h);