------------------------------------------------------------------------ r3163 | tron | 2005-11-10 17:21:05 +0000 (Thu, 10 Nov 2005) | 1 line Include header for toupper() ------------------------------------------------------------------------ r3162 | truelight | 2005-11-10 15:23:55 +0000 (Thu, 10 Nov 2005) | 3 lines -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already exists on MorphOS ------------------------------------------------------------------------ r3159 | tron | 2005-11-09 11:32:15 +0000 (Wed, 09 Nov 2005) | 1 line Remove the read-only variable _no_button_sound ------------------------------------------------------------------------ r3158 | peter1138 | 2005-11-09 09:16:08 +0000 (Wed, 09 Nov 2005) | 2 lines - PBS: [ 1252192 ] Fix an assertion failure due to possible junk data in pre-PBS savegames. This will not correct pre-PBS savegames loaded and saved since PBS was introduced. (thanks glx) ------------------------------------------------------------------------ r3157 | peter1138 | 2005-11-09 07:25:55 +0000 (Wed, 09 Nov 2005) | 2 lines - Feature: Added patch option to link the terraform toolbar to the rail, road, water and airport toolbars. If enabled, the terraform toolbar will open and close with those toolbars. ------------------------------------------------------------------------ r3156 | bjarni | 2005-11-08 23:18:09 +0000 (Tue, 08 Nov 2005) | 3 lines -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed due to the FOR_ALL_VEHICLES(), redrawing those windows are slow ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------