Fri, 02 Mar 2007 18:49:11 +0000(svn r8978) -Feature: Rewrite of transfer system.
richk [Fri, 02 Mar 2007 18:49:11 +0000] rev 6524
(svn r8978) -Feature: Rewrite of transfer system.
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)

Fri, 02 Mar 2007 17:54:52 +0000(svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
Darkvater [Fri, 02 Mar 2007 17:54:52 +0000] rev 6523
(svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.

Fri, 02 Mar 2007 15:17:48 +0000(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.
Darkvater [Fri, 02 Mar 2007 15:17:48 +0000] rev 6522
(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.

Fri, 02 Mar 2007 15:08:28 +0000(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.
Darkvater [Fri, 02 Mar 2007 15:08:28 +0000] rev 6521
(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.

Fri, 02 Mar 2007 15:02:12 +0000(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart)
Darkvater [Fri, 02 Mar 2007 15:02:12 +0000] rev 6520
(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart)

Fri, 02 Mar 2007 12:01:24 +0000(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
celestar [Fri, 02 Mar 2007 12:01:24 +0000] rev 6519
(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.

Fri, 02 Mar 2007 11:36:34 +0000(svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. This lets us remove the gaps and allow more than 12 cargo types later.
peter1138 [Fri, 02 Mar 2007 11:36:34 +0000] rev 6518
(svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. This lets us remove the gaps and allow more than 12 cargo types later.

Fri, 02 Mar 2007 01:18:12 +0000(svn r8970) -Fix (win32): suppress the warnings coming from the DirectX includes for GCC 4.0+. Also clearify commit r8968 in-code
truelight [Fri, 02 Mar 2007 01:18:12 +0000] rev 6517
(svn r8970) -Fix (win32): suppress the warnings coming from the DirectX includes for GCC 4.0+. Also clearify commit r8968 in-code

Fri, 02 Mar 2007 01:17:11 +0000(svn r8969) -Codechange: rework of the player face bits.
rubidium [Fri, 02 Mar 2007 01:17:11 +0000] rev 6516
(svn r8969) -Codechange: rework of the player face bits.
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
- replace tons of ifs/switches/magic numbers by table lookups

Fri, 02 Mar 2007 00:45:08 +0000(svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing
truelight [Fri, 02 Mar 2007 00:45:08 +0000] rev 6515
(svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing