mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-31 01:19:03 +00:00
altmap relspin is now remembered in altmap::relspin
This commit is contained in:
6
cell.cpp
6
cell.cpp
@@ -94,6 +94,7 @@ struct hrmap_standard : hrmap {
|
||||
virtual int shvid(cell *c) override;
|
||||
virtual hyperpoint get_corner(cell *c, int cid, ld cf) override;
|
||||
virtual transmatrix master_relative(cell *c, bool get_inverse) override;
|
||||
virtual bool link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) override;
|
||||
};
|
||||
|
||||
void clearfrom(heptagon*);
|
||||
@@ -132,6 +133,11 @@ bool hrmap::link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool hrmap_standard::link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
|
||||
altmap::relspin(alt) = 3;
|
||||
return true;
|
||||
}
|
||||
|
||||
void hrmap::virtualRebase(heptagon*& base, transmatrix& at) {
|
||||
printf("virtualRebase called unexpectedly\n");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user