1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

arg:: -pal option to display linepatterns

This commit is contained in:
Zeno Rogue 2018-04-10 17:02:04 +02:00
parent 90ff8c49dc
commit fed1f9a10a

View File

@ -294,6 +294,12 @@ else if(args()[0] == '-' && args()[1] == x && args()[2] == '0') { showstartmenu
if(curphase == 3) restartGame(rg::peace);
else peace::on = true;
}
else if(argis("-pal")) {
PHASEFROM(2);
shift(); int id = argi();
shift(); linepatterns::patterns[id].color |= argi();
autocheat = true;
}
else if(argis("-geo")) {
if(curphase == 3) {
shift(); targetgeometry = (eGeometry) argi();