docs/openttd.6
author truelight
Thu, 06 Jan 2005 22:31:58 +0000
changeset 919 b0d6c7642f99
parent 810 7c51ba5a4368
child 2205 78faeee89afa
permissions -rw-r--r--
(svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
(in prepare of dynamic arrays):
- DEREF_XXX is changed into GetXXX
- All direct call are directed via GetXXX
- struct Industry has now an index-field
- ENUM'd some stuff
- Replaced home built loops with FOR_ALL_XXX
- Added _stations_size, _vehicles_size, ... which gives the length of the
array (which will be dynamic in the near future)
- Changed lengtof(XXX) to _XXX_size (e.g. _stations_size)
- Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX)
- Made the sort-functions of all 4 dynamic
- Made all 4 Initialize functions more of the same
- Some minor tab-fixing and stuff
(tnx to Tron for proof-reading my 100kb patch ;))

Note for all: please do NOT directly call _stations, _vehicles, _towns and
_industries, but use the right wrapper to access them. Thank you.
Ps: please also do not use 'v++', where v is of type Vehicle *.
680
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     1
.\"                                      Hey, EMACS: -*- nroff -*-
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     2
.\" First parameter, NAME, should be all caps
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     4
.\" other parameters are allowed: see man(7), man(1)
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     5
.TH OPENTTD 6 "September 16, 2004"
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     6
.\" Please adjust this date whenever revising the manpage.
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     7
.\"
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     8
.\" Some roff macros, for reference:
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
     9
.\" .nh        disable hyphenation
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    10
.\" .hy        enable hyphenation
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    11
.\" .ad l      left justify
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    12
.\" .ad b      justify to both left and right margins
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    13
.\" .nf        disable filling
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    14
.\" .fi        enable filling
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    15
.\" .br        insert line break
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    16
.\" .sp <n>    insert n+1 empty lines
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    17
.\" for manpage-specific macros, see man(7)
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    18
.SH NAME
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    19
openttd \-  An open source clone of the Microprose game "Transport Tycoon Deluxe"
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    20
.SH SYNOPSIS
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    21
.B openttd
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    22
.RI [ options ]
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    23
.br
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    24
.SH DESCRIPTION
810
7c51ba5a4368 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
truelight
parents: 681
diff changeset
    25
Unfortunately, there is no real manpage for openttd yet. Hopefully someone
680
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    26
will write one soon. For now you should use
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    27
.B openttd -h
681
f7ac72470ad0 (svn r1119) Fixed url in manpage
miham
parents: 680
diff changeset
    28
for more information, or check our Wiki manual: http://wiki.openttd.org/
680
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    29
.PP
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    30
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
810
7c51ba5a4368 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
truelight
parents: 681
diff changeset
    31
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics, 
680
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    32
.\" respectively.
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    33
.\" \fBopenttd\fP is a program that...
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    34
.SH OPTIONS
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    35
Wouldn't we like to have something here?
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    36
.\" below are commented out, to serve as layout examples for when somebody
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    37
.\" does actually fill this page
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    38
.\" .TP
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    39
.\" .B \-h, \-\-help
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    40
.\" Show summary of options.
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    41
.\" .TP
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    42
.\" .B \-v, \-\-version
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    43
.\" Show version of program.
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    44
.\" .SH SEE ALSO
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    45
.\" .BR bar (1),
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    46
.\" .BR baz (1).
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    47
.br
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    48
.SH AUTHOR
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    49
This manual page was written by Matthijs Kooijman <matthijs@katherina.student.utwente.nl>,
fca287dc62a1 (svn r1118) * Added a minimal manpage with references to where to get real info
matthijs
parents:
diff changeset
    50
for the Debian project (but may be used by others).