mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 22:10:20 +00:00
reg3 expansion fixup
This commit is contained in:
parent
50be2133d1
commit
8195a866a5
8
reg3.cpp
8
reg3.cpp
@ -1350,6 +1350,14 @@ EX bool in_rule() {
|
||||
return reg3_rule_available && among(geometry, gSpace534, gSpace435, gSpace535, gSpace353);
|
||||
}
|
||||
|
||||
EX int rule_get_root(int i) {
|
||||
return ((hrmap_reg3_rule*)currentmap)->root[i];
|
||||
}
|
||||
|
||||
EX const vector<short>& rule_get_children() {
|
||||
return ((hrmap_reg3_rule*)currentmap)->children;
|
||||
}
|
||||
|
||||
EX hrmap* new_map() {
|
||||
if(geometry == gSeifertCover) return new seifert_weber::hrmap_seifert_cover;
|
||||
if(geometry == gSeifertWeber) return new seifert_weber::hrmap_singlecell(108*degree);
|
||||
|
Loading…
x
Reference in New Issue
Block a user