mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
missing override attributes
This commit is contained in:
parent
9bfe53fb48
commit
89225f4632
@ -508,7 +508,7 @@ EX namespace binary {
|
||||
return res;
|
||||
}
|
||||
|
||||
ld spin_angle(cell *c, int d) {
|
||||
ld spin_angle(cell *c, int d) override {
|
||||
if(WDIM == 3 || geometry == gBinary4 || geometry == gTernary) {
|
||||
return hrmap::spin_angle(c, d);
|
||||
}
|
||||
@ -545,7 +545,7 @@ EX namespace binary {
|
||||
|
||||
const transmatrix iadj(heptagon *h, int dir) { heptagon *h1 = h->cmove(dir); return adj(h1, h->c.spin(dir)); }
|
||||
|
||||
transmatrix adj(cell *c, int dir) { return adj(c->master, dir); }
|
||||
transmatrix adj(cell *c, int dir) override { return adj(c->master, dir); }
|
||||
|
||||
void virtualRebase(heptagon*& base, transmatrix& at) override {
|
||||
|
||||
|
4
cell.cpp
4
cell.cpp
@ -73,10 +73,10 @@ struct hrmap_standard : hrmap {
|
||||
void draw() override;
|
||||
transmatrix relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hint) override;
|
||||
heptagon *create_step(heptagon *h, int direction) override;
|
||||
transmatrix adj(cell *c, int d);
|
||||
transmatrix adj(cell *c, int d) override;
|
||||
transmatrix adj(heptagon *h, int d);
|
||||
transmatrix iadj(heptagon *h, int d) { return adj(h->cmove(d), h->c.spin(d)); }
|
||||
ld spin_angle(cell *c, int d);
|
||||
ld spin_angle(cell *c, int d) override;
|
||||
double spacedist(cell *c, int i) override;
|
||||
};
|
||||
|
||||
|
@ -1060,8 +1060,8 @@ EX namespace hybrid {
|
||||
for(auto& p: at) tailored_delete(p.second);
|
||||
}
|
||||
|
||||
virtual transmatrix spin_to(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); }
|
||||
virtual transmatrix spin_from(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); }
|
||||
virtual transmatrix spin_to(cell *c, int d, ld bonus) override { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); }
|
||||
virtual transmatrix spin_from(cell *c, int d, ld bonus) override { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); }
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user