1
0
Fork 0

(svn r25308) [1.3] -Backport from trunk:

- Fix: When overbuilding a reserved track with a non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal [FS#5540] (r25251)
- Doc: Update some small parts of the readme (r25278)
release/1.3
rubidium 2013-05-31 20:49:00 +00:00
parent c32de24438
commit 6289bb92af
2 changed files with 15 additions and 13 deletions

View File

@ -1,5 +1,4 @@
OpenTTD readme Last updated: 2013-05-23
Last updated: 2013-05-18
Release version: 1.3.1-RC1 Release version: 1.3.1-RC1
------------------------------------------------------------------------ ------------------------------------------------------------------------
@ -219,9 +218,9 @@ The Windows installer can optionally download and install these packages.
4.1.2) Original Transport Tycoon Deluxe graphics and sound files 4.1.2) Original Transport Tycoon Deluxe graphics and sound files
------ --------------------------------------------------------- ------ ---------------------------------------------------------
If you want to play with the original Transport Tycoon Deluxe data files you If you want to play with the original Transport Tycoon Deluxe data files you
have to copy the data files from the CD-ROM into the data/ directory. It does have to copy the data files from the CD-ROM into the baseset/ directory. It
not matter whether you copy them from the DOS or Windows version of Transport does not matter whether you copy them from the DOS or Windows version of
Tycoon Deluxe. The Windows install can optionally copy these files. Transport Tycoon Deluxe. The Windows install can optionally copy these files.
You need to copy the following files: You need to copy the following files:
- sample.cat - sample.cat
- trg1r.grf or TRG1.GRF - trg1r.grf or TRG1.GRF
@ -410,7 +409,6 @@ Information logged:
original Transport Tycoon version original Transport Tycoon version
* Running a modified OpenTTD build * Running a modified OpenTTD build
* Changing settings affecting NewGRF behaviour (non-network-safe settings) * Changing settings affecting NewGRF behaviour (non-network-safe settings)
* Changing landscape (by cheat)
* Triggering NewGRF bugs * Triggering NewGRF bugs
No personal information is stored. No personal information is stored.
@ -507,10 +505,10 @@ no graphical user interface; you would be building a dedicated server.
The following compilers are known to compile OpenTTD: The following compilers are known to compile OpenTTD:
- Microsoft Visual C++ (MSVC) 2005, 2008 and 2010. - Microsoft Visual C++ (MSVC) 2005, 2008 and 2010.
Version 2005 gives bogus warnings about scoping issues. Version 2005 gives bogus warnings about scoping issues.
- GNU Compiler Collection (GCC) 3.3 - 4.7. - GNU Compiler Collection (GCC) 3.3 - 4.4, 4.6 - 4.8.
Versions 4.1 and earlier give bogus warnings about uninitialised variables. Versions 4.1 and earlier give bogus warnings about uninitialised variables.
Versions 4.4 - 4.6 give bogus warnings about freeing non-heap objects. Versions 4.4, 4.6 give bogus warnings about freeing non-heap objects.
Versions 4.5 and later give invalid warnings when lto is enabled. Versions 4.6 and later give invalid warnings when lto is enabled.
- Intel C++ Compiler (ICC) 12.0. - Intel C++ Compiler (ICC) 12.0.
- Clang/LLVM 2.9 - 3.0 - Clang/LLVM 2.9 - 3.0
Version 2.9 gives bogus warnings about code nonconformity. Version 2.9 gives bogus warnings about code nonconformity.
@ -519,6 +517,8 @@ The following compilers are known not to compile OpenTTD:
- Microsoft Visual C++ (MSVC) 2003 and earlier. - Microsoft Visual C++ (MSVC) 2003 and earlier.
- GNU Compiler Collection (GCC) 3.2 and earlier. - GNU Compiler Collection (GCC) 3.2 and earlier.
These old versions fail due to OpenTTD's template usage. These old versions fail due to OpenTTD's template usage.
- GNU Compiler Collection (GCC) 4.5. It optimizes enums too aggressively.
See http://bugs.openttd.org/task/5513 and references therein.
- Intel C++ Compiler (ICC) 11.1 and earlier. - Intel C++ Compiler (ICC) 11.1 and earlier.
Version 10.0 and earlier fail a configure check and fail with recent system Version 10.0 and earlier fail a configure check and fail with recent system
headers. headers.
@ -582,10 +582,9 @@ Note: Do not alter the following parts of the file:
8.2) Previewing 8.2) Previewing
---- ---------- ---- ----------
In order to view the translation in the game, you need to compile your language In order to view the translation in the game, you need to compile your language
file with the strgen utility. You can download the precompiled strgen from: file with the strgen utility. As this utility is tailored to a specific OpenTTD
http://www.openttd.org/download-strgen version, you need to compile it yourself. Just take the normal OpenTTD sources
To compile it yourself just take the normal OpenTTD sources and build that. and build that. During the build process the strgen utility will be made.
During the build process the strgen utility will be made.
strgen is a command-line utility. It takes the language filename as parameter. strgen is a command-line utility. It takes the language filename as parameter.
Example: Example:

View File

@ -1317,6 +1317,9 @@ CommandCost CmdBuildRailStation(TileIndex tile_org, DoCommandFlag flags, uint32
} }
TILE_AREA_LOOP(tile, update_reservation_area) { TILE_AREA_LOOP(tile, update_reservation_area) {
/* Don't even try to make eye candy parts reserved. */
if (IsStationTileBlocked(tile)) continue;
DiagDirection dir = AxisToDiagDir(axis); DiagDirection dir = AxisToDiagDir(axis);
TileIndexDiff tile_offset = TileOffsByDiagDir(dir); TileIndexDiff tile_offset = TileOffsByDiagDir(dir);
TileIndex platform_begin = tile; TileIndex platform_begin = tile;