Tue, 06 May 2008 21:28:30 +0000(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
rubidium [Tue, 06 May 2008 21:28:30 +0000] rev 9115
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.

Tue, 06 May 2008 21:07:47 +0000(svn r12974) -Codechange: check whether loading/saving highscores goes as it should be.
rubidium [Tue, 06 May 2008 21:07:47 +0000] rev 9114
(svn r12974) -Codechange: check whether loading/saving highscores goes as it should be.

Tue, 06 May 2008 17:24:27 +0000(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...
peter1138 [Tue, 06 May 2008 17:24:27 +0000] rev 9113
(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...

Tue, 06 May 2008 15:36:55 +0000(svn r12972) -Fix (r12971): forgot to close a comment
glx [Tue, 06 May 2008 15:36:55 +0000] rev 9112
(svn r12972) -Fix (r12971): forgot to close a comment

Tue, 06 May 2008 15:11:33 +0000(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium [Tue, 06 May 2008 15:11:33 +0000] rev 9111
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.

Tue, 06 May 2008 15:06:19 +0000(svn r12970) -Codechange: coding style for some function names
glx [Tue, 06 May 2008 15:06:19 +0000] rev 9110
(svn r12970) -Codechange: coding style for some function names

Tue, 06 May 2008 14:24:33 +0000(svn r12969) -Codechange: remove a completely pointless file.
rubidium [Tue, 06 May 2008 14:24:33 +0000] rev 9109
(svn r12969) -Codechange: remove a completely pointless file.

Tue, 06 May 2008 10:31:50 +0000(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
maedhros [Tue, 06 May 2008 10:31:50 +0000] rev 9108
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.

Mon, 05 May 2008 23:04:24 +0000(svn r12967) -Fix (r12966): my lang update script failed
glx [Mon, 05 May 2008 23:04:24 +0000] rev 9107
(svn r12967) -Fix (r12966): my lang update script failed

Mon, 05 May 2008 22:52:49 +0000(svn r12966) -Update: apply english.txt changes from r12965 to other languages
glx [Mon, 05 May 2008 22:52:49 +0000] rev 9106
(svn r12966) -Update: apply english.txt changes from r12965 to other languages

Mon, 05 May 2008 22:42:06 +0000(svn r12965) -Codechange: add support for callback 37 in industries directory window
glx [Mon, 05 May 2008 22:42:06 +0000] rev 9105
(svn r12965) -Codechange: add support for callback 37 in industries directory window

Mon, 05 May 2008 22:37:40 +0000(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows
glx [Mon, 05 May 2008 22:37:40 +0000] rev 9104
(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows

Mon, 05 May 2008 22:35:33 +0000(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
rubidium [Mon, 05 May 2008 22:35:33 +0000] rev 9103
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.

Mon, 05 May 2008 22:22:12 +0000(svn r12962) -Fix (r12961): forgot one break
smatz [Mon, 05 May 2008 22:22:12 +0000] rev 9102
(svn r12962) -Fix (r12961): forgot one break

Mon, 05 May 2008 22:03:01 +0000(svn r12961) -Codechange: store the type of savegame we are loading in a global variable
smatz [Mon, 05 May 2008 22:03:01 +0000] rev 9101
(svn r12961) -Codechange: store the type of savegame we are loading in a global variable

Mon, 05 May 2008 21:54:05 +0000(svn r12960) -Codechange: handle return values of (some) file system related functions.
rubidium [Mon, 05 May 2008 21:54:05 +0000] rev 9100
(svn r12960) -Codechange: handle return values of (some) file system related functions.

Mon, 05 May 2008 21:09:03 +0000(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory
glx [Mon, 05 May 2008 21:09:03 +0000] rev 9099
(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory

Mon, 05 May 2008 19:02:10 +0000(svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.
peter1138 [Mon, 05 May 2008 19:02:10 +0000] rev 9098
(svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.

Mon, 05 May 2008 18:27:57 +0000(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
rubidium [Mon, 05 May 2008 18:27:57 +0000] rev 9097
(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.

Mon, 05 May 2008 16:05:36 +0000(svn r12956) -Codechange: Code-style application on switch-case aligment
belugas [Mon, 05 May 2008 16:05:36 +0000] rev 9096
(svn r12956) -Codechange: Code-style application on switch-case aligment

Mon, 05 May 2008 15:07:09 +0000(svn r12955) -Fix (r12858): compilation with desync debug was broken
smatz [Mon, 05 May 2008 15:07:09 +0000] rev 9095
(svn r12955) -Fix (r12858): compilation with desync debug was broken

Mon, 05 May 2008 11:36:43 +0000(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
peter1138 [Mon, 05 May 2008 11:36:43 +0000] rev 9094
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.

Mon, 05 May 2008 11:24:58 +0000(svn r12952) -Cleanup: Indenting and codestyle
peter1138 [Mon, 05 May 2008 11:24:58 +0000] rev 9093
(svn r12952) -Cleanup: Indenting and codestyle

Mon, 05 May 2008 02:11:12 +0000(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
belugas [Mon, 05 May 2008 02:11:12 +0000] rev 9092
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.

Mon, 05 May 2008 02:02:32 +0000(svn r12950) -Fix: two includes is one too much
belugas [Mon, 05 May 2008 02:02:32 +0000] rev 9091
(svn r12950) -Fix: two includes is one too much

Sun, 04 May 2008 22:57:50 +0000(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.
rubidium [Sun, 04 May 2008 22:57:50 +0000] rev 9090
(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.

Sun, 04 May 2008 22:38:18 +0000(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.
rubidium [Sun, 04 May 2008 22:38:18 +0000] rev 9089
(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.

Sun, 04 May 2008 22:32:25 +0000(svn r12947) -Fix: keep only first 15 bits for non failed callback results
glx [Sun, 04 May 2008 22:32:25 +0000] rev 9088
(svn r12947) -Fix: keep only first 15 bits for non failed callback results

Sun, 04 May 2008 22:19:44 +0000(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
rubidium [Sun, 04 May 2008 22:19:44 +0000] rev 9087
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.

Sun, 04 May 2008 22:13:47 +0000(svn r12945) -Fix: (small) memory leak when joining/exiting threads.
rubidium [Sun, 04 May 2008 22:13:47 +0000] rev 9086
(svn r12945) -Fix: (small) memory leak when joining/exiting threads.

Sun, 04 May 2008 21:53:36 +0000(svn r12944) -Codechange: use rev.h instead of externs at many places
smatz [Sun, 04 May 2008 21:53:36 +0000] rev 9085
(svn r12944) -Codechange: use rev.h instead of externs at many places

Sun, 04 May 2008 21:47:36 +0000(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
rubidium [Sun, 04 May 2008 21:47:36 +0000] rev 9084
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.

Sun, 04 May 2008 21:36:37 +0000(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
rubidium [Sun, 04 May 2008 21:36:37 +0000] rev 9083
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.

Sun, 04 May 2008 10:05:50 +0000(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
rubidium [Sun, 04 May 2008 10:05:50 +0000] rev 9082
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.

Sun, 04 May 2008 10:05:35 +0000(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well
bjarni [Sun, 04 May 2008 10:05:35 +0000] rev 9081
(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well

Sun, 04 May 2008 09:39:16 +0000(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.
rubidium [Sun, 04 May 2008 09:39:16 +0000] rev 9080
(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.

Sun, 04 May 2008 08:56:59 +0000(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
rubidium [Sun, 04 May 2008 08:56:59 +0000] rev 9079
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.

Sun, 04 May 2008 08:49:57 +0000(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
rubidium [Sun, 04 May 2008 08:49:57 +0000] rev 9078
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.

Sun, 04 May 2008 08:38:21 +0000(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
rubidium [Sun, 04 May 2008 08:38:21 +0000] rev 9077
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.

Fri, 02 May 2008 08:15:36 +0000(svn r12935) -Fix [FS#1975]: vehicles forget their manual depot order when stopping at a station. Now we just pass through the station without stopping when a vehicle has been given a depot order.
rubidium [Fri, 02 May 2008 08:15:36 +0000] rev 9076
(svn r12935) -Fix [FS#1975]: vehicles forget their manual depot order when stopping at a station. Now we just pass through the station without stopping when a vehicle has been given a depot order.

Fri, 02 May 2008 02:06:57 +0000(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
belugas [Fri, 02 May 2008 02:06:57 +0000] rev 9075
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests

Thu, 01 May 2008 22:51:53 +0000(svn r12933) -Fix: minor errors related to industries accepted/produced cargo
glx [Thu, 01 May 2008 22:51:53 +0000] rev 9074
(svn r12933) -Fix: minor errors related to industries accepted/produced cargo

Wed, 30 Apr 2008 17:42:08 +0000(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
peter1138 [Wed, 30 Apr 2008 17:42:08 +0000] rev 9073
(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.

Wed, 30 Apr 2008 07:39:46 +0000(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
rubidium [Wed, 30 Apr 2008 07:39:46 +0000] rev 9072
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.

Tue, 29 Apr 2008 23:11:55 +0000(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
smatz [Tue, 29 Apr 2008 23:11:55 +0000] rev 9071
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre

Tue, 29 Apr 2008 21:31:29 +0000(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
peter1138 [Tue, 29 Apr 2008 21:31:29 +0000] rev 9070
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.

Tue, 29 Apr 2008 18:19:29 +0000(svn r12921) -Codechange: coding style fixes and documentation updates.
rubidium [Tue, 29 Apr 2008 18:19:29 +0000] rev 9069
(svn r12921) -Codechange: coding style fixes and documentation updates.

Tue, 29 Apr 2008 18:08:14 +0000(svn r12920) -Fix (r12859): town rating was affected even after the test run
smatz [Tue, 29 Apr 2008 18:08:14 +0000] rev 9068
(svn r12920) -Fix (r12859): town rating was affected even after the test run

Tue, 29 Apr 2008 16:36:44 +0000(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress
smatz [Tue, 29 Apr 2008 16:36:44 +0000] rev 9067
(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress

Tue, 29 Apr 2008 10:26:22 +0000(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
rubidium [Tue, 29 Apr 2008 10:26:22 +0000] rev 9066
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.

Tue, 29 Apr 2008 07:11:54 +0000(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
peter1138 [Tue, 29 Apr 2008 07:11:54 +0000] rev 9065
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE

Mon, 28 Apr 2008 23:48:45 +0000(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does
smatz [Mon, 28 Apr 2008 23:48:45 +0000] rev 9064
(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does

Mon, 28 Apr 2008 23:34:23 +0000(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
smatz [Mon, 28 Apr 2008 23:34:23 +0000] rev 9063
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value

Mon, 28 Apr 2008 11:15:13 +0000(svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable.
peter1138 [Mon, 28 Apr 2008 11:15:13 +0000] rev 9062
(svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable.

Sun, 27 Apr 2008 20:09:29 +0000(svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)
bjarni [Sun, 27 Apr 2008 20:09:29 +0000] rev 9061
(svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)
Autoreplace uses this with the following benefits:
-Mass autoreplace (the button in the depot window) will now estimate costs correctly
-Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
Thanks to Ammler for testing this

Sun, 27 Apr 2008 18:05:48 +0000(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
bjarni [Sun, 27 Apr 2008 18:05:48 +0000] rev 9060
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID

Sun, 27 Apr 2008 10:19:41 +0000(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.
peter1138 [Sun, 27 Apr 2008 10:19:41 +0000] rev 9059
(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.

Sat, 26 Apr 2008 14:20:39 +0000(svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start)
smatz [Sat, 26 Apr 2008 14:20:39 +0000] rev 9058
(svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start)

Fri, 25 Apr 2008 16:33:40 +0000(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash
smatz [Fri, 25 Apr 2008 16:33:40 +0000] rev 9057
(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash

Fri, 25 Apr 2008 15:25:28 +0000(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.
rubidium [Fri, 25 Apr 2008 15:25:28 +0000] rev 9056
(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.