Sun, 13 Nov 2005 21:16:34 +0000(svn r3176) Use proper types, not some variants of int
tron [Sun, 13 Nov 2005 21:16:34 +0000] rev 2634
(svn r3176) Use proper types, not some variants of int

Sun, 13 Nov 2005 18:07:45 +0000(svn r3175) - Updated OS/2 project file to include station_newgrf.c
orudge [Sun, 13 Nov 2005 18:07:45 +0000] rev 2633
(svn r3175) - Updated OS/2 project file to include station_newgrf.c

Sun, 13 Nov 2005 16:30:04 +0000(svn r3174) - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project)
Darkvater [Sun, 13 Nov 2005 16:30:04 +0000] rev 2632
(svn r3174) - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project)

Sun, 13 Nov 2005 14:54:09 +0000(svn r3173) Use the trinary operator and switch to improve readability
tron [Sun, 13 Nov 2005 14:54:09 +0000] rev 2631
(svn r3173) Use the trinary operator and switch to improve readability
Also align short cases nicely

Sun, 13 Nov 2005 13:43:55 +0000(svn r3172) static, const
tron [Sun, 13 Nov 2005 13:43:55 +0000] rev 2630
(svn r3172) static, const

Sat, 12 Nov 2005 11:10:12 +0000(svn r3171) - Codechange: remove static _dropdown_disabled/_dropdown_hidden variables, as a window already contains this information.
peter1138 [Sat, 12 Nov 2005 11:10:12 +0000] rev 2629
(svn r3171) - Codechange: remove static _dropdown_disabled/_dropdown_hidden variables, as a window already contains this information.

Sat, 12 Nov 2005 09:30:52 +0000(svn r3170) - NewGRF: make ttdpatch flags to reflect patch option status, and added some more values.
peter1138 [Sat, 12 Nov 2005 09:30:52 +0000] rev 2628
(svn r3170) - NewGRF: make ttdpatch flags to reflect patch option status, and added some more values.

Sat, 12 Nov 2005 08:51:46 +0000(svn r3169) Little bit of coding style fixing, and change from value to lengthof()
peter1138 [Sat, 12 Nov 2005 08:51:46 +0000] rev 2627
(svn r3169) Little bit of coding style fixing, and change from value to lengthof()

Sat, 12 Nov 2005 00:29:13 +0000(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
peter1138 [Sat, 12 Nov 2005 00:29:13 +0000] rev 2626
(svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/

Sat, 12 Nov 2005 00:19:34 +0000(svn r3167) - NewGRF: Start moving custom station code to separate files.
peter1138 [Sat, 12 Nov 2005 00:19:34 +0000] rev 2625
(svn r3167) - NewGRF: Start moving custom station code to separate files.
Rewrite handling of station classes.
Allow for more than 8 station tile layouts.
Start of code to unload custom stations.

Fri, 11 Nov 2005 20:34:16 +0000(svn r3166) Constify read-only accesses of custom stations
peter1138 [Fri, 11 Nov 2005 20:34:16 +0000] rev 2624
(svn r3166) Constify read-only accesses of custom stations

Thu, 10 Nov 2005 17:21:05 +0000(svn r3163) Include header for toupper()
tron [Thu, 10 Nov 2005 17:21:05 +0000] rev 2623
(svn r3163) Include header for toupper()

Thu, 10 Nov 2005 15:23:55 +0000(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
truelight [Thu, 10 Nov 2005 15:23:55 +0000] rev 2622
(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
exists on MorphOS

Wed, 09 Nov 2005 11:32:15 +0000(svn r3159) Remove the read-only variable _no_button_sound
tron [Wed, 09 Nov 2005 11:32:15 +0000] rev 2621
(svn r3159) Remove the read-only variable _no_button_sound

Wed, 09 Nov 2005 09:16:08 +0000(svn r3158) - 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)
peter1138 [Wed, 09 Nov 2005 09:16:08 +0000] rev 2620
(svn r3158) - 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)

Wed, 09 Nov 2005 07:25:55 +0000(svn r3157) - 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.
peter1138 [Wed, 09 Nov 2005 07:25:55 +0000] rev 2619
(svn r3157) - 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.

Tue, 08 Nov 2005 23:18:09 +0000(svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
bjarni [Tue, 08 Nov 2005 23:18:09 +0000] rev 2618
(svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
due to the FOR_ALL_VEHICLES(), redrawing those windows are slow

Mon, 07 Nov 2005 23:20:47 +0000(svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
bjarni [Mon, 07 Nov 2005 23:20:47 +0000] rev 2617
(svn r3155) -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

Mon, 07 Nov 2005 17:31:21 +0000(svn r3154) - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P
Darkvater [Mon, 07 Nov 2005 17:31:21 +0000] rev 2616
(svn r3154) - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P

Mon, 07 Nov 2005 16:19:45 +0000(svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish)
Darkvater [Mon, 07 Nov 2005 16:19:45 +0000] rev 2615
(svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish)

Mon, 07 Nov 2005 14:34:23 +0000(svn r3152) - NewGRF: [ 1340189 ] Action 7/9 new value : is it TTDPatch or OpenTTD? (belugas)
peter1138 [Mon, 07 Nov 2005 14:34:23 +0000] rev 2614
(svn r3152) - NewGRF: [ 1340189 ] Action 7/9 new value : is it TTDPatch or OpenTTD? (belugas)

Mon, 07 Nov 2005 13:30:43 +0000(svn r3151) - 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.
Darkvater [Mon, 07 Nov 2005 13:30:43 +0000] rev 2613
(svn r3151) - 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.

Mon, 07 Nov 2005 13:02:33 +0000(svn r3150) Unify some code duplication in HandleLocomotiveSmokeCloud()
peter1138 [Mon, 07 Nov 2005 13:02:33 +0000] rev 2612
(svn r3150) Unify some code duplication in HandleLocomotiveSmokeCloud()

Sun, 06 Nov 2005 13:42:26 +0000(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
peter1138 [Sun, 06 Nov 2005 13:42:26 +0000] rev 2611
(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.

Sun, 06 Nov 2005 13:29:28 +0000(svn r3147) Fix crash when building dual-head rail vehicles...
peter1138 [Sun, 06 Nov 2005 13:29:28 +0000] rev 2610
(svn r3147) Fix crash when building dual-head rail vehicles...

Sun, 06 Nov 2005 12:39:30 +0000(svn r3146) Avoid use of variable size declared arrays when allocating articulated rail vehicles.
peter1138 [Sun, 06 Nov 2005 12:39:30 +0000] rev 2609
(svn r3146) Avoid use of variable size declared arrays when allocating articulated rail vehicles.

Sun, 06 Nov 2005 10:17:20 +0000(svn r3145) Fix two off-by-one errors in building articulated rail vehicles.
peter1138 [Sun, 06 Nov 2005 10:17:20 +0000] rev 2608
(svn r3145) Fix two off-by-one errors in building articulated rail vehicles.

Sun, 06 Nov 2005 01:15:10 +0000(svn r3144) -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush)
bjarni [Sun, 06 Nov 2005 01:15:10 +0000] rev 2607
(svn r3144) -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush)

Sat, 05 Nov 2005 19:58:16 +0000(svn r3143) -Codechange: greatly increased speed when allocating vehicles
bjarni [Sat, 05 Nov 2005 19:58:16 +0000] rev 2606
(svn r3143) -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)

Sat, 05 Nov 2005 18:32:21 +0000(svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.
peter1138 [Sat, 05 Nov 2005 18:32:21 +0000] rev 2605
(svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.