------------------------------------------------------------------------ r6556 | miham | 2006-09-28 16:29:35 +0000 (Thu, 28 Sep 2006) | 11 lines WebTranslator2 update to 2006-09-28 18:28:48 catalan - 2 fixed by arnaullv (2) danish - 35 fixed, 5 changed by ThomasA (40) dutch - 17 fixed by habell (17) greek - 200 fixed by thanoulas (200) hungarian - 3 fixed by miham (3) italian - 9 fixed by sidew (9) polish - 11 fixed by meush (11) spanish - 9 fixed by eusebio (9) swedish - 10 fixed, 9 changed by cjw (19) ------------------------------------------------------------------------ r6554 | bjarni | 2006-09-28 15:41:53 +0000 (Thu, 28 Sep 2006) | 2 lines -Fix r6513: [depot window] fixed a bug where moving rail vehicles from one line to another could fail under certain conditions ------------------------------------------------------------------------ r6552 | bjarni | 2006-09-28 14:17:08 +0000 (Thu, 28 Sep 2006) | 3 lines -Feature: [depot window] added a "autoreplace all vehicles in depot" button Like the "sell all" button, this one lacks a sprite as well. We will hopefully get one shortly ------------------------------------------------------------------------ r6544 | peter1138 | 2006-09-28 07:02:55 +0000 (Thu, 28 Sep 2006) | 2 lines - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does. ------------------------------------------------------------------------ r6543 | miham | 2006-09-28 05:40:39 +0000 (Thu, 28 Sep 2006) | 8 lines WebTranslator2 update to 2006-09-28 07:40:01 catalan - 9 fixed, 5 changed by arnaullv (14) french - 10 fixed by belugas (10) german - 9 fixed by Neonox (9) hungarian - 13 fixed by miham (13) slovak - 21 fixed by lengyel (21) turkish - 13 fixed by jnmbk (13) ------------------------------------------------------------------------ r6542 | bjarni | 2006-09-27 22:44:39 +0000 (Wed, 27 Sep 2006) | 5 lines -Feature: [depot window] added a "sell all vehicles in depot" button It's right below the sell button (sell whole chain button for trains) It's still missing a sprite. That one will be added as soon as anybody draws something we can use To make room for this button, all depots except train depots now opens with an additional row and can't be resized shorter than that ------------------------------------------------------------------------ r6536 | miham | 2006-09-27 20:39:24 +0000 (Wed, 27 Sep 2006) | 11 lines WebTranslator2 update to 2006-09-27 22:37:14 american - 12 fixed by WhiteRabbit (12) estonian - 31 fixed by vermon (31) german - 1 changed by Neonox (1) greek - 70 fixed, 53 changed by thanoulas (123) italian - 8 fixed by sidew (8) polish - 12 fixed by meush (12) portuguese - 2 fixed by izhirahider (2) spanish - 8 fixed by eusebio (8) swedish - 11 fixed by cjw (11) ------------------------------------------------------------------------ r6533 | peter1138 | 2006-09-27 18:46:59 +0000 (Wed, 27 Sep 2006) | 2 lines - Fix (r6532): Somebody forgot to add newsounds to the ttdpatch flags... ------------------------------------------------------------------------ r6532 | peter1138 | 2006-09-27 18:17:01 +0000 (Wed, 27 Sep 2006) | 2 lines - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. ------------------------------------------------------------------------ r6531 | miham | 2006-09-27 16:07:07 +0000 (Wed, 27 Sep 2006) | 5 lines WebTranslator2 update to 2006-09-27 18:06:40 catalan - 8 fixed by arnaullv (8) german - 12 fixed by Neonox (12) greek - 716 fixed by thanoulas (439), gonik (277) ------------------------------------------------------------------------ r6530 | bjarni | 2006-09-27 15:47:00 +0000 (Wed, 27 Sep 2006) | 1 line -Fix r6529: added missing header file (oops) ------------------------------------------------------------------------ r6529 | bjarni | 2006-09-27 15:40:55 +0000 (Wed, 27 Sep 2006) | 3 lines -Fix r6513: [depot window] added missing switch in CcCloneVehicle() The result of this missing switch was asserts in some cloning conditions (not all) (spotted by KUDr) ------------------------------------------------------------------------ r6528 | bjarni | 2006-09-27 15:28:47 +0000 (Wed, 27 Sep 2006) | 1 line -Fix r6527: fixed an off by one error in an assert ------------------------------------------------------------------------ r6527 | bjarni | 2006-09-27 14:05:15 +0000 (Wed, 27 Sep 2006) | 4 lines -Codechange: [depot window] added asserts to ensure that widget names, widget array and array of resize info stays the same length Really bad stuff will happen if one of them contains a different number of widgets ;) This is meant as a protection against incorrect additions of code rather than verifying that the current code works ------------------------------------------------------------------------ r6526 | bjarni | 2006-09-27 13:53:59 +0000 (Wed, 27 Sep 2006) | 4 lines -Codechange: [depot window] the train only widgets are now resized depending on the size of other widgets This will ensure that say the horizontal scrollbar is as wide as the matrix even if only the matrix is altered in size This is meant to make it easier to add more widgets without coding a lot of vehicle type specific stuff (you should still check all windows though) ------------------------------------------------------------------------ r6525 | bjarni | 2006-09-27 13:01:56 +0000 (Wed, 27 Sep 2006) | 2 lines -Codechange r6513: altered how to control how to move widgets around in the window. Hopefully it's a bit easier to understand now ------------------------------------------------------------------------ r6524 | bjarni | 2006-09-27 12:17:33 +0000 (Wed, 27 Sep 2006) | 4 lines -Code cleanup r6515: cleaned up the command to start/stop all vehicles in a depot. IsWholeTrainInDepot() is removed as CheckTrainInDepot() could be used instead Cleaned up the check to see if a vehicle is valid for start/stop ------------------------------------------------------------------------ r6523 | peter1138 | 2006-09-27 11:45:26 +0000 (Wed, 27 Sep 2006) | 2 lines - 'Feature'/'Fix': Add tooltips to the new company colour window ------------------------------------------------------------------------ r6522 | bjarni | 2006-09-27 11:34:27 +0000 (Wed, 27 Sep 2006) | 6 lines -Feature: [depot window] the buttons are now "scaled" resized This means that "Build vehicle", "Clone vehicle" and "Location" will always fill the space from the left window border to the resize button and they are equal in size The sell button will also use all the space between the start/stop buttons and the resize button and for trains, the sell button is split into two buttons in equal sizes This will prevent the issue where a small window is resized into a large one and the buttons remains pretty small -Codechange: [depot window] The enum with widget names is now changed into automatic numbering so all lines will not have to be changed each time a new widget is added ------------------------------------------------------------------------ r6521 | miham | 2006-09-27 11:30:18 +0000 (Wed, 27 Sep 2006) | 10 lines WebTranslator2 update to 2006-09-27 13:29:33 catalan - 4 fixed by arnaullv (4) czech - 4 fixed by Hadez (4) dutch - 4 fixed by habell (4) french - 4 fixed by glx (4) hungarian - 4 fixed by miham (4) italian - 4 fixed by sidew (4) spanish - 4 fixed by eusebio (4) swedish - 38 fixed, 78 changed by cjw (116) ------------------------------------------------------------------------ r6520 | bjarni | 2006-09-27 08:45:22 +0000 (Wed, 27 Sep 2006) | 2 lines -Fix r6515: "start all" and "stop all" buttons in depot windows are now disabled if you do not own the depot ------------------------------------------------------------------------ r6519 | bjarni | 2006-09-27 08:06:40 +0000 (Wed, 27 Sep 2006) | 1 line -Code cleanup r6518: changed a line to apply to the coding style ------------------------------------------------------------------------ r6518 | bjarni | 2006-09-27 07:23:38 +0000 (Wed, 27 Sep 2006) | 3 lines -Codechange: unified the vehicle refit windows This was requested by peter1138 ------------------------------------------------------------------------ r6516 | bjarni | 2006-09-27 00:25:27 +0000 (Wed, 27 Sep 2006) | 3 lines -Fix r6513: killed warnings about two variables being used uninitialized This is not even correct since it's set in if (a) and later used in another if (a), but GCC didn't detect that ------------------------------------------------------------------------ r6515 | bjarni | 2006-09-26 19:20:35 +0000 (Tue, 26 Sep 2006) | 2 lines -Feature: added "start all" and "stop all" buttons to the depot windows ------------------------------------------------------------------------ r6514 | miham | 2006-09-26 19:07:28 +0000 (Tue, 26 Sep 2006) | 4 lines WebTranslator2 update to 2006-09-26 21:05:50 estonian - 40 fixed by t2t2 (40) swedish - 34 fixed, 3 deleted, 49 changed by cjw (86) ------------------------------------------------------------------------ r6513 | bjarni | 2006-09-26 16:47:51 +0000 (Tue, 26 Sep 2006) | 5 lines -Codechange: unified the code to draw depot windows This change is intended to make it easier to make depot behaviour consistent and faster to code when adding more features in the future The user interface should hopefully not be affected by this ------------------------------------------------------------------------ r6505 | miham | 2006-09-25 17:11:47 +0000 (Mon, 25 Sep 2006) | 3 lines WebTranslator2 update to 2006-09-25 19:11:24 spanish - 10 fixed by eusebio (10) ------------------------------------------------------------------------ r6504 | miham | 2006-09-24 15:53:56 +0000 (Sun, 24 Sep 2006) | 6 lines WebTranslator2 update to 2006-09-24 17:53:26 czech - 1 changed by Hadez (1) galician - 14 fixed by Condex (14) norwegian - 49 fixed by oletk (49) spanish - 14 fixed by eusebio (14) ------------------------------------------------------------------------ r6503 | bjarni | 2006-09-24 15:01:02 +0000 (Sun, 24 Sep 2006) | 4 lines -Codechange: added a function to tell what vehicles a depot contains This will ensure that you can always get the same list when checking for vehicles in a depot (no need to duplicate code for each place, that needs such a list) Since the vehicles are only looped once for each redraw, drawing speed is around twice as fast (measured to be 114%-121% faster depending on the number of vehicles in the game) ------------------------------------------------------------------------ r6499 | belugas | 2006-09-23 02:39:24 +0000 (Sat, 23 Sep 2006) | 1 line -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct ------------------------------------------------------------------------ r6497 | bjarni | 2006-09-22 23:13:12 +0000 (Fri, 22 Sep 2006) | 4 lines -Fix r6165: Vehicles heading for depots when their orders contained "service in depot" displayed the stopping in depot string This turned out to be due to OFB_HALT_IN_DEPOT and OFB_SERVICE_IF_NEEDED using the same bit It appears that it doesn't matter for the code, so I adapted the string selection code to handle this ------------------------------------------------------------------------ r6496 | glx | 2006-09-22 22:15:34 +0000 (Fri, 22 Sep 2006) | 1 line -Codechange: removed direct map access in train_cmd.c (Rubidium) ------------------------------------------------------------------------ r6495 | glx | 2006-09-22 21:52:31 +0000 (Fri, 22 Sep 2006) | 1 line -Codechange: removed direct map access in pathfind.c ------------------------------------------------------------------------