Darkvater
ca4c856247
(svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset
18 years ago
Darkvater
f8a5fa0921
(svn r9009) -Fix (r1): Determine whether to play a sound or not when entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now.
18 years ago
miham
2422f47f1a
(svn r9005) -Update: WebTranslator2 update to 2007-03-04 09:03:25
...
bulgarian - 13 fixed by groupsky (13)
danish - 13 fixed by ThomasA (13)
french - 4 fixed, 6 changed by glx (4), Skiper (6)
german - 4 fixed by Neonox (4)
hungarian - 3 fixed by miham (3)
norwegian_bokmal - 13 fixed by oletk (13)
norwegian_nynorsk - 20 fixed, 1 changed by pollux (21)
portuguese - 4 fixed by izhirahider (4)
russian - 4 fixed, 10 changed by DarkFenX (14)
simplified_chinese - 13 fixed by Fishingsnow (13)
slovenian - 4 fixed by Necrolyte (4)
traditional_chinese - 2 fixed by thomasau (2)
18 years ago
Darkvater
4c912e462c
(svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence.
18 years ago
rubidium
09333fde60
(svn r9002) -Update: remove strings removed in r9001 from languages other than English.
18 years ago
rubidium
356c2e2c90
(svn r9001) -Codechange: remove duplication of functions and strings with respect to the news of new vehicles.
18 years ago
rubidium
9da74db501
(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".
18 years ago
rubidium
62927d481f
(svn r8999) -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode.
18 years ago
Darkvater
5790d14571
(svn r8995) -Fix (FS#620, r8464): revert properly (reversion of r4322) internal speeds
18 years ago
Darkvater
61a00c99b4
(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.
18 years ago
peter1138
aa9bd2e028
(svn r8990) -Fix: more indenting and variable scoping
18 years ago
peter1138
a712d97c79
(svn r8989) -Fix: more indenting and variable scoping
18 years ago
peter1138
a1f44413b2
(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage
18 years ago
belugas
5792aa85c7
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
18 years ago
rubidium
502ec1b672
(svn r8980) -Fix (FS#656): the industry list should also be (re)set when the number of industries is 0.
18 years ago
rubidium
5ec31ebc2b
(svn r8979) -Fix (r8978): unsigned vs signed comparisons.
18 years ago
richk
cd7b71092b
(svn r8978) -Feature: Rewrite of transfer system.
...
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
18 years ago
Darkvater
27fc1300e2
(svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
18 years ago
Darkvater
e3dff16b21
(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.
18 years ago
Darkvater
213c73d3b1
(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.
18 years ago
Darkvater
e514d3972f
(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart)
18 years ago
celestar
5828617a07
(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
18 years ago
peter1138
f39b7b0019
(svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. This lets us remove the gaps and allow more than 12 cargo types later.
18 years ago
rubidium
5b4b9cbd5c
(svn r8969) -Codechange: rework of the player face bits.
...
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
- replace tons of ifs/switches/magic numbers by table lookups
18 years ago
truelight
88d2a89422
(svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated stuff.. we know that\!
18 years ago
rubidium
d782a74cca
(svn r8966) -Codechange: replace some if-cascades by switches.
18 years ago
rubidium
8aacd9874f
(svn r8964) -Codechange: use grf_load_string to read action 8 strings instead of trying to do the same manually.
18 years ago
miham
6851639d36
(svn r8957) -Update: WebTranslator2 update to 2007-03-01 21:03:45
...
afrikaans - 69 fixed, 24 changed by TrueTenacity (93)
american - 1 fixed by WhiteRabbit (1)
brazilian_portuguese - 14 fixed, 9 changed by tucalipe (11), fukumori (12)
catalan - 13 fixed by arnaullv (13)
czech - 13 fixed by Hadez (13)
dutch - 13 fixed by habell (13)
esperanto - 13 fixed by LaPingvino (13)
french - 13 fixed, 1 changed by glx (14)
german - 13 fixed by Neonox (13)
hungarian - 13 fixed by miham (13)
icelandic - 1 fixed by scrooge (1)
italian - 13 fixed by sidew (13)
japanese - 4 fixed by ickoonite (4)
korean - 3 fixed by darkttd (3)
norwegian_bokmal - 1 fixed by oletk (1)
polish - 14 fixed by meush (14)
portuguese - 11 fixed by izhirahider (11)
russian - 13 fixed, 25 changed by DarkFenX (38)
slovak - 16 fixed, 33 changed by lengyel (49)
slovenian - 13 fixed by Necrolyte (13)
spanish - 13 fixed by eusebio (13)
swedish - 13 fixed by daishan (13)
traditional_chinese - 9 fixed, 3 changed by thomasau (12)
turkish - 13 fixed by jnmbk (13)
ukrainian - 15 fixed, 29 changed by mad (32), znikoz (12)
18 years ago
rubidium
c7f9ee6914
(svn r8955) -Fix: crash on loading savegames with GRFs that do not have their GRF info/name set.
18 years ago
rubidium
dd403b586d
(svn r8954) -Codechange: remove direct map accesses from non-map-accessor headers.
18 years ago
rubidium
0945c6950b
(svn r8953) -Codechange: make the names of enums of WaterTileType consistent with respect to RailTileType and RoadTileType.
18 years ago
belugas
240cbd4dd2
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
rubidium
3e9cc1a651
(svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games.
18 years ago
maedhros
78c3edcbb1
(svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and 0xFF bit 10,
...
which is set when a vehicle was built during the exclusive testing phase.
18 years ago
maedhros
2f557f7dc0
(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
18 years ago
maedhros
b9e079cff3
(svn r8944) -Codechange: Move the enum describing the bitmask of Engine.flags to engine.h and give the enum values better names.
18 years ago
maedhros
e1748afd4f
(svn r8943) -Fix (r5338): [NewGRF] Fix support for vehicle variable 48, which just returns Engine[id].flags
18 years ago
rubidium
b5a997a446
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
18 years ago
KUDr
a7d9cbc151
(svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc)
18 years ago
rubidium
f57f10ded9
(svn r8921) -Fix (FS#654): several issues related to removing all orders from an aircraft and removing the airport it was heading:
...
- the aircraft would go to (0, 0) and circle there. Clicking the 'eye' to jump to the aircraft in the main window could cause a segmentation fault.
- when rebuilding an airport with the StationID of the old airport could crash as the FTA state of the aircraft is higher than the number of states of the new airport, causing a crash of all clients and the server when assertions are enabled.
- when rebuilding an airport with the StationID of the old airport can bring the aircraft in a state where is keeps circling the airport.
To solve these issues all aircraft without a valid order will try to go to the nearest hangar it can safely get to (large jets do not land on small airports). If there is no hangar to go to, the airplane crashes (out of fuel).
18 years ago
Darkvater
c83092130b
(svn r8920) -Codechange: Do not require to press 'Apply changes' in the newgrf GUI if the changes in there are not activated (this happens in the title screen)
18 years ago
Darkvater
0e3d40caba
(svn r8919) -Regression (UTF8) (try #2 ): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
18 years ago
Darkvater
60866482ed
(svn r8918) -Revert r8914 as the inverted files have been committed not the correct one.
18 years ago
Darkvater
a0a259d32b
(svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
18 years ago
rubidium
d2a36e4c2d
(svn r8912) -Codechange: coding style cleanup and moving of two global externs into the functions that use them.
18 years ago
rubidium
01db4b646e
(svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove two unused enums.
18 years ago
rubidium
191a739d31
(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
18 years ago
rubidium
67201b129d
(svn r8907) -Fix (r3281): reading from an unitialized variable.
18 years ago
rubidium
58f2b636b4
(svn r8906) -Feature: translation dependant formatting of dates.
18 years ago
peter1138
7669f63d4e
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
18 years ago
tron
87226c519a
(svn r8901) -Fix
...
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
18 years ago
tron
742f5d80b5
(svn r8900) -Fix
...
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
18 years ago
tron
c0ec367e9b
(svn r8899) -Fix
...
Remove the unused second parameter from GetTileRailType()
18 years ago
tron
05c6e8f883
(svn r8897) -Fix
...
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
18 years ago
tron
270e366772
(svn r8896) -Fix
...
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
18 years ago
tron
5d081ed350
(svn r8894) -Fix
...
Slightly simplify the control flow of TrainController()
18 years ago
tron
c8e85a3a78
(svn r8893) -Fix
...
variable scope, const, misc.
18 years ago
rubidium
1a3763d258
(svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits.
18 years ago
peter1138
6b7a4ba448
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
18 years ago
peter1138
bc968d23f1
(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47
18 years ago
rubidium
bee20f6abc
(svn r8889) -Fix (r8880): a CursorID is not a SpriteID.
18 years ago
peter1138
51ce6fe672
(svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels.
18 years ago
KUDr
856ecd41e8
(svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto
18 years ago
peter1138
719f5c7930
(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only.
18 years ago
peter1138
dfda6b7da4
(svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list.
18 years ago
tron
5c91ec0587
(svn r8884) -Fix
...
Replace SetSpeedLimitOnBridge() by something simpler
18 years ago
maedhros
b26ae7f0e7
(svn r8882) -Cleanup (r8881): Remove obsolete strings.
18 years ago
maedhros
4f98bec89b
(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly.
18 years ago
rubidium
4df080bf12
(svn r8880) -Codechange: make anim cursors an array of structs.
18 years ago
rubidium
d1f56bb45b
(svn r8879) -Codechange: make DrawPlayerFace easier to read.
18 years ago
tron
a64ffc1e31
(svn r8878) -Fix
...
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle()
NOTE: 0.5 candidate
18 years ago
rubidium
1be5124f7d
(svn r8877) -Cleanup: remove already implemented @todo
18 years ago
tron
47b677abfe
(svn r8876) -Fix
...
Replace tests with magic numbers by a simple extraction template for command parameters
18 years ago
tron
ac75cf0ae1
(svn r8875) -Fix
...
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
18 years ago
KUDr
efb3637d0f
(svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)
18 years ago
rubidium
98a4fc1399
(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p).
18 years ago
KUDr
93e3250d1e
(svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, helpers.hpp had wrong line ending
18 years ago
KUDr
1c3d8fc1e3
(svn r8866) -Doc: added more comments to template struct MakeEnumPropsT
18 years ago
peter1138
a14de92f38
(svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check
18 years ago
KUDr
8001ab69fb
(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result)
18 years ago
peter1138
c924185f97
(svn r8863) -Fix: prefix engine_custom_sprites with _
18 years ago
belugas
0f090a0c1d
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
...
Some documentation addition, when i can easily supply them
18 years ago
Darkvater
9fa035f467
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
18 years ago
belugas
4160d85cd2
(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
peter1138
b3efec2e7d
(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.
18 years ago
celestar
dfa3c0aae1
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
18 years ago
tron
8bffad2b59
(svn r8856) -Fix
...
Missing */ (r8853)
18 years ago
tron
92159b7afd
(svn r8855) -Fix
...
Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means
18 years ago
belugas
fffe2dcfd0
(svn r8854) -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired result...
18 years ago
belugas
b1b5aecae9
(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style
18 years ago
rubidium
a5697946d1
(svn r8852) -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such).
...
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
18 years ago
rubidium
3717774e0a
(svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads outside of the local authority.
18 years ago
peter1138
59cb258578
(svn r8850) -Codechange: Use the cargo type's is_freight flag instead of checking the cargo type to determine if the cargo type is freight cargo type cargo type.
18 years ago
peter1138
2306a02f75
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
18 years ago
miham
11f286fb74
(svn r8848) -Update: WebTranslator2 update to 2007-02-22 19:57:58
...
brazilian_portuguese - 1 fixed, 49 changed by tucalipe (48), fukumori (2)
bulgarian - 2 fixed by kokobongo (2)
catalan - 1 fixed, 2 changed by arnaullv (3)
czech - 1 fixed by Hadez (1)
danish - 2 fixed, 1 changed by MiR (3)
dutch - 1 fixed by habell (1)
french - 1 fixed, 1 changed by Skiper (2)
german - 1 fixed by Neonox (1)
italian - 1 fixed by sidew (1)
korean - 4 fixed by leejaeuk5 (3), darkttd (1)
portuguese - 4 changed by izhirahider (4)
romanian - 10 fixed by kneekoo (10)
russian - 1 fixed, 42 changed by DarkFenX (43)
slovenian - 1 deleted by Necrolyte (1)
spanish - 1 changed by eusebio (1)
ukrainian - 19 fixed, 1 deleted, 12 changed by mad (32)
18 years ago
tron
fef1922705
(svn r8847) -Fix
...
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
18 years ago
tron
84404cf014
(svn r8846) -Fix
...
Remove confusing superfluous parentheses
18 years ago
tron
426d956367
(svn r8845) -Fix
...
Remove pointless and out of context comment
18 years ago
Darkvater
9cf01ff432
(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it.
18 years ago
tron
6206a87bb9
(svn r8843) -Fix
...
-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size)
Also avoid an unnecessary buffer copy and strlcpy() abuse
NOTE: 0.5 candidate
18 years ago
tron
053e2ddda5
(svn r8841) -Fix
...
Remove {,u}intswap() and replace them by Swap()
18 years ago
tron
20336638d5
(svn r8840) -Fix
...
Remove FIFO and Stack. They have never been used and could not be used anyway because the declarations of some functions are spelled different than the definitions they should correspond to.
Also remove some other unused helpers and related struct attributes.
18 years ago
maedhros
8b6d07cb85
(svn r8838) -Feature: Show newgrf error messages loaded in Action B in the newgrf gui
...
window. GRFs with an error have a warning symbol shown before the name.
18 years ago
rubidium
a2ecc3cc64
(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
18 years ago
KUDr
f1ee924fc5
(svn r8836) [YAPF] -Fix[FS#641]: Assertion: 'IsTileDepotType(depot_tile, TRANSPORT_ROAD)' failed (Karsten)
...
-don't tell that we found destination if the best direction was only guessed
18 years ago
tron
84754e45d6
(svn r8835) -Fix
...
Remove dead code
18 years ago
tron
d1b0dc9cf6
(svn r8834) -Fix
...
Do not pass something to a function it better could figure out by itself
18 years ago
tron
74fea81167
(svn r8833) -Fix
...
-Codechange: Split MakeRoadStop() into MakeRoadStop() and MakeDriveThroughRoadStop() for more clarity and less possibilities to use it incorrect
18 years ago
maedhros
7734c3d295
(svn r8831) -Feature: If an action 7/9 leads to skipping the rest of the file, disable the
...
newgrf if an action 8 hasn't been encountered yet.
18 years ago
maedhros
95ad438f68
(svn r8830) -Feature: Stop loading and disable the current newgrf if a fatal error message
...
in Action B is encountered. Also be more strict on the values accepted.
18 years ago
tron
7f3657c496
(svn r8829) -Fix
...
Remove translations which should not be empty
18 years ago
tron
7917738b54
(svn r8828) -Fix
...
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
18 years ago
belugas
011ef28e47
(svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of 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
18 years ago
peter1138
3d581f4f89
(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
18 years ago
maedhros
f91ed92648
(svn r8825) -Fix: Make sure strings read from newgrf files are 0 terminated and 0
...
terminate them if they aren't, so we don't read beyond the end of the
memory allocated for the line.
18 years ago
Darkvater
2dd9066f8f
(svn r8824) -Fix (r8821): don't use MSVC2005 runtime library-only _snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx.
18 years ago
Darkvater
fa16e74d01
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
18 years ago
tron
27f48c5dda
(svn r8822) -Fix
...
Variable scope, const
18 years ago
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