1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

a commandline option to set translation

This commit is contained in:
Zeno Rogue 2018-10-01 00:01:55 +02:00
parent 0cb2425c5a
commit 3974053b81

View File

@ -1492,6 +1492,11 @@ int read_config_args() {
else if(argis("-alpha")) { else if(argis("-alpha")) {
PHASEFROM(2); shift(); vid.alpha = argf(); PHASEFROM(2); shift(); vid.alpha = argf();
} }
#if CAP_TRANS
else if(argis("-lang")) {
PHASEFROM(2); shift(); vid.language = argi();
}
#endif
else if(argis("-r")) { else if(argis("-r")) {
PHASEFROM(2); PHASEFROM(2);
shift(); shift();