summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-21(svn r8831) -Feature: If an action 7/9 leads to skipping the rest of the ↵maedhros
file, disable the newgrf if an action 8 hasn't been encountered yet.
2007-02-21(svn r8830) -Feature: Stop loading and disable the current newgrf if a fatal ↵maedhros
error message in Action B is encountered. Also be more strict on the values accepted.
2007-02-21(svn r8829) -Fixtron
Remove translations which should not be empty
2007-02-21(svn r8828) -Fixtron
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
2007-02-21(svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of ↵belugas
IndustryTileSPec, the alter ego of IndustrySpec. It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources. More to come
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-20(svn r8825) -Fix: Make sure strings read from newgrf files are 0 terminated ↵maedhros
and 0 terminate them if they aren't, so we don't read beyond the end of the memory allocated for the line.
2007-02-20(svn r8824) -Fix (r8821): don't use MSVC2005 runtime library-only ↵Darkvater
_snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx.
2007-02-20(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed ↵Darkvater
on non-windows because this wrapper was only active for win32 (thx Rubidium)
2007-02-20(svn r8822) -Fixtron
Variable scope, const
2007-02-20(svn r8821) -Regression: Unable to browse directories on *nix if the ↵Darkvater
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
2007-02-20(svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free ↵Darkvater
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
2007-02-19(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking ↵truelight
on PSP
2007-02-19(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.rubidium
2007-02-19(svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at alltruelight
2007-02-19(svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an ↵truelight
awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install
2007-02-19(svn r8813) -Fix r8812: fixed one GNU depending grep statement with an other ↵truelight
;) Switched to egrep, which should work just fine.
2007-02-19(svn r8812) -Revert r7880: those changes assumed a GNU-grep, which isn't ↵truelight
always available. Reverted back to a bit more ugly way of writing greps, but at least they are not bound to the laws of GNU.
2007-02-19(svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] ↵truelight
instead. (Celestar)
2007-02-19(svn r8810) [Configure] -Fix: "" variables if you test them, else if they ↵truelight
are empty they return lovely errors (tnx to Celester for finding thisone ;))
2007-02-19(svn r8809) -Fix (r8715): accidentally removed a part of an expression.rubidium
2007-02-19(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.rubidium
2007-02-18(svn r8807) -Feature: Add support for loading (some of) the TTDP extra ↵Darkvater
chunks mainly list of GRFIDs and TTDP version the game was saved with. GRFID list is read and active GRFs are loaded with the game if present in the data/ directory. TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when.
2007-02-18(svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's ↵Darkvater
when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
2007-02-18(svn r8805) -Codechange (r8757): DO set eol-style and keywords on new files...Darkvater
2007-02-18(svn r8802) -Fixtron
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot) Also do a better job in determining the preceding order NOTE: 0.5 candidate
2007-02-18(svn r8800) -Fixtron
Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0
2007-02-18(svn r8799) -Fixtron
Reduce variable scope
2007-02-18(svn r8798) -Fix (8735): update documentation to reflect the used bits for ↵rubidium
drive through stations.
2007-02-18(svn r8797) -Fix (8741): the 'drive through station built on town owned ↵rubidium
road' bit was not set.
2007-02-18(svn r8796) -Fixtron
Remove the unused function AllocateStation() which was left over from r8125
2007-02-18(svn r8795) -Fixtron
Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test.
2007-02-18(svn r8794) -Fixtron
Remove the possiblity to take over stations with OWNER_NONE by building a station next to it -Fix: It was possible to take over buoys by building a station next to them Also remove the now unnecessary special case which prevented taking over oilrigs NOTE: 0.5 candidate
2007-02-17(svn r8793) -Fix: corrected spelling of real french townnames and 'removed' ↵glx
a duplicate
2007-02-17(svn r8792) -Fix (r6623): Don't check whether a string length is 1 when you ↵maedhros
already know it isn't.
2007-02-17(svn r8791) -Revert: r8790 Committed too much in last commitmiham
2007-02-17(svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad ↵miham
thing, sorry for it)
2007-02-17(svn r8789) [Namegen] -Change: Sorted townnameparts for hungarian, and added ↵miham
a few more
2007-02-17(svn r8788) [Translations] -Fix: Removed bogus 3sk case from slovenian, as ↵miham
it is handled in WebTranslator2 from now on
2007-02-17(svn r8787) -Change r8771: allow fast aircraft in small airportsbjarni
We should keep the list in sync with the build command as hacked clients can avoid a block in the GUI only
2007-02-17(svn r8786) -Cleanup: replaced a switch-case to get the right refit command ↵bjarni
for a certain vehicle type. We have a function to do that
2007-02-17(svn r8785) -Fix: Entry point for commuter airport incorrect.richk
2007-02-17(svn r8784) -Regression (r7274 most likely): Unable to load TTDP (on *NIX) ↵Darkvater
games because the static buffer used for name conversion is overwritten in the callback function.
2007-02-17(svn r8783) -Fix r8771: aircraft vehicle subtype and aircraft engine subtype ↵bjarni
aren't the same (even though they both tell if it's a plane or helicopter)
2007-02-17(svn r8782) -Fixtron
Adapt GetClosestStationFromTile() more to the way it is used: - All but deleted stations get filtered later, so do not include non-deleted station in the first place - Remove the two parameters, which are the same for all callers
2007-02-17(svn r8781) -Fixtron
A spectator cannot build stations, so do not include a special case for him
2007-02-17(svn r8780) -Fix: Spelling of CatchmentArea incorrect.richk
2007-02-17(svn r8779) -Fixtron
-Codechange: Use a more generic test, which tests the allowed aircraft instead of hardcoding the airport type numbers, to generate station names
2007-02-17(svn r8778) -Fixtron
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
2007-02-17(svn r8777) -Fix: FS#596 Cloning Maglev in UKRS forgets Mail refitbjarni
Cloning were unaware that articulated locomotives could refit without refitting the front unit