mapstream:: correctly save coxeter and subcube-based variations
This commit is contained in:
parent
09655ebf9f
commit
4aa0dcf2fa
|
@ -449,6 +449,12 @@ EX namespace mapstream {
|
||||||
f.write(gp::param.second);
|
f.write(gp::param.second);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if(variation == eVariation::coxeter) {
|
||||||
|
f.write(reg3::coxeter_param);
|
||||||
|
}
|
||||||
|
if(is_subcube_based(variation )) {
|
||||||
|
f.write(reg3::subcube_count);
|
||||||
|
}
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
if(geometry == gFieldQuotient) {
|
if(geometry == gFieldQuotient) {
|
||||||
using namespace fieldpattern;
|
using namespace fieldpattern;
|
||||||
|
@ -535,6 +541,12 @@ EX namespace mapstream {
|
||||||
f.read(gp::param.second);
|
f.read(gp::param.second);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if(variation == eVariation::coxeter && vernum >= 0xA908) {
|
||||||
|
f.read(reg3::coxeter_param);
|
||||||
|
}
|
||||||
|
if(is_subcube_based(variation) && vernum >= 0xA908) {
|
||||||
|
f.read(reg3::subcube_count);
|
||||||
|
}
|
||||||
#if CAP_CRYSTAL
|
#if CAP_CRYSTAL
|
||||||
if(cryst && vernum >= 10504) {
|
if(cryst && vernum >= 10504) {
|
||||||
int sides;
|
int sides;
|
||||||
|
|
Loading…
Reference in New Issue