Sat, 03 Mar 2007 10:48:25 +0000(svn r8990) -Fix: more indenting and variable scoping
peter1138 [Sat, 03 Mar 2007 10:48:25 +0000] rev 6530
(svn r8990) -Fix: more indenting and variable scoping

Sat, 03 Mar 2007 09:58:20 +0000(svn r8989) -Fix: more indenting and variable scoping
peter1138 [Sat, 03 Mar 2007 09:58:20 +0000] rev 6529
(svn r8989) -Fix: more indenting and variable scoping

Sat, 03 Mar 2007 09:40:34 +0000(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage
peter1138 [Sat, 03 Mar 2007 09:40:34 +0000] rev 6528
(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage

Sat, 03 Mar 2007 04:04:22 +0000(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
belugas [Sat, 03 Mar 2007 04:04:22 +0000] rev 6527
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.

Fri, 02 Mar 2007 19:57:55 +0000(svn r8980) -Fix (FS#656): the industry list should also be (re)set when the number of industries is 0.
rubidium [Fri, 02 Mar 2007 19:57:55 +0000] rev 6526
(svn r8980) -Fix (FS#656): the industry list should also be (re)set when the number of industries is 0.

Fri, 02 Mar 2007 18:57:54 +0000(svn r8979) -Fix (r8978): unsigned vs signed comparisons.
rubidium [Fri, 02 Mar 2007 18:57:54 +0000] rev 6525
(svn r8979) -Fix (r8978): unsigned vs signed comparisons.

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.