mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r3299) Remove the unimplemented -l option, which should select the language
This commit is contained in:
parent
bf98086de8
commit
4634243110
@ -11,7 +11,6 @@
|
|||||||
.Op Fl G Ar seed
|
.Op Fl G Ar seed
|
||||||
.Op Fl d Ar [level | cat=lvl[, ...]]
|
.Op Fl d Ar [level | cat=lvl[, ...]]
|
||||||
.Op Fl g Ar [savegame]
|
.Op Fl g Ar [savegame]
|
||||||
.Op Fl l Ar language
|
|
||||||
.Op Fl n Ar [host[#player][:port]]
|
.Op Fl n Ar [host[#player][:port]]
|
||||||
.Op Fl r Ar widthxheight
|
.Op Fl r Ar widthxheight
|
||||||
.Op Fl t Ar date
|
.Op Fl t Ar date
|
||||||
@ -43,8 +42,6 @@ at start or start a new game if omitted
|
|||||||
Display a summary of all options and available drivers
|
Display a summary of all options and available drivers
|
||||||
.It Fl i
|
.It Fl i
|
||||||
Force to use the DOS palette (use this if you see a lot of magenta)
|
Force to use the DOS palette (use this if you see a lot of magenta)
|
||||||
.It Fl l Ar language
|
|
||||||
Set the language
|
|
||||||
.It Fl m Ar driver
|
.It Fl m Ar driver
|
||||||
Set the music driver, see
|
Set the music driver, see
|
||||||
.Fl h
|
.Fl h
|
||||||
|
@ -133,7 +133,6 @@ static void showhelp(void)
|
|||||||
" -h = Display this help text\n"
|
" -h = Display this help text\n"
|
||||||
" -t date = Set starting date\n"
|
" -t date = Set starting date\n"
|
||||||
" -d [[fac=]lvl[,...]]= Debug mode\n"
|
" -d [[fac=]lvl[,...]]= Debug mode\n"
|
||||||
" -l lng = Select Language\n"
|
|
||||||
" -e = Start Editor\n"
|
" -e = Start Editor\n"
|
||||||
" -g [savegame] = Start new/save game immediately\n"
|
" -g [savegame] = Start new/save game immediately\n"
|
||||||
" -G seed = Set random seed\n"
|
" -G seed = Set random seed\n"
|
||||||
@ -309,7 +308,6 @@ int ttd_main(int argc, char* argv[])
|
|||||||
int i;
|
int i;
|
||||||
bool network = false;
|
bool network = false;
|
||||||
char *network_conn = NULL;
|
char *network_conn = NULL;
|
||||||
char *language = NULL;
|
|
||||||
const char *optformat;
|
const char *optformat;
|
||||||
char musicdriver[16], sounddriver[16], videodriver[16];
|
char musicdriver[16], sounddriver[16], videodriver[16];
|
||||||
int resolution[2] = {0,0};
|
int resolution[2] = {0,0};
|
||||||
@ -333,9 +331,9 @@ int ttd_main(int argc, char* argv[])
|
|||||||
// a ':' behind it means: it need a param (e.g.: -m<driver>)
|
// a ':' behind it means: it need a param (e.g.: -m<driver>)
|
||||||
// a '::' behind it means: it can optional have a param (e.g.: -d<debug>)
|
// a '::' behind it means: it can optional have a param (e.g.: -d<debug>)
|
||||||
#if !defined(__MORPHOS__) && !defined(__AMIGA__) && !defined(WIN32)
|
#if !defined(__MORPHOS__) && !defined(__AMIGA__) && !defined(WIN32)
|
||||||
optformat = "a:bm:s:v:hDfn::l:eit:d::r:g::G:p:c:";
|
optformat = "a:bm:s:v:hDfn::eit:d::r:g::G:p:c:";
|
||||||
#else
|
#else
|
||||||
optformat = "a:bm:s:v:hDn::l:eit:d::r:g::G:p:c:"; // no fork option
|
optformat = "a:bm:s:v:hDn::eit:d::r:g::G:p:c:"; // no fork option
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MyGetOptInit(&mgo, argc-1, argv+1, optformat);
|
MyGetOptInit(&mgo, argc-1, argv+1, optformat);
|
||||||
@ -368,7 +366,6 @@ int ttd_main(int argc, char* argv[])
|
|||||||
#endif /* GPMI */
|
#endif /* GPMI */
|
||||||
case 'b': _ai.network_client = true; break;
|
case 'b': _ai.network_client = true; break;
|
||||||
case 'r': ParseResolution(resolution, mgo.opt); break;
|
case 'r': ParseResolution(resolution, mgo.opt); break;
|
||||||
case 'l': language = mgo.opt; break;
|
|
||||||
case 't': startdate = atoi(mgo.opt); break;
|
case 't': startdate = atoi(mgo.opt); break;
|
||||||
case 'd': {
|
case 'd': {
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user