summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Howto_compile_lng_files_from_CLI.txt1
-rw-r--r--docs/Manual.txt20
-rw-r--r--docs/OSX_install_instructions.txt2
-rw-r--r--docs/Readme_Mandrake_Linux.txt8
-rw-r--r--docs/directmusic.txt2
-rw-r--r--elrail.c1
-rw-r--r--known-bugs.txt2
-rw-r--r--newgrf_spritegroup.c1
-rw-r--r--os/win32/installer/TTD to OpenTTD Transition Guide.txt2
-rw-r--r--scripts/readme.txt1
-rw-r--r--settings.c1
-rw-r--r--table/elrail_data.h1
-rw-r--r--unmovable_map.h1
-rw-r--r--yapf.txt75
-rw-r--r--yapf/follow_track.cpp1
-rw-r--r--yapf/unittest/test_autocopyptr.h1
-rw-r--r--yapf/unittest/test_binaryheap.h1
-rw-r--r--yapf/unittest/test_fixedsizearray.h1
-rw-r--r--yapf/unittest/test_hashtable.h2
-rw-r--r--yapf/unittest/test_yapf.h2
-rw-r--r--yapf/unittest/unittest.cpp7
-rw-r--r--yapf/unittest/unittest.h5
-rw-r--r--yapf/yapf_common.cpp1
-rw-r--r--yapf/yapf_ship.cpp1
24 files changed, 54 insertions, 86 deletions
diff --git a/docs/Howto_compile_lng_files_from_CLI.txt b/docs/Howto_compile_lng_files_from_CLI.txt
index 582ef9feb..6fe70b0df 100644
--- a/docs/Howto_compile_lng_files_from_CLI.txt
+++ b/docs/Howto_compile_lng_files_from_CLI.txt
@@ -46,4 +46,3 @@ or if you want it to tell the revision too
gcc strgen/strgen.c rev.o -o strgen/strgen -DUNIX -DWITH_REV (this is the one the makefile uses)
you now have a program called strgen in the strgen directory
-
diff --git a/docs/Manual.txt b/docs/Manual.txt
index 44ba35f94..3a4cfa665 100644
--- a/docs/Manual.txt
+++ b/docs/Manual.txt
@@ -2,9 +2,9 @@ Welcome to the manual for OpenTTD. The latest release version at the time of wr
1 Obtaining OpenTTD.
-You can obtain built binaries of OpenTTD for the 4 supported platforms - Win32, Linux,-x86, BeOS 5 and MacOS-X from the projects Sourceforge page, at http://sourceforge.net/projects/openttd . For the non-Win32 builds you will need libSDL.so, libpng.so and zlib.so compiled for your platform. Some builds will include these.
+You can obtain built binaries of OpenTTD for the 4 supported platforms - Win32, Linux,-x86, BeOS 5 and MacOS-X from the projects Sourceforge page, at http://sourceforge.net/projects/openttd . For the non-Win32 builds you will need libSDL.so, libpng.so and zlib.so compiled for your platform. Some builds will include these.
-If you use another platform, such as FreeBSD, which has POSIX file i/o and an SDL port, you should be able to build OpenTTD from its source. This is available in the proejcts Subversion repository at svn://svn.openttd.com . The module name is "trunk".
+If you use another platform, such as FreeBSD, which has POSIX file i/o and an SDL port, you should be able to build OpenTTD from its source. This is available in the proejcts Subversion repository at svn://svn.openttd.com . The module name is "trunk".
1.1 Building OpenTTD.
@@ -21,9 +21,9 @@ On BeOS, run ./configure and then use jam. There are a variaty of options you ca
1.2 Installing OpenTTD.
-On Windows, insert your "Transport Tycoon Deluxe for Windows 95" disk. You can use a DOS version, but your graphics will be purple. NB: Even if your version of Transport Tycoon Deluxe ran on Windows 95, it may still be the DOS version. Then run the OpenTTD installer.
+On Windows, insert your "Transport Tycoon Deluxe for Windows 95" disk. You can use a DOS version, but your graphics will be purple. NB: Even if your version of Transport Tycoon Deluxe ran on Windows 95, it may still be the DOS version. Then run the OpenTTD installer.
-On UNIX platforms; decompress your OpenTTD archive, or otherwise run the installer. You should be left with an OpenTTD directory on your system. In this directory, make a subdirectory called 'data', and into this place the sample.cat file and all the .grf files from the install CD of 'Transport Tycoon Deluxe for Windows 95".
+On UNIX platforms; decompress your OpenTTD archive, or otherwise run the installer. You should be left with an OpenTTD directory on your system. In this directory, make a subdirectory called 'data', and into this place the sample.cat file and all the .grf files from the install CD of 'Transport Tycoon Deluxe for Windows 95".
(Alternatively you can use the TTD GRF files from the DOS version: TRG1.GRF, TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. A few minor graphical glitches with the DOS graphics remain. E.g. the autorail button in the rail toolbar doesn't look as nice as with the Windows graphics.)
If you want MIDI music, copy the 'gm' folder from the original game directory/CD to the OpenTTD folder.
@@ -38,7 +38,7 @@ On BeOS and Mac OS-X, just double click the ttd binary in the Tracker/Finder. Yo
1.4 Configuring OpenTTD
-OpenTTD's launch menu contains three configuration menus - Difficulty Settings, Configure Patches and Game Settings. Most of these menus can be configured from within a running game as well.
+OpenTTD's launch menu contains three configuration menus - Difficulty Settings, Configure Patches and Game Settings. Most of these menus can be configured from within a running game as well.
Difficulty Settings lets you configure settings that affect the difficulty of playing the game. These include when your (computer-controlled) competitors can start building, how many of them there are, and how intelligent they are. You can also control how much the subsidy mutliplier is for subsidised routes, and how stable/volitile the in-game economy is. You can also set how you want the terrain to be configured in a random game.
@@ -52,14 +52,14 @@ This section of the manual is written with the assumption that you already know
2.2 Station Construction
-In OpenTTD, you can build rail stations up to seven squares long and with up to seven platforms. You can also have stations spreading across far larger distances, allowing a large rail station to be connected to a large airport, for instance.
+In OpenTTD, you can build rail stations up to seven squares long and with up to seven platforms. You can also have stations spreading across far larger distances, allowing a large rail station to be connected to a large airport, for instance.
However, there is an even more noticable difference in rail station construction. You may now add platforms and lenght to a station after it has been built, and you may also add platforms of a different type. Users of TTDPatch will be used to this behaviour. But beyond what TTDPatch has, you can make stations of uneven lenght/width, and even ones with perpendicular tracks. You can also delete single tiles or tracks from a station, by holding down Shift before pressing the station construction button.
2.3 Checkpoint Stations
-Checkpoint stations (the small blue item in the rail construction window) are small 1x1 stations. They must be built on top of pre-existing track. They do not accept or produce carge of any kind. They exist solely for use as route points. They become useful when dealing with large networks where trains may attempt to route themselves along undesirable or impossible routes. As an alternative to checkpoint stations, you can also direct trains to visit depots along the way. This has the advantage of also servicing the train and hence the train will rarely to never need to depart from its route to be serviced.
+Checkpoint stations (the small blue item in the rail construction window) are small 1x1 stations. They must be built on top of pre-existing track. They do not accept or produce carge of any kind. They exist solely for use as route points. They become useful when dealing with large networks where trains may attempt to route themselves along undesirable or impossible routes. As an alternative to checkpoint stations, you can also direct trains to visit depots along the way. This has the advantage of also servicing the train and hence the train will rarely to never need to depart from its route to be serviced.
2.4 Freeform Rail Laying.
@@ -75,7 +75,7 @@ This allows you to build roads, rails, stations and depots on slopes. It also al
2.7 Long Bridges
-OpenTTD allows you to constuct bridges up to 127 squares - half the size of the current map. This means that the crossing of large estuaries, such at the Bristol Channel in the original "West Country 90210" scenario can be acheived with one bridge instead of many bridges with staging points.
+OpenTTD allows you to constuct bridges up to 127 squares - half the size of the current map. This means that the crossing of large estuaries, such at the Bristol Channel in the original "West Country 90210" scenario can be acheived with one bridge instead of many bridges with staging points.
2.8 Long trains
@@ -89,7 +89,7 @@ This addition to OpenTTD allows you to see the current speed of any vehicle in t
Virtually any settings - train numbers, start date, what vehicles your competitors can use, etc - can be set in OpenTTD. Just use the Configure Patches menu on the main screen.
-2.11 Network Play
+2.11 Network Play
See multiplayer.txt for more info.
@@ -99,4 +99,4 @@ This button, at the end of the train construction window, lets you 'recycle' tra
2.13 Canal Building
-This button, at the end of the water construction window, lets you build canals and shiplifts across the landscape. These act just like normal water. \ No newline at end of file
+This button, at the end of the water construction window, lets you build canals and shiplifts across the landscape. These act just like normal water.
diff --git a/docs/OSX_install_instructions.txt b/docs/OSX_install_instructions.txt
index 345aa41c3..e6d96b5d6 100644
--- a/docs/OSX_install_instructions.txt
+++ b/docs/OSX_install_instructions.txt
@@ -20,4 +20,4 @@ data (containing the grf files)
GM (optional for music)
scenario (optional pregenerated maps)
-The game adds some items by itself when it runs, like a save folder and a setting file \ No newline at end of file
+The game adds some items by itself when it runs, like a save folder and a setting file
diff --git a/docs/Readme_Mandrake_Linux.txt b/docs/Readme_Mandrake_Linux.txt
index 2413aac1a..bbdea4aca 100644
--- a/docs/Readme_Mandrake_Linux.txt
+++ b/docs/Readme_Mandrake_Linux.txt
@@ -41,7 +41,7 @@ Copy the following files from Transport Tycoon Deluxe to openttd/data/
(Alternatively you can use the TTD GRF files from the DOS version: TRG1.GRF, TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. A few minor graphical glitches with the DOS graphics remain. E.g. the autorail button in the rail toolbar doesn't look as nice as with the Windows graphics.)
-
+
4.) Compiling and running:
Compile OpenTTD with
@@ -49,7 +49,7 @@ Compile OpenTTD with
and run it with
$ ./ttd
-
+
5.) Playing the soundtrack:
If you want the original TTD music you need to copy the whole /gm/ directory from Windows. Additionally the TiMidity driver is required:
@@ -57,6 +57,6 @@ If you want the original TTD music you need to copy the whole /gm/ directory fro
To run OpenTTD with music support type
$ ./ttd -m extmidi
-
+
X.) Last Update: $Date: 2004-06-01 19:08:09 +0200 (Tue, 01 Jun 2004) $
- Written for revision $Rev: 710 $ \ No newline at end of file
+ Written for revision $Rev: 710 $
diff --git a/docs/directmusic.txt b/docs/directmusic.txt
index 65fa59d07..c64b6cbaa 100644
--- a/docs/directmusic.txt
+++ b/docs/directmusic.txt
@@ -17,4 +17,4 @@ Bugs, etc
- The volume control doesn't work properly. I'll fix this soon.
Owen Rudge
-14th March 2004 \ No newline at end of file
+14th March 2004
diff --git a/elrail.c b/elrail.c
index 24bd2415a..d3a7e8180 100644
--- a/elrail.c
+++ b/elrail.c
@@ -369,4 +369,3 @@ void DrawCatenary(const TileInfo *ti)
break;
}
}
-
diff --git a/known-bugs.txt b/known-bugs.txt
index 746949a32..b42feaff3 100644
--- a/known-bugs.txt
+++ b/known-bugs.txt
@@ -116,4 +116,4 @@ URL: http://sourceforge.net/tracker/?atid=669662&group_id=103924&func=browse
-0987883 Aircraft landing/taking off
-0987880 company league table updating
-0985924 aircraft taxi speed
--0941694 Clipping problems stations/vehicles on slopes \ No newline at end of file
+-0941694 Clipping problems stations/vehicles on slopes
diff --git a/newgrf_spritegroup.c b/newgrf_spritegroup.c
index db3db7a9d..0e3225de4 100644
--- a/newgrf_spritegroup.c
+++ b/newgrf_spritegroup.c
@@ -234,4 +234,3 @@ const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object)
default: return group;
}
}
-
diff --git a/os/win32/installer/TTD to OpenTTD Transition Guide.txt b/os/win32/installer/TTD to OpenTTD Transition Guide.txt
index 6c080125c..11f47454f 100644
--- a/os/win32/installer/TTD to OpenTTD Transition Guide.txt
+++ b/os/win32/installer/TTD to OpenTTD Transition Guide.txt
@@ -11,4 +11,4 @@ Created by RaggieSoft – TallwoodBand@cox.net
Guide Version: 0.1.1
Supports OpenTTD Version: 0.2.1
-Send your ideas for this document to my email address. I also maintain an accunt with tt-forums.net. It's RaggieSoft. \ No newline at end of file
+Send your ideas for this document to my email address. I also maintain an accunt with tt-forums.net. It's RaggieSoft.
diff --git a/scripts/readme.txt b/scripts/readme.txt
index 0248c4326..2927dcdcb 100644
--- a/scripts/readme.txt
+++ b/scripts/readme.txt
@@ -19,4 +19,3 @@ local scripts:
- 'on_dedicated.scr' is additionally executed after starting a server [dedicated only]
For examples how a script can look, check the .example examples.
-
diff --git a/settings.c b/settings.c
index bf11f8e45..bfe24b5ca 100644
--- a/settings.c
+++ b/settings.c
@@ -1755,4 +1755,3 @@ static bool IsSignedVarMemType(VarType vt)
}
return false;
}
-
diff --git a/table/elrail_data.h b/table/elrail_data.h
index 85a7eea5c..9fed4f69a 100644
--- a/table/elrail_data.h
+++ b/table/elrail_data.h
@@ -447,4 +447,3 @@ static const CatenarySprite Wires[5][TRACK_END][4] = {
};
#endif /* ELRAIL_DATA_H */
-
diff --git a/unmovable_map.h b/unmovable_map.h
index c34e6c590..5fa62a441 100644
--- a/unmovable_map.h
+++ b/unmovable_map.h
@@ -114,4 +114,3 @@ static inline void MakeCompanyHQ(TileIndex t, Owner o)
MakeUnmovable(t + TileDiffXY(1, 0), UNMOVABLE_HQ_EAST, o);
MakeUnmovable(t + TileDiffXY(1, 1), UNMOVABLE_HQ_SOUTH, o);
}
-
diff --git a/yapf.txt b/yapf.txt
index 46136fea3..9c5bd6c3b 100644
--- a/yapf.txt
+++ b/yapf.txt
@@ -1,39 +1,36 @@
-Ships:
-======
-Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for ships":
- - 0 - No YAPF (NPF or old PF)
- - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
- - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
- - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
- - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
-
-
-Set the "npf_max_search_nodes" value in your openttd.cfg to tune the pathfinder behavior.
-This value tells, how many nodes (Tile/Trackdir or Tile/ExitDir) combinations the pathfinder
-should visit before it ends. The lower number would mean quicker, but less accurate results.
-The "npf_max_search_nodes" value is shared between NPF and YAPF and has the same meaning.
-
-The pathfinder without such limit would be unusable on large maps, where number of visited
-nodes can exceed 10 milions. NPF on my machine (dual code AMD 4400+) with 1 milion of nodes
-visited took 2 minutes to finish, but with this limit set to 10000 it takes 20 miliseconds.
-The new YAPF had similar results (18 seconds vs. 4 miliseconds).
-
-
-Road Vehicles:
-==============
-Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for road vehs":
- - 0 - No YAPF (NPF or old PF)
- - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
- - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
-
-Trains:
-=======
-Same types as for ships:
- - 0 - No YAPF (NPF or old PF)
- - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
- - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
- - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
- - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
-
-
-
+Ships:
+======
+Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for ships":
+ - 0 - No YAPF (NPF or old PF)
+ - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
+ - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
+ - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
+ - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
+
+
+Set the "npf_max_search_nodes" value in your openttd.cfg to tune the pathfinder behavior.
+This value tells, how many nodes (Tile/Trackdir or Tile/ExitDir) combinations the pathfinder
+should visit before it ends. The lower number would mean quicker, but less accurate results.
+The "npf_max_search_nodes" value is shared between NPF and YAPF and has the same meaning.
+
+The pathfinder without such limit would be unusable on large maps, where number of visited
+nodes can exceed 10 milions. NPF on my machine (dual code AMD 4400+) with 1 milion of nodes
+visited took 2 minutes to finish, but with this limit set to 10000 it takes 20 miliseconds.
+The new YAPF had similar results (18 seconds vs. 4 miliseconds).
+
+
+Road Vehicles:
+==============
+Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for road vehs":
+ - 0 - No YAPF (NPF or old PF)
+ - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
+ - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
+
+Trains:
+=======
+Same types as for ships:
+ - 0 - No YAPF (NPF or old PF)
+ - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
+ - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
+ - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
+ - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
diff --git a/yapf/follow_track.cpp b/yapf/follow_track.cpp
index 26d90578e..9d494bb5b 100644
--- a/yapf/follow_track.cpp
+++ b/yapf/follow_track.cpp
@@ -39,4 +39,3 @@ bool FollowTrackRailNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_t
CFollowTrackRailNo90& F = *(CFollowTrackRailNo90*) This;
return F.Follow(old_tile, old_td);
}
-
diff --git a/yapf/unittest/test_autocopyptr.h b/yapf/unittest/test_autocopyptr.h
index a08d84a59..0e4d4dfef 100644
--- a/yapf/unittest/test_autocopyptr.h
+++ b/yapf/unittest/test_autocopyptr.h
@@ -40,4 +40,3 @@ static int TestAutoCopyPtr(bool silent)
CHECK_INT(5, CData::NumInstances(), 0);
return res;
}
-
diff --git a/yapf/unittest/test_binaryheap.h b/yapf/unittest/test_binaryheap.h
index f0ba44749..114f86985 100644
--- a/yapf/unittest/test_binaryheap.h
+++ b/yapf/unittest/test_binaryheap.h
@@ -100,4 +100,3 @@ static int TestBinaryHeap2(bool silent)
CHECK_INT(7, CData::NumInstances(), 0);
return res;
}
-
diff --git a/yapf/unittest/test_fixedsizearray.h b/yapf/unittest/test_fixedsizearray.h
index 0065a821e..3a08dde7c 100644
--- a/yapf/unittest/test_fixedsizearray.h
+++ b/yapf/unittest/test_fixedsizearray.h
@@ -111,4 +111,3 @@ static int TestArray(bool silent)
return res;
}
-
diff --git a/yapf/unittest/test_hashtable.h b/yapf/unittest/test_hashtable.h
index 230550f2b..7b794b848 100644
--- a/yapf/unittest/test_hashtable.h
+++ b/yapf/unittest/test_hashtable.h
@@ -70,5 +70,3 @@ static int TestHashTable1(bool silent)
}
return res;
}
-
-
diff --git a/yapf/unittest/test_yapf.h b/yapf/unittest/test_yapf.h
index 558ea4667..4e2f2c0e5 100644
--- a/yapf/unittest/test_yapf.h
+++ b/yapf/unittest/test_yapf.h
@@ -357,5 +357,3 @@ struct CTestYapf2
: public CYapfT<CYapf_TypesT<CTestYapf2, CNodeList2, CYapfMap1> >
{
};
-
-
diff --git a/yapf/unittest/unittest.cpp b/yapf/unittest/unittest.cpp
index acd8d0820..099862bee 100644
--- a/yapf/unittest/unittest.cpp
+++ b/yapf/unittest/unittest.cpp
@@ -157,10 +157,3 @@ const TrackdirBits _track_crosses_trackdirs[] = {
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E, /* TRACK_LEFT */
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E /* TRACK_RIGHT */
};
-
-
-
-
-
-
-
diff --git a/yapf/unittest/unittest.h b/yapf/unittest/unittest.h
index 27ba4ebdd..f448ea341 100644
--- a/yapf/unittest/unittest.h
+++ b/yapf/unittest/unittest.h
@@ -27,8 +27,3 @@ typedef int(*TESTPROC)(bool silent);
# include <windows.h>
#else
#endif
-
-
-
-
-
diff --git a/yapf/yapf_common.cpp b/yapf/yapf_common.cpp
index 99155c58e..39d119858 100644
--- a/yapf/yapf_common.cpp
+++ b/yapf/yapf_common.cpp
@@ -27,4 +27,3 @@ const TrackdirBits CYapfCostBase::c_upwards_slopes[] = {
TRACKDIR_BIT_NONE , //14
TRACKDIR_BIT_NONE , //15
};
-
diff --git a/yapf/yapf_ship.cpp b/yapf/yapf_ship.cpp
index 86d20c9f1..0682cd45f 100644
--- a/yapf/yapf_ship.cpp
+++ b/yapf/yapf_ship.cpp
@@ -174,4 +174,3 @@ int NpfEndInterval(void* vperf)
delete &perf;
return t;
}
-