------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r7362 | Darkvater | 2006-12-04 18:57:09 +0000 (Mon, 04 Dec 2006) | 2 lines -Fix (r7337): Free the freetype face after any possible error. For win32 do not use the last font in the registry if no suitable font is found. ------------------------------------------------------------------------ r7360 | glx | 2006-12-04 16:14:10 +0000 (Mon, 04 Dec 2006) | 1 line -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID in all languages ------------------------------------------------------------------------ r7358 | peter1138 | 2006-12-04 14:30:18 +0000 (Mon, 04 Dec 2006) | 2 lines -Codechange: add newgrf_gui.c to MS project files ------------------------------------------------------------------------ r7357 | peter1138 | 2006-12-04 14:27:54 +0000 (Mon, 04 Dec 2006) | 1 line -Codechange: new NewGRF set up window which allows modification of NewGRF settings. ------------------------------------------------------------------------ r7356 | rubidium | 2006-12-04 13:57:04 +0000 (Mon, 04 Dec 2006) | 3 lines -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != WWT_LAST; i++, wi++)' type for loops with 'for (i = 0; i < w->window_count; i++) { wi = &w->widget[i];'-type for loops for better readability. -Codechange: use IsWindowWidget(Disabled|Hidden) in favor of IsWidget(Disabled|Hidden). ------------------------------------------------------------------------ r7355 | rubidium | 2006-12-04 13:46:03 +0000 (Mon, 04 Dec 2006) | 2 lines -Codechange: replace 'for (i = 0; w->widget[i].type != WWT_TYPE; i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops ------------------------------------------------------------------------ r7354 | peter1138 | 2006-12-04 13:45:20 +0000 (Mon, 04 Dec 2006) | 2 lines -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. ------------------------------------------------------------------------ r7353 | rubidium | 2006-12-04 13:38:45 +0000 (Mon, 04 Dec 2006) | 2 lines -Codechange: constify Window* in IsWindowWidget(Lowered|Hidden|Disabled) ------------------------------------------------------------------------ r7352 | rubidium | 2006-12-04 13:36:27 +0000 (Mon, 04 Dec 2006) | 3 lines -Codechange: add widget_count parameter to the window. -Codechange: check whether widget indices are valid for all the (Set|Is)WindowWidget(Disabled|Lowered|Hidden) and related functions. ------------------------------------------------------------------------ r7351 | peter1138 | 2006-12-04 13:20:14 +0000 (Mon, 04 Dec 2006) | 1 line -Fix (r6619): Disabled platform length and numbers were not reset for the default station. ------------------------------------------------------------------------ r7350 | rubidium | 2006-12-04 10:55:53 +0000 (Mon, 04 Dec 2006) | 2 lines -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap. ------------------------------------------------------------------------ r7349 | peter1138 | 2006-12-04 10:44:17 +0000 (Mon, 04 Dec 2006) | 1 line -Fix (r7348): Stripping data path didn't work for absolute paths. ------------------------------------------------------------------------ r7348 | peter1138 | 2006-12-04 08:30:04 +0000 (Mon, 04 Dec 2006) | 2 lines -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... ------------------------------------------------------------------------ r7347 | peter1138 | 2006-12-04 08:11:53 +0000 (Mon, 04 Dec 2006) | 2 lines -Translations: Use correct plural type for Russian ------------------------------------------------------------------------ r7346 | miham | 2006-12-04 04:22:53 +0000 (Mon, 04 Dec 2006) | 14 lines WebTranslator2 update to 2006-12-04 05:22:02 american - 5 fixed by WhiteRabbit (5) brazilian_portuguese - 1 fixed by tucalipe (1) bulgarian - 5 fixed by groupsky (5) catalan - 1 fixed, 3 changed by arnaullv (4) croatian - 186 fixed, 111 changed by knovak (297) czech - 5 fixed by Hadez (5) dutch - 5 fixed by habell (5) french - 1 fixed by glx (1) german - 5 fixed by Neonox (5) italian - 5 fixed by sidew (5) portuguese - 4 fixed by izhirahider (4) turkish - 5 fixed by jnmbk (5) ------------------------------------------------------------------------ r7345 | peter1138 | 2006-12-03 23:46:54 +0000 (Sun, 03 Dec 2006) | 2 lines -Codechange: enumification of NewGRF loading stage, and move enum definition to header for future use. ------------------------------------------------------------------------ r7341 | matthijs | 2006-12-03 20:03:40 +0000 (Sun, 03 Dec 2006) | 2 lines - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331). ------------------------------------------------------------------------ r7338 | Darkvater | 2006-12-03 19:07:20 +0000 (Sun, 03 Dec 2006) | 1 line -Fix (r7336): [win32] libfreetype is libfreetype2 in linker options (thanks Rubidium) ------------------------------------------------------------------------ r7337 | Darkvater | 2006-12-03 19:03:38 +0000 (Sun, 03 Dec 2006) | 3 lines -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty messy if you ask me, but this is what you get when MS hides the font API in the deepest depths... thanks Rubidium for testing. ------------------------------------------------------------------------ r7336 | Darkvater | 2006-12-03 18:36:11 +0000 (Sun, 03 Dec 2006) | 1 line -Codechange: [win32] Add freetype support for Windows project files. ------------------------------------------------------------------------ r7335 | peter1138 | 2006-12-03 18:28:42 +0000 (Sun, 03 Dec 2006) | 2 lines -Codechange: redraw station tiles when cargo is moved, for newstations ------------------------------------------------------------------------ r7334 | Darkvater | 2006-12-03 17:54:28 +0000 (Sun, 03 Dec 2006) | 1 line -Revert accidentally committed file in r7333 ------------------------------------------------------------------------ r7333 | Darkvater | 2006-12-03 17:47:53 +0000 (Sun, 03 Dec 2006) | 6 lines -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to also accept conversions into a predefined buffer insted of using the static (global) buffer. This is useful if the converted value will be used later on; no need to copy it somewhere else to save it. -CodeChange: [win32] Added appropiate macros WIDE_TO_MB_BUFFER, MB_TO_WIDE_BUFFER next to existing WIDE_TO_MB and MB_TO_WIDE that only do work when UNICODE is defined, saves #ifdefs all over the place ------------------------------------------------------------------------ r7332 | rubidium | 2006-12-03 17:42:56 +0000 (Sun, 03 Dec 2006) | 2 lines -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions. ------------------------------------------------------------------------ r7331 | matthijs | 2006-12-03 17:27:43 +0000 (Sun, 03 Dec 2006) | 3 lines - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. - Codechange: Rename pool.[ch] to oldpool.[ch]. ------------------------------------------------------------------------ r7330 | peter1138 | 2006-12-03 15:48:21 +0000 (Sun, 03 Dec 2006) | 4 lines -Fix (r7304): Data invalidation doesn't always happen as the local player, resulting in an empty vehicle purchase list. Specify the player as an argument to IsEngineBuildable() ------------------------------------------------------------------------ r7329 | KUDr | 2006-12-03 13:40:16 +0000 (Sun, 03 Dec 2006) | 1 line -Fix (r7157): Invalid viewport position on quick zoom ------------------------------------------------------------------------ r7328 | rubidium | 2006-12-03 13:06:49 +0000 (Sun, 03 Dec 2006) | 2 lines -Fix: memory corruption. The 'Load Heightmap' window does not have TerraGenesis configuration buttons and it does have only 29 widgets, not at least 33. Thanks to Tefad for finding this bug. ------------------------------------------------------------------------ r7327 | KUDr | 2006-12-03 12:17:35 +0000 (Sun, 03 Dec 2006) | 1 line -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing ------------------------------------------------------------------------ r7326 | peter1138 | 2006-12-02 16:56:32 +0000 (Sat, 02 Dec 2006) | 2 lines -Feature: Add support for gradual (un)loading of vehicles (Maedhros) ------------------------------------------------------------------------ r7325 | peter1138 | 2006-12-02 09:54:49 +0000 (Sat, 02 Dec 2006) | 2 lines -Feature: Add support for action 5 type 0x0D, coast sprites. ------------------------------------------------------------------------ r7324 | peter1138 | 2006-12-02 09:52:34 +0000 (Sat, 02 Dec 2006) | 2 lines -Codechange: reset newgrf signal location data ------------------------------------------------------------------------ r7323 | peter1138 | 2006-12-02 09:34:18 +0000 (Sat, 02 Dec 2006) | 4 lines -Fix (r7182): When translating NewGRF strings, look at the first character and move ahead if needed, instead of taking the first character and moving back. ------------------------------------------------------------------------ r7322 | Darkvater | 2006-12-01 19:25:50 +0000 (Fri, 01 Dec 2006) | 2 lines -Update win32 project files for ukrainian and bulgarian language files. Also add unicows.lib to Release build of VS2003. ------------------------------------------------------------------------