Thu, 31 Aug 2006 08:36:31 +0000(svn r6260) Improve readability
tron [Thu, 31 Aug 2006 08:36:31 +0000] rev 4475
(svn r6260) Improve readability

Thu, 31 Aug 2006 08:16:28 +0000(svn r6259) Extract the axis directly, don't use a trinary operator
tron [Thu, 31 Aug 2006 08:16:28 +0000] rev 4474
(svn r6259) Extract the axis directly, don't use a trinary operator

Thu, 31 Aug 2006 08:11:08 +0000(svn r6258) Reduce the number of induction variables and inner scopes for clarity
tron [Thu, 31 Aug 2006 08:11:08 +0000] rev 4473
(svn r6258) Reduce the number of induction variables and inner scopes for clarity

Thu, 31 Aug 2006 07:52:20 +0000(svn r6257) Use memcmp() to check the MD5 sum instead of using a home brewed loop
tron [Thu, 31 Aug 2006 07:52:20 +0000] rev 4472
(svn r6257) Use memcmp() to check the MD5 sum instead of using a home brewed loop

Thu, 31 Aug 2006 07:49:34 +0000(svn r6256) if () cascades -> switch ()
tron [Thu, 31 Aug 2006 07:49:34 +0000] rev 4471
(svn r6256) if () cascades -> switch ()

Thu, 31 Aug 2006 07:29:19 +0000(svn r6255) Simplify drawing of catenary in depots
tron [Thu, 31 Aug 2006 07:29:19 +0000] rev 4470
(svn r6255) Simplify drawing of catenary in depots

Thu, 31 Aug 2006 07:13:36 +0000(svn r6254) if () cascade -> switch ()
tron [Thu, 31 Aug 2006 07:13:36 +0000] rev 4469
(svn r6254) if () cascade -> switch ()

Thu, 31 Aug 2006 07:09:13 +0000(svn r6253) Comment out code with #if 0, not //. Join statements which needlessly span many lines into fewer lines
tron [Thu, 31 Aug 2006 07:09:13 +0000] rev 4468
(svn r6253) Comment out code with #if 0, not //. Join statements which needlessly span many lines into fewer lines

Thu, 31 Aug 2006 07:01:26 +0000(svn r6252) Replace a comglomerate of ifs for animated station tiles by a small table and a loop iterating over it
tron [Thu, 31 Aug 2006 07:01:26 +0000] rev 4467
(svn r6252) Replace a comglomerate of ifs for animated station tiles by a small table and a loop iterating over it

Thu, 31 Aug 2006 06:46:52 +0000(svn r6251) Replace 2 bool variables by a simple switch
tron [Thu, 31 Aug 2006 06:46:52 +0000] rev 4466
(svn r6251) Replace 2 bool variables by a simple switch

