mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
rogueviz:: fixed some warnings
This commit is contained in:
parent
24b55fdbb1
commit
1d189b75ca
@ -308,7 +308,7 @@ namespace hr {
|
|||||||
struct hrmap_grigorchuk : hrmap_standard {
|
struct hrmap_grigorchuk : hrmap_standard {
|
||||||
|
|
||||||
heptagon *origin;
|
heptagon *origin;
|
||||||
heptagon *getOrigin() { return origin; }
|
heptagon *getOrigin() override { return origin; }
|
||||||
|
|
||||||
map<heptagon*, grigorchuk::prep> dec;
|
map<heptagon*, grigorchuk::prep> dec;
|
||||||
map<grigorchuk::prep, heptagon*> enc;
|
map<grigorchuk::prep, heptagon*> enc;
|
||||||
@ -335,7 +335,7 @@ struct hrmap_grigorchuk : hrmap_standard {
|
|||||||
gtie(origin, &grigorchuk::grig_I);
|
gtie(origin, &grigorchuk::grig_I);
|
||||||
}
|
}
|
||||||
|
|
||||||
heptagon *create_step(heptagon *p, int d) {
|
heptagon *create_step(heptagon *p, int d) override {
|
||||||
auto pr = dec[p];
|
auto pr = dec[p];
|
||||||
// auto pr1 = pr;
|
// auto pr1 = pr;
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ struct hrmap_grigorchuk : hrmap_standard {
|
|||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw() {
|
void draw() override {
|
||||||
|
|
||||||
dq::visited_by_matrix.clear();
|
dq::visited_by_matrix.clear();
|
||||||
dq::enqueue_by_matrix(viewctr.at, actualV(viewctr, cview()));
|
dq::enqueue_by_matrix(viewctr.at, actualV(viewctr, cview()));
|
||||||
@ -416,7 +416,7 @@ struct hrmap_grigorchuk : hrmap_standard {
|
|||||||
eGeometry gGrigorchuk(eGeometry(-1));
|
eGeometry gGrigorchuk(eGeometry(-1));
|
||||||
|
|
||||||
void create_grigorchuk_geometry() {
|
void create_grigorchuk_geometry() {
|
||||||
if(gGrigorchuk != -1) return;
|
if(gGrigorchuk != eGeometry(-1)) return;
|
||||||
ginf.push_back(ginf[gNormal]);
|
ginf.push_back(ginf[gNormal]);
|
||||||
gGrigorchuk = eGeometry(isize(ginf) - 1);
|
gGrigorchuk = eGeometry(isize(ginf) - 1);
|
||||||
variation = eVariation::pure;
|
variation = eVariation::pure;
|
||||||
|
Loading…
Reference in New Issue
Block a user