------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r6493 | miham | 2006-09-21 17:26:18 +0000 (Thu, 21 Sep 2006) | 3 lines WebTranslator2 update to 2006-09-21 19:25:54 czech - 19 fixed, 2 changed by Hadez (21) ------------------------------------------------------------------------ r6492 | miham | 2006-09-21 15:23:29 +0000 (Thu, 21 Sep 2006) | 4 lines WebTranslator2 update to 2006-09-21 17:23:02 czech - 39 fixed, 7 changed by Hadez (46) slovak - 18 changed by lengyel (18) ------------------------------------------------------------------------ r6491 | tron | 2006-09-21 06:25:13 +0000 (Thu, 21 Sep 2006) | 1 line Remove the SDL_CONFIG=sdl11-config special case for FreeBSD, it's not needed any longer ------------------------------------------------------------------------ r6489 | miham | 2006-09-20 19:31:56 +0000 (Wed, 20 Sep 2006) | 4 lines WebTranslator2 update to 2006-09-20 21:31:31 italian - 12 changed by sidew (12) slovak - 8 fixed, 3 changed by lengyel (11) ------------------------------------------------------------------------