------------------------------------------------------------------------ r3155 | bjarni | 2005-11-07 23:20:47 +0000 (Mon, 07 Nov 2005) | 12 lines -Feature: [autoreplace] autoreplace can now remove cars from too long trains -Trains will now remember the length of stations it visits and sell cars when being autoreplaced if they became too long -If it needs to remove cars, then it starts from the front and sells all it can find until the train is short enough -This only works for trains, that knows the station length of the route so a full uninterrupted run is needed -a train needs 1-2 runs to detect if the shortest station is expanded -This feature can be turned on and off in the train replace window and each company can have it's own setting -NOTE: minor savegame version bump ------------------------------------------------------------------------ r3154 | Darkvater | 2005-11-07 17:31:21 +0000 (Mon, 07 Nov 2005) | 1 line - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P ------------------------------------------------------------------------ r3153 | Darkvater | 2005-11-07 16:19:45 +0000 (Mon, 07 Nov 2005) | 1 line - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish) ------------------------------------------------------------------------ r3152 | peter1138 | 2005-11-07 14:34:23 +0000 (Mon, 07 Nov 2005) | 2 lines - NewGRF: [ 1340189 ] Action 7/9 new value : is it TTDPatch or OpenTTD? (belugas) ------------------------------------------------------------------------ r3151 | Darkvater | 2005-11-07 13:30:43 +0000 (Mon, 07 Nov 2005) | 2 lines - Fix: showing the highscore might crash the game with an invalid string message in the case when a highscore file was used before certain strings were added. - Codechange: protect _endgame_perf_titles from out-of-bounds access. ------------------------------------------------------------------------ r3150 | peter1138 | 2005-11-07 13:02:33 +0000 (Mon, 07 Nov 2005) | 2 lines Unify some code duplication in HandleLocomotiveSmokeCloud() ------------------------------------------------------------------------ r3148 | peter1138 | 2005-11-06 13:42:26 +0000 (Sun, 06 Nov 2005) | 2 lines -NewGRF, Feature: Add support for cargo refitting specification by cargo classes. ------------------------------------------------------------------------ r3147 | peter1138 | 2005-11-06 13:29:28 +0000 (Sun, 06 Nov 2005) | 2 lines Fix crash when building dual-head rail vehicles... ------------------------------------------------------------------------ r3146 | peter1138 | 2005-11-06 12:39:30 +0000 (Sun, 06 Nov 2005) | 2 lines Avoid use of variable size declared arrays when allocating articulated rail vehicles. ------------------------------------------------------------------------ r3145 | peter1138 | 2005-11-06 10:17:20 +0000 (Sun, 06 Nov 2005) | 2 lines Fix two off-by-one errors in building articulated rail vehicles. ------------------------------------------------------------------------ r3144 | bjarni | 2005-11-06 01:15:10 +0000 (Sun, 06 Nov 2005) | 1 line -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush) ------------------------------------------------------------------------ r3143 | bjarni | 2005-11-05 19:58:16 +0000 (Sat, 05 Nov 2005) | 5 lines -Codechange: greatly increased speed when allocating vehicles This increases the speed greatly when allocating more than one at a time (planes, artic engines, cloning...) and when adding another block of vehicles to the vehicle pool (adding 512 vehicles each time) ------------------------------------------------------------------------ r3142 | peter1138 | 2005-11-05 18:32:21 +0000 (Sat, 05 Nov 2005) | 2 lines Remove a now invalid case fall-through and use helper function instead of map access. ------------------------------------------------------------------------ r3141 | peter1138 | 2005-11-05 18:21:28 +0000 (Sat, 05 Nov 2005) | 2 lines Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB() ------------------------------------------------------------------------ r3140 | peter1138 | 2005-11-05 18:13:40 +0000 (Sat, 05 Nov 2005) | 2 lines Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared. ------------------------------------------------------------------------ r3139 | peter1138 | 2005-11-05 16:07:26 +0000 (Sat, 05 Nov 2005) | 2 lines -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders. ------------------------------------------------------------------------ r3138 | bjarni | 2005-11-05 14:01:00 +0000 (Sat, 05 Nov 2005) | 4 lines -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars Now it gives "too many vehicles" error message instead To make this work, AllocateVehicles() needed to be moved to vehicle.c (from aircraft_cmd.c) and made non-static ------------------------------------------------------------------------ r3137 | bjarni | 2005-11-04 22:10:49 +0000 (Fri, 04 Nov 2005) | 4 lines -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled this assert could be reached by clicking on the goto depot button to cancel goto depot from the orders and the vehicle still entered the depot. The flags in that case would not be "normal" anymore. An additional check is added to prevent this ------------------------------------------------------------------------ r3136 | bjarni | 2005-11-04 20:52:03 +0000 (Fri, 04 Nov 2005) | 5 lines -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles currently this applies to planes and multiheaded train engines (no more lost airmail) added GetNextEnginePart() that returns the next vehicle in an engine nomatter what type it is when more types of multivehicle engines are added, they will have to be added here too or autoreplace will not remove all cargo ------------------------------------------------------------------------ r3135 | tron | 2005-11-04 16:12:48 +0000 (Fri, 04 Nov 2005) | 1 line Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers ------------------------------------------------------------------------ r3134 | tron | 2005-11-04 14:57:53 +0000 (Fri, 04 Nov 2005) | 1 line Forgot to commit one file in r3133 ------------------------------------------------------------------------ r3133 | tron | 2005-11-04 14:01:44 +0000 (Fri, 04 Nov 2005) | 5 lines - static, const - remove long unused stuff and bogus comments - complement struct typedefs - remove read-only (_demo_mode) and unused (_fix_mouse_at) global variables ------------------------------------------------------------------------ r3132 | peter1138 | 2005-11-04 12:58:18 +0000 (Fri, 04 Nov 2005) | 2 lines -NewGRF: support positioning of rail vehicle visual effects. ------------------------------------------------------------------------ r3131 | peter1138 | 2005-11-04 10:02:50 +0000 (Fri, 04 Nov 2005) | 2 lines Enable panning of audio relative to screen position. ------------------------------------------------------------------------ r3130 | peter1138 | 2005-11-04 07:38:26 +0000 (Fri, 04 Nov 2005) | 2 lines Calculate shorter wagon lengths more precisely in train depot window. This affects wagon position, the scroll bar, and the train length counter. No trial and error is required to get the correct length now. ------------------------------------------------------------------------ r3129 | bjarni | 2005-11-03 21:22:38 +0000 (Thu, 03 Nov 2005) | 3 lines -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money this is not the same bug as in rev 3128, which means you actually paid 3 times. Now it pays correctly ------------------------------------------------------------------------ r3128 | bjarni | 2005-11-03 20:19:15 +0000 (Thu, 03 Nov 2005) | 1 line -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money ------------------------------------------------------------------------ r3127 | bjarni | 2005-11-03 19:51:28 +0000 (Thu, 03 Nov 2005) | 4 lines -Fix: [autoreplace] fixed a condition where a vehicle could fail to stop when autoreplacing this would result in the construction of a new vehicle while the old one just continued added an assert to make sure it's always stopped before trying to sell the old vehicle ------------------------------------------------------------------------ r3126 | peter1138 | 2005-11-03 18:27:29 +0000 (Thu, 03 Nov 2005) | 2 lines Autoreplace: Only the first vehicle in a chain should be marked as entering a depot, so call moved out of DoVehicleTrigger loop. ------------------------------------------------------------------------ r3125 | tron | 2005-11-03 15:25:45 +0000 (Thu, 03 Nov 2005) | 1 line Symbolic names for skiping sprites and the end of the sprite list ------------------------------------------------------------------------ r3124 | peter1138 | 2005-11-03 09:22:24 +0000 (Thu, 03 Nov 2005) | 2 lines Alter train loading/unloading time to use the actual length of the train instead of the number of wagons. The actual length is cached in the first vehicle of the train. ------------------------------------------------------------------------ r3123 | Darkvater | 2005-11-02 23:55:10 +0000 (Wed, 02 Nov 2005) | 1 line eh, don't press enter after typing text, previous patch wasn't finished. Now strgen really behaves correctly. Thanks again glx ------------------------------------------------------------------------ r3122 | Darkvater | 2005-11-02 23:31:04 +0000 (Wed, 02 Nov 2005) | 1 line - Fix (regression): recent change to strgen which 'fixed' all strings with wrong plural forms. Thanks for glx for pointing this out (after I changed his original patch which was correct..whohoo braindeadness; here I come) ------------------------------------------------------------------------ r3121 | miham | 2005-11-02 19:20:48 +0000 (Wed, 02 Nov 2005) | 1 line [Translations] Moved turkish.txt from unfinished to stable ------------------------------------------------------------------------ r3120 | tron | 2005-11-02 19:16:33 +0000 (Wed, 02 Nov 2005) | 3 lines Update the turkish translation, about 2000 strings. Many thanks to jnmbk for his effort! ------------------------------------------------------------------------ r3119 | tron | 2005-11-02 16:05:45 +0000 (Wed, 02 Nov 2005) | 1 line Don't pretend to be the Windows version of TTD all the time. When being asked answer according to _use_dos_palette. (Suggestion by Belugas) ------------------------------------------------------------------------ r3118 | tron | 2005-11-02 13:06:07 +0000 (Wed, 02 Nov 2005) | 1 line Name 3 palette modifiers properly (belugas) ------------------------------------------------------------------------