mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
rulegen:: gen_rule
This commit is contained in:
parent
df5c36c2a6
commit
16cdaa5a00
@ -1061,6 +1061,8 @@ EX aid_t get_aid(twalker cw) {
|
||||
return {ide, gmod(cw.to_spin(0), cycle_size(ide))};
|
||||
}
|
||||
|
||||
vector<int> gen_rule(twalker cwmain, int id);
|
||||
|
||||
void extend_analyzer(twalker cwmain, int z, twalker giver) {
|
||||
ufind(giver);
|
||||
ufind(cwmain);
|
||||
@ -1069,7 +1071,9 @@ void extend_analyzer(twalker cwmain, int z, twalker giver) {
|
||||
vector<analyzer_state*> giver_states, main_states, sub_states;
|
||||
|
||||
id_at_spin(cwmain, main_sprawl, main_states);
|
||||
|
||||
id_at_spin((cwmain+z)+wstep, sub_sprawl, sub_states);
|
||||
|
||||
id_at_spin((giver+z)+wstep, giver_sprawl, giver_states);
|
||||
|
||||
int currently_at = 1+z;
|
||||
|
Loading…
Reference in New Issue
Block a user