------------------------------------------------------------------------ r7480 | miham | 2006-12-11 18:29:59 +0000 (Mon, 11 Dec 2006) | 6 lines WebTranslator2 update to 2006-12-11 19:29:26 croatian - 126 fixed, 45 changed by knovak (171) danish - 9 fixed, 3 changed by ThomasA (12) dutch - 4 fixed by habell (4) esperanto - 246 fixed, 1 changed by LaPingvino (247) ------------------------------------------------------------------------ r7479 | glx | 2006-12-11 17:11:44 +0000 (Mon, 11 Dec 2006) | 1 line -Fix r5946: don't lower non-existent widget ------------------------------------------------------------------------ r7477 | rubidium | 2006-12-11 12:37:57 +0000 (Mon, 11 Dec 2006) | 2 lines -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command. ------------------------------------------------------------------------ r7476 | rubidium | 2006-12-11 12:32:23 +0000 (Mon, 11 Dec 2006) | 2 lines -Fix (6965): the paper mill belongs in the Sub-Arctic (LT_HILLY) and not the Tropic (LT_DESERT) climate. ------------------------------------------------------------------------ r7475 | peter1138 | 2006-12-10 21:39:38 +0000 (Sun, 10 Dec 2006) | 2 lines -Fix (r7348): sanity check NewGRF action 8 strings for null terminator ------------------------------------------------------------------------ r7473 | peter1138 | 2006-12-10 19:00:06 +0000 (Sun, 10 Dec 2006) | 4 lines -Fix (r7269): Pass a cargo type to determine the freight weight multiplier instead of a vehicle. Fixes incorrect display of total train capacity. ------------------------------------------------------------------------ r7471 | Darkvater | 2006-12-10 15:28:11 +0000 (Sun, 10 Dec 2006) | 1 line -Codechange: Centre the 'quit' button on the main menu. ------------------------------------------------------------------------ r7470 | Darkvater | 2006-12-10 15:21:48 +0000 (Sun, 10 Dec 2006) | 1 line -Codechange: Leave elrails enabled after loading old (pre-optional) and very old (pre-elrails) games. Let the user manually disable if if undesired. ------------------------------------------------------------------------ r7469 | peter1138 | 2006-12-10 12:12:26 +0000 (Sun, 10 Dec 2006) | 2 lines -Fix (r7348): NewGRF settings weren't loaded in cases. ------------------------------------------------------------------------ r7468 | Darkvater | 2006-12-10 11:46:43 +0000 (Sun, 10 Dec 2006) | 4 lines -Codechange: [win32] Add some comments to MB/WIDE_TO_WIDE/MB_[BUFFER] macros and use them some more in win32 code. Also for the clipboard use the convert_from_fs function instead of calling Win32 API directly. Make the static buffers in OTTD2FS and FS2OTTD the same size (character-length wise) ------------------------------------------------------------------------ r7467 | Darkvater | 2006-12-10 11:40:31 +0000 (Sun, 10 Dec 2006) | 2 lines -Cleanup: [win32] Disable the submit-savegame-on-crash code as we (webserver) doesn't do anything with it and the button has been disabled for ages. ------------------------------------------------------------------------ r7466 | Darkvater | 2006-12-10 11:37:22 +0000 (Sun, 10 Dec 2006) | 1 line -Cleanup: [win32] Coding style, indentation, variable localization. ------------------------------------------------------------------------ r7465 | peter1138 | 2006-12-10 11:32:54 +0000 (Sun, 10 Dec 2006) | 2 lines -Codechange: Save the default GRF configuration. ------------------------------------------------------------------------ r7464 | peter1138 | 2006-12-10 11:29:14 +0000 (Sun, 10 Dec 2006) | 3 lines -Codechange: move BuildParamList from newgrf_gui to newgrf_config and prefix with GRF. ------------------------------------------------------------------------ r7463 | peter1138 | 2006-12-10 10:12:54 +0000 (Sun, 10 Dec 2006) | 2 lines -Codechange: Don't load invalid NewGRF files from the configuration file; instead show a warning. ------------------------------------------------------------------------ r7462 | glx | 2006-12-10 00:48:50 +0000 (Sun, 10 Dec 2006) | 1 line -Fix: when doing comparison in action 7/9, mask the param value so it has the 'same' size as the value it is compared to ------------------------------------------------------------------------ r7461 | Darkvater | 2006-12-10 00:20:26 +0000 (Sun, 10 Dec 2006) | 1 line -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) ------------------------------------------------------------------------ r7460 | Darkvater | 2006-12-09 23:55:56 +0000 (Sat, 09 Dec 2006) | 3 lines -Fix (r7337): [win32] If the underlying OS didn't have support for SHGetFolderPath the application failed to run. Now test if the function exists and if not try a different approach using our own OTTDSHGetFolderPath wrapper. ------------------------------------------------------------------------ r7459 | glx | 2006-12-09 20:14:26 +0000 (Sat, 09 Dec 2006) | 2 lines -Fix: make sure TrainConsistChanged() is called for the first vehicle of a chain after reffiting because free wagons present in depot can have the same type as the one bought and refitted by autoreplace ------------------------------------------------------------------------ r7458 | miham | 2006-12-09 19:53:56 +0000 (Sat, 09 Dec 2006) | 6 lines WebTranslator2 update to 2006-12-09 20:53:05 american - 1 fixed by WhiteRabbit (1) german - 1 changed by Neonox (1) hungarian - 3 fixed, 5 changed by miham (8) portuguese - 29 fixed by izhirahider (29) ------------------------------------------------------------------------ r7457 | miham | 2006-12-09 18:37:26 +0000 (Sat, 09 Dec 2006) | 8 lines WebTranslator2 update to 2006-12-09 19:35:23 esperanto - 191 fixed, 2 changed by LaPingvino (193) french - 1 fixed by glx (1) german - 27 fixed by Neonox (27) italian - 1 fixed by sidew (1) polish - 8 fixed by meush (8) turkish - 8 fixed by jnmbk (8) ------------------------------------------------------------------------ r7456 | miham | 2006-12-09 17:43:04 +0000 (Sat, 09 Dec 2006) | 1 line [Namegen] Fixed hungarian characters in namegen as well ------------------------------------------------------------------------ r7452 | rubidium | 2006-12-09 14:18:08 +0000 (Sat, 09 Dec 2006) | 2 lines -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time. ------------------------------------------------------------------------ r7451 | rubidium | 2006-12-09 14:14:51 +0000 (Sat, 09 Dec 2006) | 3 lines -Fix (7372): GetNum(Towns|Industries) should return the actual number of towns and industries. -Fix (6055): GetMax(Town|Industry)Index should not return the number of towns or industries - 1, but the size of the pool - 1. ------------------------------------------------------------------------ r7450 | Darkvater | 2006-12-09 10:57:05 +0000 (Sat, 09 Dec 2006) | 1 line -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron) ------------------------------------------------------------------------ r7449 | Darkvater | 2006-12-09 10:56:12 +0000 (Sat, 09 Dec 2006) | 2 lines -Codechange: Rename _path to _paths as it is technically more correct, but mainly because it interferes with OS/2 symbol in libc (psmedley) ------------------------------------------------------------------------ r7448 | rubidium | 2006-12-09 08:37:15 +0000 (Sat, 09 Dec 2006) | 2 lines -Fix (r5794): use the height of the edge of the map for effect vehicles that are outside the map. ------------------------------------------------------------------------ r7447 | miham | 2006-12-09 06:57:22 +0000 (Sat, 09 Dec 2006) | 4 lines WebTranslator2 update to 2006-12-09 07:56:50 brazilian_portuguese - 8 fixed by tucalipe (8) catalan - 159 changed by arnaullv (159) ------------------------------------------------------------------------ r7446 | Darkvater | 2006-12-09 00:46:02 +0000 (Sat, 09 Dec 2006) | 4 lines -Feature: Double the length of the cargo and rating indicators in the station list window, thanks for the inspiration Rince. Workings of the small 1-pixel wide bar have changed a little. Up till now it was pretty random, now it is only drawn for stations with minimal amount of cargo (<=30) and 1-pixel height is 5 units. ------------------------------------------------------------------------ r7445 | Darkvater | 2006-12-09 00:41:25 +0000 (Sat, 09 Dec 2006) | 2 lines -Codechange (r4822): Properly draw the cargo colours in the station list and centre the cargo abbreviations. The window at least looks a lot better this way. ------------------------------------------------------------------------ r7444 | Darkvater | 2006-12-09 00:37:02 +0000 (Sat, 09 Dec 2006) | 2 lines -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food colour to pink everywhere (fixes FS#303) ------------------------------------------------------------------------ r7439 | miham | 2006-12-08 20:00:13 +0000 (Fri, 08 Dec 2006) | 4 lines WebTranslator2 update to 2006-12-08 20:59:37 catalan - 1 fixed, 367 changed by arnaullv (368) hungarian - 1 fixed, 1 changed by miham (2) ------------------------------------------------------------------------ r7438 | miham | 2006-12-08 19:57:38 +0000 (Fri, 08 Dec 2006) | 1 line [Translations] Manually transformed previously supressed hungarian chars to proper ones (they were previously suppressed because they did not fit into iso8859-15) ------------------------------------------------------------------------ r7437 | peter1138 | 2006-12-08 19:35:13 +0000 (Fri, 08 Dec 2006) | 2 lines -Fix (r4583): incorrect minimum size check in some cases for VarAction2 ------------------------------------------------------------------------ r7436 | peter1138 | 2006-12-08 19:12:43 +0000 (Fri, 08 Dec 2006) | 2 lines -Codechange: Add action7/9/D variable 0x9A (-1) ------------------------------------------------------------------------ r7435 | Darkvater | 2006-12-08 18:56:39 +0000 (Fri, 08 Dec 2006) | 1 line -Fix (r7418): Add proper tooltips to the manage list button instead of the sort tip ------------------------------------------------------------------------ r7434 | miham | 2006-12-08 17:40:42 +0000 (Fri, 08 Dec 2006) | 10 lines WebTranslator2 update to 2006-12-08 18:40:00 american - 1 fixed by WhiteRabbit (1) bulgarian - 5 fixed, 2 changed by groupsky (7) esperanto - 314 fixed, 31 changed by LaPingvino (345) french - 3 fixed, 5 changed by glx (8) italian - 7 fixed, 3 changed by sidew (10) portuguese - 3 fixed by izhirahider (3) slovak - 7 fixed, 8 changed by lengyel (15) ukrainian - 10 fixed by znikoz (10) ------------------------------------------------------------------------ r7433 | peter1138 | 2006-12-08 12:31:34 +0000 (Fri, 08 Dec 2006) | 1 line -Fix (r2301): Town ratings were not reset when a company went bankrupt. ------------------------------------------------------------------------ r7432 | belugas | 2006-12-08 02:25:04 +0000 (Fri, 08 Dec 2006) | 1 line -Fix(r7413) : The NO(cargo waiting) button of the StationList Window is now part of the cargo selection scheme. Again. ------------------------------------------------------------------------ r7431 | peter1138 | 2006-12-07 22:31:20 +0000 (Thu, 07 Dec 2006) | 2 lines -Fix (r7418): GUI glitch when viewing other player's vehicle lists: bottom panel continued behind resize button. ------------------------------------------------------------------------ r7429 | KUDr | 2006-12-07 21:30:18 +0000 (Thu, 07 Dec 2006) | 1 line -Remove: [YAPF] yapf.txt no longer valid/needed ------------------------------------------------------------------------ r7428 | belugas | 2006-12-07 21:21:02 +0000 (Thu, 07 Dec 2006) | 5 lines -Codechange: Give a more explicit name to the enum STATIONLIST_WIDGET_CARGONONE. It is not "No Cargo selected", but rather station with no cargo waiting, thus STATIONLIST_WIDGET_NOCARGOWAITING. Hoping it is now clearer for everyone (mainly me...). Will fix the behaviour next time. ------------------------------------------------------------------------ r7425 | peter1138 | 2006-12-07 18:58:20 +0000 (Thu, 07 Dec 2006) | 3 lines -Fix (r1681): With realistic acceleration, guarantee a minimum braking force is applied. This ensures trains will stop when going down hill. ------------------------------------------------------------------------ r7424 | miham | 2006-12-07 18:37:05 +0000 (Thu, 07 Dec 2006) | 10 lines WebTranslator2 update to 2006-12-07 19:36:25 bulgarian - 1 fixed by groupsky (1) catalan - 8 fixed, 1 changed by arnaullv (9) croatian - 80 fixed by knovak (80) esperanto - 381 fixed by LaPingvino (381) finnish - 15 fixed by hapo (8), kerba (7) romanian - 163 fixed, 1 changed by kneekoo (164) slovak - 22 fixed, 1 changed by lengyel (23) turkish - 2 fixed by jnmbk (2) ------------------------------------------------------------------------ r7421 | peter1138 | 2006-12-07 14:44:26 +0000 (Thu, 07 Dec 2006) | 1 line -Fix (r2475): Changed "kick off" acceleration resulted in only a small amount of power being applied whilst moving off and then double the power at 1 mph. This resulted in a perceived delay before trains moved. Fix this by applying the full power of the engine (or the kick off, whichever is greater). Essay over. ------------------------------------------------------------------------ r7420 | Darkvater | 2006-12-07 14:37:54 +0000 (Thu, 07 Dec 2006) | 1 line -[lang] Dammit, there are too many language files, missed some from the list. ------------------------------------------------------------------------ r7419 | Darkvater | 2006-12-07 14:35:16 +0000 (Thu, 07 Dec 2006) | 1 line -[lang] Fix up the language files after r7418 ------------------------------------------------------------------------ r7418 | Darkvater | 2006-12-07 14:03:55 +0000 (Thu, 07 Dec 2006) | 5 lines -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As things won't fit now because of too many buttons, move 'send to depot' and 'autoreplace' to a dropdown box (and seperate 'send to depot' and 'send for servicing'). The 'New Vehicles' button shows a list of all engines you have available for that vehicle type (in case of trains all railtypes). Button is only enabled for global list. ------------------------------------------------------------------------ r7415 | Darkvater | 2006-12-07 13:00:41 +0000 (Thu, 07 Dec 2006) | 2 lines -Codechange: Don't use typedef enum for simple widget enumerators when we will never use their type anyways. ------------------------------------------------------------------------ r7414 | Darkvater | 2006-12-07 12:57:53 +0000 (Thu, 07 Dec 2006) | 1 line -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag ------------------------------------------------------------------------ r7413 | belugas | 2006-12-07 04:12:29 +0000 (Thu, 07 Dec 2006) | 4 lines -Fix[FS#386,#412]: Station list window NONE button now behaves correctly. -Fix: Clicking on SORT button (same window) does not reset everything anymore. -Featurette: cargo, NONE and both ALL buttons are now shown fully down on pressed, as the text is deported by one pixel on y and y Some widgets enum and code clean-up ------------------------------------------------------------------------ r7411 | Darkvater | 2006-12-07 00:54:18 +0000 (Thu, 07 Dec 2006) | 1 line -Cleanup: Add 'Freetype' to dbg message output, just like all others ------------------------------------------------------------------------ r7410 | Darkvater | 2006-12-07 00:51:20 +0000 (Thu, 07 Dec 2006) | 4 lines -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it in a sane way. Correctly specify resize flags for windows and only manually change the widgets that the resize system cannot handle (eg centering). This changes r6562, and probably some other commits ------------------------------------------------------------------------ r7409 | Darkvater | 2006-12-07 00:47:35 +0000 (Thu, 07 Dec 2006) | 2 lines -Codechange: Make the ResizeWindow function also available outside of window.c. This makes it possible to programmatically resize windows specifying a delta x,y. ------------------------------------------------------------------------ r7406 | Darkvater | 2006-12-06 19:28:25 +0000 (Wed, 06 Dec 2006) | 1 line -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested. ------------------------------------------------------------------------ r7405 | miham | 2006-12-06 19:04:27 +0000 (Wed, 06 Dec 2006) | 9 lines WebTranslator2 update to 2006-12-06 20:03:46 dutch - 23 fixed by habell (23) esperanto - 317 fixed, 21 changed by LaPingvino (338) estonian - 12 fixed by t2t2 (12) italian - 6 changed by sidew (6) polish - 28 fixed by meush (28) swedish - 25 fixed, 1 changed by cjw (26) ukrainian - 43 fixed by znikoz (43) ------------------------------------------------------------------------ r7403 | Darkvater | 2006-12-06 17:31:16 +0000 (Wed, 06 Dec 2006) | 2 lines -Codechange (r7386, r7385): Use available functions to find a window instead of doing some cruft yourself (and wrongly typing non-const as const). ------------------------------------------------------------------------ r7402 | Darkvater | 2006-12-06 17:28:14 +0000 (Wed, 06 Dec 2006) | 3 lines -Fix: [FS#255] Long Delay for Message Windows to Appear. Immediately show a new message if present if no news window is open, or has just been closed instead of waiting for the timer of the current news to time out. ------------------------------------------------------------------------ r7393 | miham | 2006-12-06 11:16:02 +0000 (Wed, 06 Dec 2006) | 6 lines WebTranslator2 update to 2006-12-06 12:15:25 croatian - 110 fixed by knovak (110) italian - 10 changed by sidew (10) turkish - 15 fixed by jnmbk (15) ukrainian - 8 fixed by znikoz (8) ------------------------------------------------------------------------ r7392 | miham | 2006-12-06 07:57:02 +0000 (Wed, 06 Dec 2006) | 1 line [Translations] Added Esperanto language ------------------------------------------------------------------------ r7391 | glx | 2006-12-06 02:03:55 +0000 (Wed, 06 Dec 2006) | 1 line -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one) ------------------------------------------------------------------------ r7390 | bjarni | 2006-12-06 00:03:24 +0000 (Wed, 06 Dec 2006) | 2 lines -Codechange r7386: only loop though the windows to find a depot window to unhighlight a vehicle in if there is a vehicle on the mouse pointer ------------------------------------------------------------------------ r7389 | bjarni | 2006-12-05 23:57:04 +0000 (Tue, 05 Dec 2006) | 2 lines -Fix: when forcing a vehicle to go to a depot, clear refit orders from current orders (caused refit error popup when not having no orders) ------------------------------------------------------------------------ r7388 | Darkvater | 2006-12-05 23:37:04 +0000 (Tue, 05 Dec 2006) | 4 lines -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news is INVALID_NEWS), make it the value of _oldest_news, not zero as DeleteVehicleNews can change _oldest_news. Also remove the (i == INVALID_NEWS) return 0; guard from increaseIndex as it's only used in 2 places, nowhere else. ------------------------------------------------------------------------ r7387 | KUDr | 2006-12-05 23:32:15 +0000 (Tue, 05 Dec 2006) | 1 line -Fix: czech lang file compilation error ------------------------------------------------------------------------ r7386 | bjarni | 2006-12-05 22:59:42 +0000 (Tue, 05 Dec 2006) | 3 lines -Codechange r7385: moved deletion of the vehicle highlight from DeleteVehicle to the sell commands as they are not called as often Also added a return to the window loop prevent looking at the rest of the windows once the right depot window is found ------------------------------------------------------------------------ r7385 | bjarni | 2006-12-05 22:40:42 +0000 (Tue, 05 Dec 2006) | 5 lines -Fix: FS#418 Deleting Train in depot with autoreplace failes This turned out to be due to continue to drag the old vehicle, that autoreplace sold This could also be triggered if more than one player used the same company Now deleting a vehicle will remove all depot highlights of that vehicle ------------------------------------------------------------------------ r7384 | Darkvater | 2006-12-05 22:35:25 +0000 (Tue, 05 Dec 2006) | 2 lines -Fix: No vehicle was removed in DeleteVehicleNews when the fifo-array was full. Update the bound conditions of the loop, add an assert and also update _current_news when needed. (r3757) ------------------------------------------------------------------------ r7383 | Darkvater | 2006-12-05 22:31:10 +0000 (Tue, 05 Dec 2006) | 1 line -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/. ------------------------------------------------------------------------ r7378 | peter1138 | 2006-12-05 20:22:14 +0000 (Tue, 05 Dec 2006) | 4 lines -Fix (r2428): Don't update vehicle images when turning a train around. During this procedure the train is split into parts which can result in incorrect images being used. ------------------------------------------------------------------------ r7377 | peter1138 | 2006-12-05 17:53:33 +0000 (Tue, 05 Dec 2006) | 2 lines -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros) ------------------------------------------------------------------------ r7375 | miham | 2006-12-05 17:09:57 +0000 (Tue, 05 Dec 2006) | 12 lines WebTranslator2 update to 2006-12-05 18:07:02 american - 22 fixed, 2 changed by WhiteRabbit (24) brazilian_portuguese - 23 fixed by tucalipe (23) bulgarian - 22 fixed, 2 changed by groupsky (24) catalan - 23 fixed, 31 changed by arnaullv (54) croatian - 203 fixed, 2 deleted, 27 changed by knovak (232) danish - 9 fixed, 26 changed by ThomasA (35) french - 23 fixed, 10 changed by glx (33) hungarian - 23 fixed, 1 changed by miham (24) italian - 23 fixed by sidew (23) slovak - 8 fixed by lengyel (8) ------------------------------------------------------------------------ r7374 | matthijs | 2006-12-05 16:41:13 +0000 (Tue, 05 Dec 2006) | 2 lines - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex(). ------------------------------------------------------------------------ r7373 | peter1138 | 2006-12-05 14:18:58 +0000 (Tue, 05 Dec 2006) | 2 lines -Codechange: when removing a GRF from the list, make the next one selected, or the previous file if the last item is being removed. This makes clearing the list easier. ------------------------------------------------------------------------ r7372 | matthijs | 2006-12-05 13:58:20 +0000 (Tue, 05 Dec 2006) | 2 lines - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. ------------------------------------------------------------------------ r7370 | Darkvater | 2006-12-05 12:17:31 +0000 (Tue, 05 Dec 2006) | 1 line -Cleanup: Use NewsID instead of byte for news identifiers, and some minor other things ------------------------------------------------------------------------ r7369 | Darkvater | 2006-12-05 11:59:28 +0000 (Tue, 05 Dec 2006) | 2 lines -Cleanup: Some coding style, usage of increaseIndex and decreaseIndex to loop through the fifo-array-buffer, typo's. ------------------------------------------------------------------------ r7368 | Darkvater | 2006-12-05 11:51:23 +0000 (Tue, 05 Dec 2006) | 1 line -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] (r3757). ------------------------------------------------------------------------ r7367 | peter1138 | 2006-12-05 11:13:22 +0000 (Tue, 05 Dec 2006) | 2 lines -Codechange: prevent adding files where the GRF ID is already in the list ------------------------------------------------------------------------ r7366 | Darkvater | 2006-12-05 09:19:14 +0000 (Tue, 05 Dec 2006) | 1 line -Fix: Out of bounds widget access when accessing orders window of other players. ------------------------------------------------------------------------ r7363 | peter1138 | 2006-12-04 20:27:53 +0000 (Mon, 04 Dec 2006) | 2 lines -Fix (r7357): Update count of NewGRFs when adding an file ------------------------------------------------------------------------