1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

save torus periods

This commit is contained in:
Zeno Rogue 2019-11-27 22:04:41 +01:00
parent 4644d54987
commit 0ff27cc5b8

View File

@ -166,6 +166,10 @@ namespace mapstream {
}
if(binarytiling && VERNUM_HEX >= 0xA80C)
f.write(vid.binary_width);
if(euclid && !penrose && !archimedean) {
f.write(euclid3::T0);
f.write(euclid3::twisted);
}
}
void load_geometry(fhstream& f) {
@ -247,6 +251,10 @@ namespace mapstream {
}
if(binarytiling && VERNUM_HEX >= 0xA80C)
f.read(vid.binary_width);
if(euclid && !penrose && !archimedean && VERNUM_HEX >= 0xA80D) {
f.read(euclid3::T0);
f.read(euclid3::twisted);
}
}
void save_only_map(fhstream& f) {