added 'alpha' commandline parameter

This commit is contained in:
Zeno Rogue 2017-11-01 00:53:53 +01:00
parent a5d4ab9fd6
commit c8fa9f745f
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ else if(args()[0] == '-' && args()[1] == x && args()[2] == '0') { showstartmenu
else if(argis("-zoom")) {
PHASEFROM(2); shift(); vid.scale = argf();
}
else if(argis("-alpha")) {
PHASEFROM(2); shift(); vid.alpha = argf();
}
else if(argis("-Y")) {
yendor::on = true;
shift(); yendor::challenge = argi();