These files are available under the GPL license, version 3 (see the file
"COPYING" for details). To compile them under GNU/Linux, run:

./comp 1

or

./comp 2

if the SDL library is 1.2 or 2. Then to make a track, first run:

./sktrk

This displays a track, configured by pushing "0", "1", "2", "3", "4", "a", "b"
and "c". "0" means straight line, "1", "2", "3" and "4" mean curves and "a",
"b" and "c" mean the start of the bridge, the continuation and the end of the
bridge. When finished press "q" and:

./gentr2

or

./gentr2v

or

./gentr2b

A track will be generated, based on an input file. For instance, "trk", which
is the output of "./sktrk", can be used as the input file for "./gentr2",
which will then generate an output file. The input file should be edited
according to the elements listed below. Elements "5"..."13" and "27"..."32"
can be used instead of "0" and the rest of them should be used according to
the table below. When the output file is finished, edit it to adjust lighting
and background color (use the existing tracks as a model). The structure of
the input file is:

n1 t1
n2 t2
....
....

where t1, t2, ... are types of track elements and n1, n2, ... are
the numbers of times each track element is repeated.

The types of track elements are:

0 - straight, horizontal
1 - 22.5 degrees right, horizontal
2 - 45 degrees right, horizontal
3 - 22.5 degrees left, horizontal
4 - 45 degrees left, horizontal
5 - straight, slope 2:25
6 - straight, slope 4:25
7 - straight, slope 6:25
8 - straight, slope -2:25
9 - straight, slope -4:25
10 - straight, slope -6:25
11 - tunnel start, horizontal
12 - tunnel, horizontal
13 - tunnel end, horizontal
14 - bridge start, slope 6:25
15 - bridge, horizontal
16 - bridge end, slope -6:25
17 - bridge, slope 6:25
18 - bridge, slope -6:25
19...24 - different types of loops
25 - corkscrew clockwise
26 - corkscrew anti-clockwise
27 - straight, slope 1:1
28 - straight, slope 1:2
29 - straight, slope -1:1
30 - straight, slope -1:2
31 - straight, with a hill on the right side
32 - straight, with a hill on the left side
33 - 22.5 right, slope 2:25
34 - 22.5 left, slope 2:25
35 - 22.5 right, slope -2:25
36 - 22.5 left, slope -2:25
37 - 22.5 right, slope 4:25
38 - 22.5 left, slope 4:25
39 - 22.5 right, slope -4:25
40 - 22.5 left, slope -4:25
41 - 22.5 right, slope 6:25
42 - 22.5 left, slope 6:25
43 - 22.5 right, slope -6:25
44 - 22.5 left, slope -6:25
45 - straight, wide, horizontal
46 - 22.5 right, wide, horizontal
47 - 22.5 left, wide, horizontal
48 - transition from 2 to 4 lanes
49 - transition from 4 to 2 lanes
50...52 - rough terrain
