Simplify calls to CalcClosestTownFromTile
[openttd/fttd.git] / docs / openttd.6
blob0382306d7e3c50e1110720f6c9a72bb15ce6bbe9
1 .\"                                      Hey, EMACS: -*- nroff -*-
2 .\" Please adjust this date whenever revising the manpage.
3 .Dd May 31, 2011
4 .Dt OPENTTD 6
5 .Sh NAME
6 .Nm openttd
7 .Nd An open source clone of the Microprose game "Transport Tycoon Deluxe"
8 .Sh SYNOPSIS
9 .Nm
10 .Op Fl efhx
11 .Op Fl b Ar blitter
12 .Op Fl c Ar config_file
13 .Op Fl d Ar [level | cat=lvl[,...]]
14 .Op Fl D Ar [host][:port]
15 .Op Fl g Ar [savegame]
16 .Op Fl G Ar seed
17 .Op Fl I Ar graphicsset
18 .Op Fl l Ar host[:port]
19 .Op Fl m Ar driver
20 .Op Fl M Ar musicset
21 .Op Fl n Ar host[:port][#player]
22 .Op Fl p Ar password
23 .Op Fl P Ar password
24 .Op Fl q Ar savegame
25 .Op Fl r Ar widthxheight
26 .Op Fl s Ar driver
27 .Op Fl S Ar soundset
28 .Op Fl t Ar year
29 .Op Fl v Ar driver
30 .Sh OPTIONS
31 .Bl -tag -width ".Fl n Ar host[:port][#player]"
32 .It Fl b Ar blitter
33 Set the blitter, see
34 .Fl h
35 for a full list
36 .It Fl c Ar config_file
37 Use 'config_file' instead of 'openttd.cfg'
38 .It Fl d Ar [level]
39 Set debug verbosity for all categories to
40 .Ar level
41 or 1 if omitted
42 .It Fl d Ar cat=level[,...]
43 Set debug verbosity for a specific category
44 .It Fl D Ar [host][:port]
45 Start a dedicated server. Sets network debug level to 6. If you want to change this, use
46 .Fl d
47 after
48 .Fl D
49 .It Fl G Ar seed
50 Seed the pseudo random number generator
51 .It Fl e
52 Start in world editor mode
53 .It Fl f
54 Fork into background (dedicated server only, see
55 .Fl D )
56 .It Fl g Ar [savegame]
57 Load
58 .Ar savegame
59 at start or start a new game if omitted. The
60 .Ar savegame
61 must be either absolute or relative to the current path or one of the search paths.
62 .It Fl h
63 Display a summary of all options and lists all the available AIs, blitters, sound, music and video drivers, graphics sets and sound sets.
64 .It Fl I Ar graphicsset
65 Set the graphics set, see
66 .Fl h
67 for a full list
68 .It Fl l Ar host[:port]
69 Redirect DEBUG(), See
70 .Fl D
71 .It Fl m Ar driver
72 Set the music driver, see
73 .Fl h
74 for a full list
75 .It Fl M Ar musicset
76 Set the music set, see
77 .Fl h
78 for a full list
79 .It Fl n Ar host[:port][#player]
80 Join a network game, optionally specify a port to connect to and player to play as
81 .It Fl p Ar password
82 Password used to join server. Only useful with
83 .Fl n
84 .It Fl P Ar password
85 Password used to join company. Only useful with
86 .Fl n
87 .It Fl q Ar savegame
88 Write some information about the savegame and exit
89 .It Fl r Ar widthxheight
90 Set the resolution
91 .It Fl s Ar driver
92 Set the sound driver, see
93 .Fl h
94 for a full list
95 .It Fl S Ar soundset
96 Set the sound set, see
97 .Fl h
98 for a full list
99 .It Fl t Ar year
100 Set the starting year
101 .It Fl v Ar driver
102 Set the video driver, see
103 .Fl h
104 for a full list
105 .It Fl x
106 Do not automatically save to config file on exit
108 .Sh SEE ALSO
109 http://wiki.openttd.org/, http://www.openttd.org
110 .Sh HISTORY
111 Transport Tycoon Deluxe was written by Chris Sawyer and published by Microprose.
113 is a free reimplementation.