1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-29 03:51:23 +00:00

viewctr is no more... major reduction of redundancy/complexity

This commit is contained in:
Zeno Rogue
2019-11-14 00:26:50 +01:00
parent 74a139ca3e
commit ef9e2236ba
27 changed files with 102 additions and 270 deletions

View File

@@ -340,7 +340,7 @@ struct hrmap_kite : hrmap {
void draw() override {
dq::visited.clear();
dq::enqueue(viewctr.at, cview());
dq::enqueue(centerover->master, cview());
while(!dq::drawqueue.empty()) {
auto& p = dq::drawqueue.front();