mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
less-states
This commit is contained in:
parent
0b4df47964
commit
906ad4ab90
2
reg3.cpp
2
reg3.cpp
@ -1974,7 +1974,7 @@ EX namespace reg3 {
|
|||||||
bool ruleset_link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
|
bool ruleset_link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
|
||||||
alt->fieldval = h->fieldval;
|
alt->fieldval = h->fieldval;
|
||||||
if(firststate == hsOrigin) {
|
if(firststate == hsOrigin) {
|
||||||
alt->fiftyval = root[alt->fieldval];
|
alt->fiftyval = root[alt->fieldval % isize(root)];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
vector<int>& choices = possible_states[alt->fieldval];
|
vector<int>& choices = possible_states[alt->fieldval];
|
||||||
|
@ -352,6 +352,10 @@ int readRuleArgs3() {
|
|||||||
reg3::subrule = true;
|
reg3::subrule = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if(argis("-less-states")) {
|
||||||
|
shift(); rulegen::less_states = argi();
|
||||||
|
}
|
||||||
|
|
||||||
else return 1;
|
else return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user