mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
missing override markers
This commit is contained in:
parent
89cfc2bce1
commit
56e575369b
@ -441,7 +441,7 @@ transmatrix adjcell_matrix(heptagon *h, int d);
|
|||||||
struct hrmap_archimedean : hrmap {
|
struct hrmap_archimedean : hrmap {
|
||||||
map<gp::loc, struct cdata> eucdata;
|
map<gp::loc, struct cdata> eucdata;
|
||||||
heptagon *origin;
|
heptagon *origin;
|
||||||
heptagon *getOrigin() { return origin; }
|
heptagon *getOrigin() override { return origin; }
|
||||||
|
|
||||||
hrmap_archimedean() {
|
hrmap_archimedean() {
|
||||||
dynamicval<hrmap*> curmap(currentmap, this);
|
dynamicval<hrmap*> curmap(currentmap, this);
|
||||||
@ -530,9 +530,9 @@ struct hrmap_archimedean : hrmap {
|
|||||||
current_altmap = NULL;
|
current_altmap = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void verify() { }
|
void verify() override { }
|
||||||
|
|
||||||
heptagon *create_step(heptagon *h, int d) {
|
heptagon *create_step(heptagon *h, int d) override {
|
||||||
|
|
||||||
DEBB(DF_GEOM, (format("%p.%d ~ ?\n", h, d)));
|
DEBB(DF_GEOM, (format("%p.%d ~ ?\n", h, d)));
|
||||||
|
|
||||||
@ -607,7 +607,7 @@ struct hrmap_archimedean : hrmap {
|
|||||||
return hnew;
|
return hnew;
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw() {
|
void draw() override {
|
||||||
dq::visited.clear();
|
dq::visited.clear();
|
||||||
dq::enqueue(centerover->master, cview());
|
dq::enqueue(centerover->master, cview());
|
||||||
|
|
||||||
@ -663,7 +663,7 @@ struct hrmap_archimedean : hrmap {
|
|||||||
return gm * where;
|
return gm * where;
|
||||||
}
|
}
|
||||||
|
|
||||||
ld spin_angle(cell *c, int d) {
|
ld spin_angle(cell *c, int d) override {
|
||||||
if(PURE) {
|
if(PURE) {
|
||||||
auto& t1 = arcm::current.get_triangle(c->master, d-1);
|
auto& t1 = arcm::current.get_triangle(c->master, d-1);
|
||||||
return -(t1.first + M_PI / c->type);
|
return -(t1.first + M_PI / c->type);
|
||||||
|
@ -508,7 +508,7 @@ EX namespace binary {
|
|||||||
return -(d+2)*M_PI/4;
|
return -(d+2)*M_PI/4;
|
||||||
}
|
}
|
||||||
|
|
||||||
transmatrix adj(heptagon *h, int dir) {
|
transmatrix adj(heptagon *h, int dir) override {
|
||||||
if(geometry == gBinaryTiling) switch(dir) {
|
if(geometry == gBinaryTiling) switch(dir) {
|
||||||
case bd_up: return xpush(-log(2));
|
case bd_up: return xpush(-log(2));
|
||||||
case bd_left: return parabolic(-1);
|
case bd_left: return parabolic(-1);
|
||||||
|
@ -523,7 +523,7 @@ struct hrmap_crystal : hrmap_standard {
|
|||||||
#if MAXMDIM >= 4
|
#if MAXMDIM >= 4
|
||||||
map<int, transmatrix> adjs;
|
map<int, transmatrix> adjs;
|
||||||
|
|
||||||
transmatrix adj(heptagon *h, int d) {
|
transmatrix adj(heptagon *h, int d) override {
|
||||||
auto co = hcoords[h];
|
auto co = hcoords[h];
|
||||||
int id = 0;
|
int id = 0;
|
||||||
for(int a=0; a<4; a++) id = (2*id) + ((co[a]>>1) & 1);
|
for(int a=0; a<4; a++) id = (2*id) + ((co[a]>>1) & 1);
|
||||||
|
@ -166,7 +166,7 @@ EX namespace euclid3 {
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw() {
|
void draw() override {
|
||||||
dq::visited_by_matrix.clear();
|
dq::visited_by_matrix.clear();
|
||||||
dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true));
|
dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user