miham [Thu, 31 Aug 2006 10:34:59 +0000] rev 4478
(svn r6263) WebTranslator2 update to 2006-08-31 12:34:27
dutch - 4 fixed by habell (4)
french - 4 fixed, 4 changed by glx (8)
german - 4 fixed by Neonox (4)
polish - 4 fixed by meush (4)
portuguese - 11 fixed, 17 changed by izhirahider (19), nars (9)
turkish - 9 fixed, 10 changed by jnmbk (19)
tron [Thu, 31 Aug 2006 10:14:47 +0000] rev 4477
(svn r6262) Remove unused #define and function declaration
bjarni [Thu, 31 Aug 2006 09:40:10 +0000] rev 4476
(svn r6261) -Fix r6246: fixed sprite related crash related to other player's vehicle list windows (spotted by Darkvater)
tron [Thu, 31 Aug 2006 08:36:31 +0000] rev 4475
(svn r6260) Improve readability
tron [Thu, 31 Aug 2006 08:16:28 +0000] rev 4474
(svn r6259) Extract the axis directly, don't use a trinary operator
tron [Thu, 31 Aug 2006 08:11:08 +0000] rev 4473
(svn r6258) Reduce the number of induction variables and inner scopes for clarity
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
tron [Thu, 31 Aug 2006 07:49:34 +0000] rev 4471
(svn r6256) if () cascades -> switch ()
tron [Thu, 31 Aug 2006 07:29:19 +0000] rev 4470
(svn r6255) Simplify drawing of catenary in depots
tron [Thu, 31 Aug 2006 07:13:36 +0000] rev 4469
(svn r6254) if () cascade -> switch ()
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
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
tron [Thu, 31 Aug 2006 06:46:52 +0000] rev 4466
(svn r6251) Replace 2 bool variables by a simple switch
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()
glx [Wed, 30 Aug 2006 22:32:25 +0000] rev 4464
(svn r6247) -Fix(r6244): invalid arguments caused infinite loop
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
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.
glx [Wed, 30 Aug 2006 20:08:58 +0000] rev 4461
(svn r6244) -Fix: allow any order for strgen parameters
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)
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
bjarni [Wed, 30 Aug 2006 19:10:12 +0000] rev 4458
(svn r6241) -Fix r6240: missed altering one line in last commit
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
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
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()
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
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.
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
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
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
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
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)
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.
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)
KUDr [Tue, 29 Aug 2006 19:46:31 +0000] rev 4445
(svn r6223) -Fix: RVs with empty order list were able to enter the depot or road stop from the back. I introduced this bug when I "improved" GetTileTrackStatus(). (thanks glx for the report and fix).
tron [Tue, 29 Aug 2006 19:26:13 +0000] rev 4444
(svn r6222) Remove struct ColorList, because the names of its attributes are plain confusing
All the struct holds is a simple colour gradient, so using a simple array with 8 entries is more clear
Also add the names of colour the gradients as enum
bjarni [Tue, 29 Aug 2006 18:50:15 +0000] rev 4443
(svn r6220) -Fix: added missing space in a string for Catalan town names (Arnau)
bjarni [Tue, 29 Aug 2006 17:41:13 +0000] rev 4442
(svn r6215) -Codechange: [vehicle list windows] unified Player(vehicle)WndProc into PlayerVehWndProc
Those 4 unified functions were really much alike, so there was no reason to have so much dublicated code
bjarni [Tue, 29 Aug 2006 14:45:39 +0000] rev 4441
(svn r6213) -Fix: Calatan town names was only prefix OR the rest of the string, never both (nars)
tron [Tue, 29 Aug 2006 06:50:47 +0000] rev 4440
(svn r6212) Remove dependency on window.h from station.h
tron [Tue, 29 Aug 2006 06:43:22 +0000] rev 4439
(svn r6211) Commit file forgotten in r6210
tron [Tue, 29 Aug 2006 06:39:00 +0000] rev 4438
(svn r6210) Remove FR_NOBORDER, because it is exclusivly used in conjunction with FR_TRANSPARENT
tron [Tue, 29 Aug 2006 06:07:57 +0000] rev 4437
(svn r6209) Move DrawFrameRect() out of gfx.[ch], because it uses data (_color_list) which the renderer shouldn't have know about
tron [Tue, 29 Aug 2006 06:03:26 +0000] rev 4436
(svn r6208) Reduce the number of induction variables for clarity
belugas [Tue, 29 Aug 2006 00:17:47 +0000] rev 4435
(svn r6205) -CodeChange : use a switch case instead of a cascade of if
-CodeChange : rename var Engine *e to Engine *eng, since we have WindowEvent *e in same fnct
-CodeChange : fix a broken tabulation on a switch case. SOme breathing spaces too
rubidium [Mon, 28 Aug 2006 18:53:03 +0000] rev 4434
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
miham [Mon, 28 Aug 2006 12:57:33 +0000] rev 4433
(svn r6197) WebTranslator2 update to 2006-08-28 14:57:10
american - 10 fixed, 12 changed by WhiteRabbit (22)
portuguese - 4 changed by izhirahider (4)
rubidium [Mon, 28 Aug 2006 10:14:37 +0000] rev 4432
(svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
rubidium [Mon, 28 Aug 2006 09:13:33 +0000] rev 4431
(svn r6186) -Fix [FS#309]: add an override system to the dynamically determined size of steps for numeric patch settings in the 'Configure patches' GUI.
The size of these steps normally about (max - min) / 50, which results in steps of 100 000 years for the start year, end year, network restart year and the year of introduction of coloured newspapers.
miham [Mon, 28 Aug 2006 08:44:13 +0000] rev 4430
(svn r6185) WebTranslator2 update to 2006-08-28 10:43:48
danish - 36 fixed, 12 changed by trenskow (48)
french - 2 changed by glx (2)
italian - 36 fixed, 5 changed by sidew (41)
tron [Mon, 28 Aug 2006 07:33:51 +0000] rev 4429
(svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
tron [Mon, 28 Aug 2006 06:21:48 +0000] rev 4428
(svn r6183) Move GetDrawStringPlayerColor() out of gfx.[ch]
bjarni [Mon, 28 Aug 2006 06:18:35 +0000] rev 4427
(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
bjarni [Mon, 28 Aug 2006 06:13:16 +0000] rev 4426
(svn r6181) -Fix r6161: The list of vehicles using a certain station got a bit of display code mixed up with the list of vehicles with shared orders (nycom)
tron [Mon, 28 Aug 2006 06:05:04 +0000] rev 4425
(svn r6180) Use a switch instead of function pointers to choose the blitter
glx [Sun, 27 Aug 2006 22:08:40 +0000] rev 4424
(svn r6179) - Silence the old npf warnings
truelight [Sun, 27 Aug 2006 21:20:29 +0000] rev 4423
(svn r6178) -Fix r5886: only setting ->money64 isn't enough, as some routines still use ->player_money.
Because of this, when a player went bankrupt, still not all stuff was removed.
miham [Sun, 27 Aug 2006 20:30:10 +0000] rev 4422
(svn r6177) WebTranslator2 update to 2006-08-27 22:29:43
czech - 70 fixed, 12 changed by Hadez (82)
german - 4 changed by Neonox (4)
italian - 56 fixed, 8 changed by sidew (64)
portuguese - 2 fixed by izhirahider (2)
truelight [Sun, 27 Aug 2006 15:26:58 +0000] rev 4421
(svn r6176) -Fix r6052: I assumed an typedefd enum would be an uint8, which is a really stupid thing to assume.
This caused nasty endian bugs. Thank you SO MUCH Osai for all your time in debugging this!! And tnx Rubidium for spotting :)
miham [Sun, 27 Aug 2006 15:21:10 +0000] rev 4420
(svn r6175) WebTranslator2 update to 2006-08-27 17:18:26
french - 10 fixed, 12 changed by glx (22)
german - 1 fixed by Neonox (1)
polish - 10 fixed, 12 changed by meush (22)
portuguese - 11 fixed, 8 changed by izhirahider (19)
KUDr [Sun, 27 Aug 2006 14:28:23 +0000] rev 4419
(svn r6174) -Cleanup: [YAPF] some SDT_CONDVARs replaced by SDT_VARs since they are not saved in savegame (Darkvater)