Fri, 08 Sep 2006 11:53:05 +0000(svn r6428) -Codechange: [autoreplace] removed duplicated code to draw the info text in the autoreplace window
bjarni [Fri, 08 Sep 2006 11:53:05 +0000] rev 4578
(svn r6428) -Codechange: [autoreplace] removed duplicated code to draw the info text in the autoreplace window

Fri, 08 Sep 2006 11:50:06 +0000(svn r6427) WebTranslator2 update to 2006-09-08 13:49:45
miham [Fri, 08 Sep 2006 11:50:06 +0000] rev 4577
(svn r6427) WebTranslator2 update to 2006-09-08 13:49:45
hungarian - 8 fixed by miham (8)

Fri, 08 Sep 2006 11:47:03 +0000(svn r6426) [langchanges] WT2 screwed up hungarian translations, because server ran out of disc space (nightlies took up too much space).
miham [Fri, 08 Sep 2006 11:47:03 +0000] rev 4576
(svn r6426) [langchanges] WT2 screwed up hungarian translations, because server ran out of disc space (nightlies took up too much space).
First step: restore hungarian languagefile

Fri, 08 Sep 2006 11:43:15 +0000(svn r6425) WebTranslator2 update to 2006-09-08 13:42:53
miham [Fri, 08 Sep 2006 11:43:15 +0000] rev 4575
(svn r6425) WebTranslator2 update to 2006-09-08 13:42:53
hungarian - 8 fixed by miham (8)
turkish - 7 fixed by edokan (7)

Fri, 08 Sep 2006 10:47:39 +0000(svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn
bjarni [Fri, 08 Sep 2006 10:47:39 +0000] rev 4574
(svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn
To do this, the player struct contains an array, that contains the count of each engine type that the player owns
Those arrays are updated each time a vehicle is build or deleted and is calculated on load (it's not saved)
It's possible to access the arrays outside of the autoreplace GUI, so feel free to read from them in other patches as well

Fri, 08 Sep 2006 03:59:38 +0000(svn r6423) -Codechange: Replace two magic numbers by appropriate enum/define value
belugas [Fri, 08 Sep 2006 03:59:38 +0000] rev 4573
(svn r6423) -Codechange: Replace two magic numbers by appropriate enum/define value

Thu, 07 Sep 2006 22:36:33 +0000(svn r6421) -Revert r6420: The dedicated server's console actually needs to work. It misses half the input at the moment. Sorry, too hasty commit.
Darkvater [Thu, 07 Sep 2006 22:36:33 +0000] rev 4572
(svn r6421) -Revert r6420: The dedicated server's console actually needs to work. It misses half the input at the moment. Sorry, too hasty commit.

Thu, 07 Sep 2006 21:52:21 +0000(svn r6420) -Feature [Win32]: Use an existing console if openttd was started from one.
Darkvater [Thu, 07 Sep 2006 21:52:21 +0000] rev 4571
(svn r6420) -Feature [Win32]: Use an existing console if openttd was started from one.
Unfortunately this only works for WindowsXP or higher, all older MS-OS's
are stuck with the old behaviour.

Thu, 07 Sep 2006 18:36:37 +0000(svn r6419) WebTranslator2 update to 2006-09-07 20:36:09
miham [Thu, 07 Sep 2006 18:36:37 +0000] rev 4570
(svn r6419) WebTranslator2 update to 2006-09-07 20:36:09
american - 8 fixed by WhiteRabbit (8)
french - 7 changed by glx (7)
spanish - 11 fixed by eusebio (11)
turkish - 2 fixed by edokan (2)

Thu, 07 Sep 2006 15:00:47 +0000(svn r6418) -Fix: [autoreplace] now multiheaded engines and other locomotives consisting of more than one unit will only be counted once
bjarni [Thu, 07 Sep 2006 15:00:47 +0000] rev 4569
(svn r6418) -Fix: [autoreplace] now multiheaded engines and other locomotives consisting of more than one unit will only be counted once
This also cleaned up the counting loop alot and it will also (hopefully) be faster (didn't benchmark it)