mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 06:45:59 +00:00
a commandline option to set translation
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user