1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-29 21:13:00 +00:00

rogueviz:: used args::add and made hypcity and hypocycloid enablable

This commit is contained in:
Zeno Rogue
2021-03-31 03:18:36 +02:00
parent ceb79290ae
commit 8a836fd1ea
10 changed files with 44 additions and 111 deletions

View File

@@ -33,19 +33,12 @@ void drawExtra() {
canmove = true; items[itOrbAether] = true;
}
auto hooks =
addHook(hooks_args, 100, [] {
using namespace arg;
if(argis("-net")) {
PHASE(3);
auto hooks = arg::add3("-net", [] {
init(0);
rv_hook(hooks_frame, 0, drawExtra);
linepatterns::patTriTree.color = 0x30;
linepatterns::patTriOther.color = 0x10;
linepatterns::patTriRings.color = 0xFF;
return 0;
}
return 1;
});
});
}}