Commit Graph

531 Commits (7eab669a888fa61f916b4617315eff6a53c712ff)

Author SHA1 Message Date
Darkvater 7eab669a88 (svn r8821) -Regression: Unable to browse directories on *nix if the 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. 18 years ago
Darkvater 37f14d4444 (svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron. 18 years ago
rubidium af18972b7a (svn r8818) -Codechange: remove the #ifdef _cplusplus remnants. 18 years ago
rubidium 1d95385a97 (svn r8809) -Fix (r8715): accidentally removed a part of an expression. 18 years ago
rubidium c4ff0121c4 (svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators. 18 years ago
Darkvater e8ffb1599c (svn r8807) -Feature: Add support for loading (some of) the TTDP extra 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.
18 years ago
Darkvater 33667effcc (svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function. 18 years ago
Darkvater 50dbea69d6 (svn r8805) -Codechange (r8757): DO set eol-style and keywords on new files... 18 years ago
tron 0100e94cee (svn r8802) -Fix
-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
18 years ago
tron 8db5c84f67 (svn r8800) -Fix
Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0
18 years ago
tron 6c5b59b6ec (svn r8799) -Fix
Reduce variable scope
18 years ago
rubidium 66ad0c7d0c (svn r8797) -Fix (8741): the 'drive through station built on town owned road' bit was not set. 18 years ago
tron 38fedf20ce (svn r8796) -Fix
Remove the unused function AllocateStation() which was left over from r8125
18 years ago
tron 186fb6617d (svn r8795) -Fix
Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
18 years ago
tron 25a3485e71 (svn r8794) -Fix
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
18 years ago
glx 8bfc6df882 (svn r8793) -Fix: corrected spelling of real french townnames and 'removed' a duplicate 18 years ago
maedhros 08bad22e4b (svn r8792) -Fix (r6623): Don't check whether a string length is 1 when you already know it isn't. 18 years ago
miham 0d3c89d79a (svn r8791) -Revert: r8790 Committed too much in last commit 18 years ago
miham b77e6235ea (svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) 18 years ago
miham b980c80ba4 (svn r8789) [Namegen] -Change: Sorted townnameparts for hungarian, and added a few more 18 years ago
miham 7b0370fc61 (svn r8788) [Translations] -Fix: Removed bogus 3sk case from slovenian, as it is handled in WebTranslator2 from now on 18 years ago
bjarni da422574ad (svn r8787) -Change r8771: allow fast aircraft in small airports
We should keep the list in sync with the build command as hacked clients can avoid a block in the GUI only
18 years ago
bjarni d6cb254b96 (svn r8786) -Cleanup: replaced a switch-case to get the right refit command for a certain vehicle type. We have a function to do that 18 years ago
richk edcc1cfd1e (svn r8785) -Fix: Entry point for commuter airport incorrect. 18 years ago
Darkvater 79b4e5523b (svn r8784) -Regression (r7274 most likely): Unable to load TTDP (on *NIX) games because the static buffer used for name conversion is overwritten in the callback function. 18 years ago
bjarni 8175371eee (svn r8783) -Fix r8771: aircraft vehicle subtype and aircraft engine subtype aren't the same (even though they both tell if it's a plane or helicopter) 18 years ago
tron 69bacedab9 (svn r8782) -Fix
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
18 years ago
tron 97acc0ff25 (svn r8781) -Fix
A spectator cannot build stations, so do not include a special case for him
18 years ago
richk df183d788e (svn r8780) -Fix: Spelling of CatchmentArea incorrect. 18 years ago
tron e175a85e10 (svn r8779) -Fix
-Codechange: Use a more generic test, which tests the allowed aircraft instead of hardcoding the airport type numbers, to generate station names
18 years ago
tron fbd83baff6 (svn r8778) -Fix
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
18 years ago
bjarni 2841e946af (svn r8777) -Fix: FS#596 Cloning Maglev in UKRS forgets Mail refit
Cloning were unaware that articulated locomotives could refit without refitting the front unit
18 years ago
bjarni 6bbe135446 (svn r8771) -Fix r8343: build aircraft windows will no longer show aircraft that can't use the airport in question
Now it's even better than ever because unless the no jetcrash cheat is enabled, the small airports will not show fast aircraft
18 years ago
bjarni a66176c894 (svn r8770) -Fix r8661: corrected some aircraft sprite placement issues in the depot window 18 years ago
KUDr f6f045055a (svn r8768) -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned' 18 years ago
tron 72857162dd (svn r8767) -Fix
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass
-Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
18 years ago
KUDr 3c0b59e46e (svn r8766) -Fix[YAPF]: rail station platform penalty not calculated properly 18 years ago
rubidium c96f7c91e5 (svn r8765) -Codechange: remove logic redundancy by moving it from the gui into the cmd code. 18 years ago
miham 3b56c49d6a (svn r8764) -Update: WebTranslator2 update to 2007-02-16 22:03:24
afrikaans  - 1 changed by TrueTenacity (1)
brazilian_portuguese - 1 fixed, 1 changed by fukumori (2)
bulgarian  - 4 fixed by groupsky (4)
dutch      - 3 fixed by habell (3)
esperanto  - 3 fixed by LaPingvino (3)
finnish    - 5 fixed by kerba (5)
icelandic  - 15 fixed, 30 changed by scrooge (45)
italian    - 3 fixed by sidew (3)
norwegian_bokmal - 13 fixed by oletk (13)
turkish    - 3 fixed by jnmbk (3)
18 years ago
tron 7a9f5911d3 (svn r8763) -Fix
Don't do bogus initialisations and prefer simpler code
18 years ago
celestar 80912d2e7e (svn r8759) -Feature: Allow airports to have up to 4 entry points depending on approach direction. Note: they're not yet used, but will be soon 18 years ago
truelight 1f9fdc8bc1 (svn r8757) -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi)
[PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch!
18 years ago
truelight b18c5a19db (svn r8756) [PSP] -Fix: made the dedicated code compile with PSP. It is almost UNIX, just it needs more includes ;)
(or more, it compiles, if it works is a whole other story ;))
18 years ago
tron 128caa5050 (svn r8755) -Fix
Abbreviate GetAirport(st->airport_type) to st->Airport()
18 years ago
tron 2bd7e64850 (svn r8754) -Fix
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
18 years ago
belugas 8a466c2e2f (svn r8753) -Regression (r8455): Do not unilateraly decide that this engine is a single-headed. Only do it if it previously had no power and that now there is. Or something... 18 years ago
KUDr c85d72248f (svn r8751) -Fix [lang]: deleted .news and .subs strings causing lang compilation error 18 years ago
KUDr c680266b50 (svn r8750) -Fix (r8747): PLANES defined in wingdi.h caused compilation error under Win32. Changed to AIRPLANES 18 years ago
bjarni a7c92492df (svn r8749) -Regression r8331: fixed signed/unsigned issue that could create too many lines in build vehicle windows and crash the game 18 years ago
tron e233967019 (svn r8748) -Fix
-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
18 years ago