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
1 changed files with 6 additions and 0 deletions

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();