Thu, 05 Jan 2006 21:50:09 +0000(svn r3368) Fix the same type of off-by-one error when checking, if the passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough*
tron [Thu, 05 Jan 2006 21:50:09 +0000] rev 2820
(svn r3368) Fix the same type of off-by-one error when checking, if the passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough*

Thu, 05 Jan 2006 21:35:54 +0000(svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
tron [Thu, 05 Jan 2006 21:35:54 +0000] rev 2819
(svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
As side effect this is a
-Fix: The default AI tried to change the service intervals of vehicles via the CMD_CHANGE_TRAIN_SERVICE_INT command - regardless of the type of the vehicle - which of course failed for non-trains

Thu, 05 Jan 2006 16:51:10 +0000(svn r3366) Make an unnecessarily global variable local
tron [Thu, 05 Jan 2006 16:51:10 +0000] rev 2818
(svn r3366) Make an unnecessarily global variable local

Thu, 05 Jan 2006 12:40:50 +0000(svn r3365) Staticise 36 functions
tron [Thu, 05 Jan 2006 12:40:50 +0000] rev 2817
(svn r3365) Staticise 36 functions

Thu, 05 Jan 2006 12:00:38 +0000(svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
tron [Thu, 05 Jan 2006 12:00:38 +0000] rev 2816
(svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)

Thu, 05 Jan 2006 11:18:58 +0000(svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.
truelight [Thu, 05 Jan 2006 11:18:58 +0000] rev 2815
(svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.

Wed, 04 Jan 2006 20:18:39 +0000(svn r3362) Fix issue with loading old (TTD) savegames:
peter1138 [Wed, 04 Jan 2006 20:18:39 +0000] rev 2814
(svn r3362) Fix issue with loading old (TTD) savegames:
- move call to convert from old to new train subtypes.
- ensure AI is started for AI players.

Wed, 04 Jan 2006 16:53:00 +0000(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process.
peter1138 [Wed, 04 Jan 2006 16:53:00 +0000] rev 2813
(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process.

Mon, 02 Jan 2006 22:40:39 +0000(svn r3360) Fix initialization of engines for precalculation of default refit mask.
peter1138 [Mon, 02 Jan 2006 22:40:39 +0000] rev 2812
(svn r3360) Fix initialization of engines for precalculation of default refit mask.

Mon, 02 Jan 2006 19:55:09 +0000(svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command.
peter1138 [Mon, 02 Jan 2006 19:55:09 +0000] rev 2811
(svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command.

Fri, 30 Dec 2005 22:09:01 +0000(svn r3358) Remove another piece of unused code
tron [Fri, 30 Dec 2005 22:09:01 +0000] rev 2810
(svn r3358) Remove another piece of unused code

Fri, 30 Dec 2005 14:28:32 +0000(svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map
tron [Fri, 30 Dec 2005 14:28:32 +0000] rev 2809
(svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map

Thu, 29 Dec 2005 22:28:19 +0000(svn r3356) - Remove unused parameter of AfterLoadGame().
peter1138 [Thu, 29 Dec 2005 22:28:19 +0000] rev 2808
(svn r3356) - Remove unused parameter of AfterLoadGame().
- Initialize _sl_version after loading an old savegame.

Thu, 29 Dec 2005 19:09:05 +0000(svn r3355) Three minor improvements for french (by me using dict.leo.org, OKed by Belugas)
tron [Thu, 29 Dec 2005 19:09:05 +0000] rev 2807
(svn r3355) Three minor improvements for french (by me using dict.leo.org, OKed by Belugas)

Thu, 29 Dec 2005 19:06:44 +0000(svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)
tron [Thu, 29 Dec 2005 19:06:44 +0000] rev 2806
(svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)

Thu, 29 Dec 2005 12:42:59 +0000(svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
tron [Thu, 29 Dec 2005 12:42:59 +0000] rev 2805
(svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length

Wed, 28 Dec 2005 22:29:59 +0000(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
peter1138 [Wed, 28 Dec 2005 22:29:59 +0000] rev 2804
(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.

Wed, 28 Dec 2005 09:40:26 +0000(svn r3351) Make sort criteria selection widgets in player train list consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)
peter1138 [Wed, 28 Dec 2005 09:40:26 +0000] rev 2803
(svn r3351) Make sort criteria selection widgets in player train list consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)

Wed, 28 Dec 2005 09:29:00 +0000(svn r3350) Fix widget glitch in player ship window (missed in r1379)
peter1138 [Wed, 28 Dec 2005 09:29:00 +0000] rev 2802
(svn r3350) Fix widget glitch in player ship window (missed in r1379)

Wed, 28 Dec 2005 08:39:43 +0000(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.
peter1138 [Wed, 28 Dec 2005 08:39:43 +0000] rev 2801
(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.

Tue, 27 Dec 2005 22:55:24 +0000(svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results
tron [Tue, 27 Dec 2005 22:55:24 +0000] rev 2800
(svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results

Tue, 27 Dec 2005 20:44:42 +0000(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?)
tron [Tue, 27 Dec 2005 20:44:42 +0000] rev 2799
(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?)

Tue, 27 Dec 2005 16:37:50 +0000(svn r3346) - Increase size of aircraft refit window by one item; fixes "[ 1387477 ] Can't refit aircraft to carry Fizzy Drinks"
peter1138 [Tue, 27 Dec 2005 16:37:50 +0000] rev 2798
(svn r3346) - Increase size of aircraft refit window by one item; fixes "[ 1387477 ] Can't refit aircraft to carry Fizzy Drinks"

Mon, 26 Dec 2005 18:24:01 +0000(svn r3345) Remove untranslated strings
tron [Mon, 26 Dec 2005 18:24:01 +0000] rev 2797
(svn r3345) Remove untranslated strings

Mon, 26 Dec 2005 18:22:34 +0000(svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks to Truelight) translation
tron [Mon, 26 Dec 2005 18:22:34 +0000] rev 2796
(svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks to Truelight) translation

Mon, 26 Dec 2005 15:41:24 +0000(svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.
peter1138 [Mon, 26 Dec 2005 15:41:24 +0000] rev 2795
(svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.

Sun, 25 Dec 2005 19:44:23 +0000(svn r3342) Remove some cruft
tron [Sun, 25 Dec 2005 19:44:23 +0000] rev 2794
(svn r3342) Remove some cruft

Sun, 25 Dec 2005 15:05:59 +0000(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
truelight [Sun, 25 Dec 2005 15:05:59 +0000] rev 2793
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform

Sun, 25 Dec 2005 09:19:16 +0000(svn r3340) Fix dependency calculation: dependencies didn't get recalculated if a header file changed
tron [Sun, 25 Dec 2005 09:19:16 +0000] rev 2792
(svn r3340) Fix dependency calculation: dependencies didn't get recalculated if a header file changed
Also really automagically create the dependency directories by deriving the directory names from $(DEPS)

Sat, 24 Dec 2005 20:54:31 +0000(svn r3339) Remove unnecessary includes
tron [Sat, 24 Dec 2005 20:54:31 +0000] rev 2791
(svn r3339) Remove unnecessary includes