mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
fieldpattern:: made the prime lists equal -- 6 primes
This commit is contained in:
parent
aa44ff82e3
commit
82083ba83d
@ -883,12 +883,8 @@ EX void nextPrime(fgeomextra& ex) {
|
||||
}
|
||||
|
||||
EX void nextPrimes(fgeomextra& ex) {
|
||||
while(true) {
|
||||
int nodual = 0;
|
||||
for(int a: ex.dualval) if(!a) nodual++;
|
||||
if(nodual >= 4) break;
|
||||
while(isize(ex.primes) < 6)
|
||||
nextPrime(ex);
|
||||
}
|
||||
}
|
||||
|
||||
EX void enableFieldChange() {
|
||||
|
@ -54,7 +54,7 @@ void showQuotientConfig() {
|
||||
dialog::addBoolItem(XLAT("order %1%2 (pure cells: %3)", its(p.p), p.squared ? "²" : "", its(p.cells)) + stars[gxcur.dualval[i]], i == gxcur.current_prime_id, 'A'+i);
|
||||
}
|
||||
|
||||
if(isize(gxcur.primes) < 6) {
|
||||
if(isize(gxcur.primes) <= 6) {
|
||||
dialog::addBreak(100);
|
||||
dialog::addHelp(
|
||||
"This geometry is obtained by applying the same 'generators' which "
|
||||
|
Loading…
Reference in New Issue
Block a user