mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
hat:: export get_long_transform
This commit is contained in:
parent
7dbb60d3f8
commit
14aaa7ecea
@ -756,6 +756,14 @@ EX void reshape() {
|
||||
hatmap->init();
|
||||
}
|
||||
|
||||
EX transmatrix get_long_transform(int level, int dir) {
|
||||
hrmap_hat *hatmap;
|
||||
hatmap = FPIU( hat_map() );
|
||||
if(!hatmap) return Id;
|
||||
hatmap->fill_transform_levels(max(level, 5));
|
||||
return hatmap->long_transformations[level][dir];
|
||||
}
|
||||
|
||||
EX color_t hatcolor(cell *c, int mode) {
|
||||
vector<int> cols;
|
||||
auto *m = (hrmap_hat*) (currentmap);
|
||||
|
Loading…
Reference in New Issue
Block a user