Wed, 30 Aug 2006 23:01:45 +0000(svn r6249) -Fix: fixed assert when pressing goto depot in an empty list (forgot to disable the button in this condition)
bjarni [Wed, 30 Aug 2006 23:01:45 +0000] rev 4465
(svn r6249) -Fix: fixed assert when pressing goto depot in an empty list (forgot to disable the button in this condition)
-Code cleanup r6246: simplified SendAllVehiclesToDepot() and moved an { in PlayerVehWndProc()

Wed, 30 Aug 2006 22:32:25 +0000(svn r6247) -Fix(r6244): invalid arguments caused infinite loop
glx [Wed, 30 Aug 2006 22:32:25 +0000] rev 4464
(svn r6247) -Fix(r6244): invalid arguments caused infinite loop

Wed, 30 Aug 2006 21:39:01 +0000(svn r6246) -Feature: added the many times requested "send all vehicle to depot" button
bjarni [Wed, 30 Aug 2006 21:39:01 +0000] rev 4463
(svn r6246) -Feature: added the many times requested "send all vehicle to depot" button
it's located in the vehicle list screen and does the same as in the shared orders window (send all vehicles in list to a depot)
it will still not inform the player if a vehicle failed to find a depot, so don't take for granted that all of them go

Wed, 30 Aug 2006 21:10:25 +0000(svn r6245) -Add: added comments for all YAPF C interface functions (yapf.h) used by other modules, added FollowTrackInit() into YAPF track followers.
KUDr [Wed, 30 Aug 2006 21:10:25 +0000] rev 4462
(svn r6245) -Add: added comments for all YAPF C interface functions (yapf.h) used by other modules, added FollowTrackInit() into YAPF track followers.

Wed, 30 Aug 2006 20:08:58 +0000(svn r6244) -Fix: allow any order for strgen parameters
glx [Wed, 30 Aug 2006 20:08:58 +0000] rev 4461
(svn r6244) -Fix: allow any order for strgen parameters

Wed, 30 Aug 2006 19:49:46 +0000(svn r6243) -Codechange: made SortVehicleList() static as well since that one is not used in any other files either (Thanks Tron for pointing this out)
bjarni [Wed, 30 Aug 2006 19:49:46 +0000] rev 4460
(svn r6243) -Codechange: made SortVehicleList() static as well since that one is not used in any other files either (Thanks Tron for pointing this out)

Wed, 30 Aug 2006 19:42:20 +0000(svn r6242) -Codechange: made BuildVehicleList static as it is not used in any other files anymore
bjarni [Wed, 30 Aug 2006 19:42:20 +0000] rev 4459
(svn r6242) -Codechange: made BuildVehicleList static as it is not used in any other files anymore
added window_type to arguments and used it to replace an if cascade with a switch case

Wed, 30 Aug 2006 19:10:12 +0000(svn r6241) -Fix r6240: missed altering one line in last commit
bjarni [Wed, 30 Aug 2006 19:10:12 +0000] rev 4458
(svn r6241) -Fix r6240: missed altering one line in last commit

Wed, 30 Aug 2006 18:35:02 +0000(svn r6240) -Code cleanup: in PlayerVehWndProc: replaced size_of_row with w->resize.step_height
bjarni [Wed, 30 Aug 2006 18:35:02 +0000] rev 4457
(svn r6240) -Code cleanup: in PlayerVehWndProc: replaced size_of_row with w->resize.step_height
it was only used twice, so there was no reason to calculate it for each event

Wed, 30 Aug 2006 16:32:00 +0000(svn r6239) -Code cleanup: cleaned up PlayerVehWndProc
bjarni [Wed, 30 Aug 2006 16:32:00 +0000] rev 4456
(svn r6239) -Code cleanup: cleaned up PlayerVehWndProc
code to delete an empty shared orders list is now much simpler
cleaned up the code to handle button clicks
fixed an assert if widget 9 was pressed on a list with vehicles for another company

Wed, 30 Aug 2006 14:30:26 +0000(svn r6238) Use the colour stored in _colour_gradient[] instead of explicitly retrieving it with GetNonSprite()
tron [Wed, 30 Aug 2006 14:30:26 +0000] rev 4455
(svn r6238) Use the colour stored in _colour_gradient[] instead of explicitly retrieving it with GetNonSprite()

Wed, 30 Aug 2006 13:41:53 +0000(svn r6237) -Fix r6165: fixed wrong hangar name in heading for hangar strings
bjarni [Wed, 30 Aug 2006 13:41:53 +0000] rev 4454
(svn r6237) -Fix r6165: fixed wrong hangar name in heading for hangar strings
also fixed inconsistent Danish translation and a typo in Dutch in the same strings

Wed, 30 Aug 2006 12:37:04 +0000(svn r6236) -Fix (FS#313): TGP generation seed edit box only accepted seeds up to 2^31-1, instead of up to 2^32-2.
rubidium [Wed, 30 Aug 2006 12:37:04 +0000] rev 4453
(svn r6236) -Fix (FS#313): TGP generation seed edit box only accepted seeds up to 2^31-1, instead of up to 2^32-2.

Wed, 30 Aug 2006 09:29:20 +0000(svn r6235) -Cleanup: Make SVN ignore everything not under version control in the data/ folder
Darkvater [Wed, 30 Aug 2006 09:29:20 +0000] rev 4452
(svn r6235) -Cleanup: Make SVN ignore everything not under version control in the data/ folder

Tue, 29 Aug 2006 23:39:57 +0000(svn r6229) -Feature: Shared order lists now got a "goto depot" button
bjarni [Tue, 29 Aug 2006 23:39:57 +0000] rev 4451
(svn r6229) -Feature: Shared order lists now got a "goto depot" button
this will try to send all vehicles in the list to depots/hangars
currently if one fails to find a depot, it will not tell the player

Tue, 29 Aug 2006 22:47:38 +0000(svn r6228) -Fix: redrawing an empty list of shared vehicles will now close the window
bjarni [Tue, 29 Aug 2006 22:47:38 +0000] rev 4450
(svn r6228) -Fix: redrawing an empty list of shared vehicles will now close the window
Since the order is no more, the player will not need that particular window anymore
this could happen if the player opened the window and then sold all the vehicles (or crashed them)
A crash could happen if a new order gets the same (now freed) OrderID and the vehicle using it is not of the same type as the window expect

Tue, 29 Aug 2006 21:36:39 +0000(svn r6227) -Codechange: added window type flags to use with PlayerVehWndProc
bjarni [Tue, 29 Aug 2006 21:36:39 +0000] rev 4449
(svn r6227) -Codechange: added window type flags to use with PlayerVehWndProc
this makes the list type detection much easier and allowed an if cascade to be turned into a switch case
this also makes it easier to add more list types

Tue, 29 Aug 2006 21:34:02 +0000(svn r6226) -Fix(r5864): an assertion was triggered when drawing catenary on steep slopes (TrueLight)
glx [Tue, 29 Aug 2006 21:34:02 +0000] rev 4448
(svn r6226) -Fix(r5864): an assertion was triggered when drawing catenary on steep slopes (TrueLight)

Tue, 29 Aug 2006 20:55:25 +0000(svn r6225) -Codechange: change the warning/error format of strgen to show up
Darkvater [Tue, 29 Aug 2006 20:55:25 +0000] rev 4447
(svn r6225) -Codechange: change the warning/error format of strgen to show up
in MSVC 'Task List' as well.

Tue, 29 Aug 2006 20:35:07 +0000(svn r6224) WebTranslator2 update to 2006-08-29 22:34:42
miham [Tue, 29 Aug 2006 20:35:07 +0000] rev 4446
(svn r6224) WebTranslator2 update to 2006-08-29 22:34:42
dutch - 10 fixed, 14 changed by habell (24)
estonian - 1 fixed, 3 changed by t2t2 (4)
portuguese - 6 fixed, 4 changed by izhirahider (10)