Thu, 07 Dec 2006 14:44:26 +0000(svn r7421) -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.
peter1138 [Thu, 07 Dec 2006 14:44:26 +0000] rev 5277
(svn r7421) -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.

Thu, 07 Dec 2006 14:37:54 +0000(svn r7420) -[lang] Dammit, there are too many language files, missed some from the list.
Darkvater [Thu, 07 Dec 2006 14:37:54 +0000] rev 5276
(svn r7420) -[lang] Dammit, there are too many language files, missed some from the list.

Thu, 07 Dec 2006 14:35:16 +0000(svn r7419) -[lang] Fix up the language files after r7418
Darkvater [Thu, 07 Dec 2006 14:35:16 +0000] rev 5275
(svn r7419) -[lang] Fix up the language files after r7418

Thu, 07 Dec 2006 14:03:55 +0000(svn r7418) -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As
Darkvater [Thu, 07 Dec 2006 14:03:55 +0000] rev 5274
(svn r7418) -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.

Thu, 07 Dec 2006 13:00:41 +0000(svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use
Darkvater [Thu, 07 Dec 2006 13:00:41 +0000] rev 5273
(svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use
their type anyways.

Thu, 07 Dec 2006 12:57:53 +0000(svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag
Darkvater [Thu, 07 Dec 2006 12:57:53 +0000] rev 5272
(svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag

Thu, 07 Dec 2006 04:12:29 +0000(svn r7413) -Fix[FS#386,#412]: Station list window NONE button now behaves correctly.
belugas [Thu, 07 Dec 2006 04:12:29 +0000] rev 5271
(svn r7413) -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

Thu, 07 Dec 2006 00:54:18 +0000(svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others
Darkvater [Thu, 07 Dec 2006 00:54:18 +0000] rev 5270
(svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others

Thu, 07 Dec 2006 00:51:20 +0000(svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it
Darkvater [Thu, 07 Dec 2006 00:51:20 +0000] rev 5269
(svn r7410) -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

Thu, 07 Dec 2006 00:47:35 +0000(svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes
Darkvater [Thu, 07 Dec 2006 00:47:35 +0000] rev 5268
(svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes
it possible to programmatically resize windows specifying a delta x,y.

Wed, 06 Dec 2006 19:28:25 +0000(svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested.
Darkvater [Wed, 06 Dec 2006 19:28:25 +0000] rev 5267
(svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested.

Wed, 06 Dec 2006 19:04:27 +0000(svn r7405) WebTranslator2 update to 2006-12-06 20:03:46
miham [Wed, 06 Dec 2006 19:04:27 +0000] rev 5266
(svn r7405) 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)

Wed, 06 Dec 2006 17:31:16 +0000(svn r7403) -Codechange (r7386, r7385): Use available functions to find a window instead of doing
Darkvater [Wed, 06 Dec 2006 17:31:16 +0000] rev 5265
(svn r7403) -Codechange (r7386, r7385): Use available functions to find a window instead of doing
some cruft yourself (and wrongly typing non-const as const).

Wed, 06 Dec 2006 17:28:14 +0000(svn r7402) -Fix: [FS#255] Long Delay for Message Windows to Appear. Immediately show a new message
Darkvater [Wed, 06 Dec 2006 17:28:14 +0000] rev 5264
(svn r7402) -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.

Wed, 06 Dec 2006 11:16:02 +0000(svn r7393) WebTranslator2 update to 2006-12-06 12:15:25
miham [Wed, 06 Dec 2006 11:16:02 +0000] rev 5263
(svn r7393) 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)

Wed, 06 Dec 2006 07:57:02 +0000(svn r7392) [Translations] Added Esperanto language
miham [Wed, 06 Dec 2006 07:57:02 +0000] rev 5262
(svn r7392) [Translations] Added Esperanto language

Wed, 06 Dec 2006 02:03:55 +0000(svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one)
glx [Wed, 06 Dec 2006 02:03:55 +0000] rev 5261
(svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one)

Wed, 06 Dec 2006 00:03:24 +0000(svn r7390) -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
bjarni [Wed, 06 Dec 2006 00:03:24 +0000] rev 5260
(svn r7390) -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

Tue, 05 Dec 2006 23:57:04 +0000(svn r7389) -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)
bjarni [Tue, 05 Dec 2006 23:57:04 +0000] rev 5259
(svn r7389) -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)

Tue, 05 Dec 2006 23:37:04 +0000(svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news
Darkvater [Tue, 05 Dec 2006 23:37:04 +0000] rev 5258
(svn r7388) -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.

Tue, 05 Dec 2006 23:32:15 +0000(svn r7387) -Fix: czech lang file compilation error
KUDr [Tue, 05 Dec 2006 23:32:15 +0000] rev 5257
(svn r7387) -Fix: czech lang file compilation error

Tue, 05 Dec 2006 22:59:42 +0000(svn r7386) -Codechange r7385: moved deletion of the vehicle highlight from DeleteVehicle to the sell commands as they are not called as often
bjarni [Tue, 05 Dec 2006 22:59:42 +0000] rev 5256
(svn r7386) -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

Tue, 05 Dec 2006 22:40:42 +0000(svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failes
bjarni [Tue, 05 Dec 2006 22:40:42 +0000] rev 5255
(svn r7385) -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

Tue, 05 Dec 2006 22:35:25 +0000(svn r7384) -Fix: No vehicle was removed in DeleteVehicleNews when the fifo-array was full. Update the
Darkvater [Tue, 05 Dec 2006 22:35:25 +0000] rev 5254
(svn r7384) -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)

Tue, 05 Dec 2006 22:31:10 +0000(svn r7383) -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/.
Darkvater [Tue, 05 Dec 2006 22:31:10 +0000] rev 5253
(svn r7383) -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/.

Tue, 05 Dec 2006 20:22:14 +0000(svn r7378) -Fix (r2428): Don't update vehicle images when turning a train around.
peter1138 [Tue, 05 Dec 2006 20:22:14 +0000] rev 5252
(svn r7378) -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.

Tue, 05 Dec 2006 17:53:33 +0000(svn r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros)
peter1138 [Tue, 05 Dec 2006 17:53:33 +0000] rev 5251
(svn r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros)

Tue, 05 Dec 2006 17:09:57 +0000(svn r7375) WebTranslator2 update to 2006-12-05 18:07:02
miham [Tue, 05 Dec 2006 17:09:57 +0000] rev 5250
(svn r7375) 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)

Tue, 05 Dec 2006 16:41:13 +0000(svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex().
matthijs [Tue, 05 Dec 2006 16:41:13 +0000] rev 5249
(svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex().

Tue, 05 Dec 2006 14:18:58 +0000(svn r7373) -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.
peter1138 [Tue, 05 Dec 2006 14:18:58 +0000] rev 5248
(svn r7373) -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.

Tue, 05 Dec 2006 13:58:20 +0000(svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
matthijs [Tue, 05 Dec 2006 13:58:20 +0000] rev 5247
(svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.

Tue, 05 Dec 2006 12:17:31 +0000(svn r7370) -Cleanup: Use NewsID instead of byte for news identifiers, and some minor other things
Darkvater [Tue, 05 Dec 2006 12:17:31 +0000] rev 5246
(svn r7370) -Cleanup: Use NewsID instead of byte for news identifiers, and some minor other things

Tue, 05 Dec 2006 11:59:28 +0000(svn r7369) -Cleanup: Some coding style, usage of increaseIndex and decreaseIndex to loop through the
Darkvater [Tue, 05 Dec 2006 11:59:28 +0000] rev 5245
(svn r7369) -Cleanup: Some coding style, usage of increaseIndex and decreaseIndex to loop through the
fifo-array-buffer, typo's.

Tue, 05 Dec 2006 11:51:23 +0000(svn r7368) -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] (r3757).
Darkvater [Tue, 05 Dec 2006 11:51:23 +0000] rev 5244
(svn r7368) -Fix: [FS#332] Vehicle Deletion Crash [News Window Related?] (r3757).

Tue, 05 Dec 2006 11:13:22 +0000(svn r7367) -Codechange: prevent adding files where the GRF ID is already in the list
peter1138 [Tue, 05 Dec 2006 11:13:22 +0000] rev 5243
(svn r7367) -Codechange: prevent adding files where the GRF ID is already in the list

Tue, 05 Dec 2006 09:19:14 +0000(svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players.
Darkvater [Tue, 05 Dec 2006 09:19:14 +0000] rev 5242
(svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players.

Mon, 04 Dec 2006 20:27:53 +0000(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file
peter1138 [Mon, 04 Dec 2006 20:27:53 +0000] rev 5241
(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file

Mon, 04 Dec 2006 18:57:09 +0000(svn r7362) -Fix (r7337): Free the freetype face after any possible error. For win32 do not use the
Darkvater [Mon, 04 Dec 2006 18:57:09 +0000] rev 5240
(svn r7362) -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.

Mon, 04 Dec 2006 16:14:10 +0000(svn r7360) -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID in all languages
glx [Mon, 04 Dec 2006 16:14:10 +0000] rev 5239
(svn r7360) -Cleanup r7357: Update STR_NEWGRF_FILENAME and STR_NEWGRF_GRF_ID in all languages

Mon, 04 Dec 2006 14:30:18 +0000(svn r7358) -Codechange: add newgrf_gui.c to MS project files
peter1138 [Mon, 04 Dec 2006 14:30:18 +0000] rev 5238
(svn r7358) -Codechange: add newgrf_gui.c to MS project files

Mon, 04 Dec 2006 14:27:54 +0000(svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings.
peter1138 [Mon, 04 Dec 2006 14:27:54 +0000] rev 5237
(svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings.

Mon, 04 Dec 2006 13:57:04 +0000(svn r7356) -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.
rubidium [Mon, 04 Dec 2006 13:57:04 +0000] rev 5236
(svn r7356) -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).

Mon, 04 Dec 2006 13:46:03 +0000(svn r7355) -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
rubidium [Mon, 04 Dec 2006 13:46:03 +0000] rev 5235
(svn r7355) -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

Mon, 04 Dec 2006 13:45:20 +0000(svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled.
peter1138 [Mon, 04 Dec 2006 13:45:20 +0000] rev 5234
(svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled.

Mon, 04 Dec 2006 13:38:45 +0000(svn r7353) -Codechange: constify Window* in IsWindowWidget(Lowered|Hidden|Disabled)
rubidium [Mon, 04 Dec 2006 13:38:45 +0000] rev 5233
(svn r7353) -Codechange: constify Window* in IsWindowWidget(Lowered|Hidden|Disabled)

Mon, 04 Dec 2006 13:36:27 +0000(svn r7352) -Codechange: add widget_count parameter to the window.
rubidium [Mon, 04 Dec 2006 13:36:27 +0000] rev 5232
(svn r7352) -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.

Mon, 04 Dec 2006 13:20:14 +0000(svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station.
peter1138 [Mon, 04 Dec 2006 13:20:14 +0000] rev 5231
(svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station.

Mon, 04 Dec 2006 10:55:53 +0000(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
rubidium [Mon, 04 Dec 2006 10:55:53 +0000] rev 5230
(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.

Mon, 04 Dec 2006 10:44:17 +0000(svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths.
peter1138 [Mon, 04 Dec 2006 10:44:17 +0000] rev 5229
(svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths.

Mon, 04 Dec 2006 08:30:04 +0000(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
peter1138 [Mon, 04 Dec 2006 08:30:04 +0000] rev 5228
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...

Mon, 04 Dec 2006 08:11:53 +0000(svn r7347) -Translations: Use correct plural type for Russian
peter1138 [Mon, 04 Dec 2006 08:11:53 +0000] rev 5227
(svn r7347) -Translations: Use correct plural type for Russian

Mon, 04 Dec 2006 04:22:53 +0000(svn r7346) WebTranslator2 update to 2006-12-04 05:22:02
miham [Mon, 04 Dec 2006 04:22:53 +0000] rev 5226
(svn r7346) 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)

Sun, 03 Dec 2006 23:46:54 +0000(svn r7345) -Codechange: enumification of NewGRF loading stage, and move enum definition to header for future use.
peter1138 [Sun, 03 Dec 2006 23:46:54 +0000] rev 5225
(svn r7345) -Codechange: enumification of NewGRF loading stage, and move enum definition to header for future use.

Sun, 03 Dec 2006 20:03:40 +0000(svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331).
matthijs [Sun, 03 Dec 2006 20:03:40 +0000] rev 5224
(svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331).

Sun, 03 Dec 2006 19:07:20 +0000(svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker options (thanks Rubidium)
Darkvater [Sun, 03 Dec 2006 19:07:20 +0000] rev 5223
(svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker options (thanks Rubidium)

Sun, 03 Dec 2006 19:03:38 +0000(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty
Darkvater [Sun, 03 Dec 2006 19:03:38 +0000] rev 5222
(svn r7337) -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.

Sun, 03 Dec 2006 18:36:11 +0000(svn r7336) -Codechange: [win32] Add freetype support for Windows project files.
Darkvater [Sun, 03 Dec 2006 18:36:11 +0000] rev 5221
(svn r7336) -Codechange: [win32] Add freetype support for Windows project files.

Sun, 03 Dec 2006 18:28:42 +0000(svn r7335) -Codechange: redraw station tiles when cargo is moved, for newstations
peter1138 [Sun, 03 Dec 2006 18:28:42 +0000] rev 5220
(svn r7335) -Codechange: redraw station tiles when cargo is moved, for newstations

Sun, 03 Dec 2006 17:54:28 +0000(svn r7334) -Revert accidentally committed file in r7333
Darkvater [Sun, 03 Dec 2006 17:54:28 +0000] rev 5219
(svn r7334) -Revert accidentally committed file in r7333

Sun, 03 Dec 2006 17:47:53 +0000(svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to also accept conversions
Darkvater [Sun, 03 Dec 2006 17:47:53 +0000] rev 5218
(svn r7333) -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

Sun, 03 Dec 2006 17:42:56 +0000(svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions.
rubidium [Sun, 03 Dec 2006 17:42:56 +0000] rev 5217
(svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions.

Sun, 03 Dec 2006 17:27:43 +0000(svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
matthijs [Sun, 03 Dec 2006 17:27:43 +0000] rev 5216
(svn r7331) - 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].

Sun, 03 Dec 2006 15:48:21 +0000(svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local
peter1138 [Sun, 03 Dec 2006 15:48:21 +0000] rev 5215
(svn r7330) -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()

Sun, 03 Dec 2006 13:40:16 +0000(svn r7329) -Fix (r7157): Invalid viewport position on quick zoom
KUDr [Sun, 03 Dec 2006 13:40:16 +0000] rev 5214
(svn r7329) -Fix (r7157): Invalid viewport position on quick zoom

Sun, 03 Dec 2006 13:06:49 +0000(svn r7328) -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.
rubidium [Sun, 03 Dec 2006 13:06:49 +0000] rev 5213
(svn r7328) -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.

Sun, 03 Dec 2006 12:17:35 +0000(svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing
KUDr [Sun, 03 Dec 2006 12:17:35 +0000] rev 5212
(svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing

Sat, 02 Dec 2006 16:56:32 +0000(svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros)
peter1138 [Sat, 02 Dec 2006 16:56:32 +0000] rev 5211
(svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros)

Sat, 02 Dec 2006 09:54:49 +0000(svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites.
peter1138 [Sat, 02 Dec 2006 09:54:49 +0000] rev 5210
(svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites.

Sat, 02 Dec 2006 09:52:34 +0000(svn r7324) -Codechange: reset newgrf signal location data
peter1138 [Sat, 02 Dec 2006 09:52:34 +0000] rev 5209
(svn r7324) -Codechange: reset newgrf signal location data

Sat, 02 Dec 2006 09:34:18 +0000(svn r7323) -Fix (r7182): When translating NewGRF strings, look at the first
peter1138 [Sat, 02 Dec 2006 09:34:18 +0000] rev 5208
(svn r7323) -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.

Fri, 01 Dec 2006 19:25:50 +0000(svn r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add
Darkvater [Fri, 01 Dec 2006 19:25:50 +0000] rev 5207
(svn r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add
unicows.lib to Release build of VS2003.

Fri, 01 Dec 2006 13:59:51 +0000(svn r7321) -Translations: Move bulgarian and ukrainian out of unfinished as they are, respectively, 99% and 97% complete.
peter1138 [Fri, 01 Dec 2006 13:59:51 +0000] rev 5206
(svn r7321) -Translations: Move bulgarian and ukrainian out of unfinished as they are, respectively, 99% and 97% complete.

Fri, 01 Dec 2006 13:18:18 +0000(svn r7320) -Translations: add russian to MS VC project files
peter1138 [Fri, 01 Dec 2006 13:18:18 +0000] rev 5205
(svn r7320) -Translations: add russian to MS VC project files

Fri, 01 Dec 2006 12:57:31 +0000(svn r7319) -Fix (r7182): (NewGRF) Add space for terminator when translating TTDPatch strings (thanks eddi)
peter1138 [Fri, 01 Dec 2006 12:57:31 +0000] rev 5204
(svn r7319) -Fix (r7182): (NewGRF) Add space for terminator when translating TTDPatch strings (thanks eddi)

Fri, 01 Dec 2006 11:23:29 +0000(svn r7318) -Fix: change some unfinished strings: STRING->{CARGO,POWER,WEIGHT,WEIGHT_S} and remove strings that are no longer in english.txt.
rubidium [Fri, 01 Dec 2006 11:23:29 +0000] rev 5203
(svn r7318) -Fix: change some unfinished strings: STRING->{CARGO,POWER,WEIGHT,WEIGHT_S} and remove strings that are no longer in english.txt.

Fri, 01 Dec 2006 08:23:15 +0000(svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138)
KUDr [Fri, 01 Dec 2006 08:23:15 +0000] rev 5202
(svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138)

Fri, 01 Dec 2006 00:28:15 +0000(svn r7316) -Codechange: Make train-build-gui and aircraft-build-gui (unified) look more alike.
Darkvater [Fri, 01 Dec 2006 00:28:15 +0000] rev 5201
(svn r7316) -Codechange: Make train-build-gui and aircraft-build-gui (unified) look more alike.

Fri, 01 Dec 2006 00:26:42 +0000(svn r7315) -Fix: Have the first engine in the list be selected once again when the window is opened
Darkvater [Fri, 01 Dec 2006 00:26:42 +0000] rev 5200
(svn r7315) -Fix: Have the first engine in the list be selected once again when the window is opened
and remove a useless loop that tested if selected engine is still in list (moved to list
generation).

Fri, 01 Dec 2006 00:14:10 +0000(svn r7314) -Cleanup: const, whitespace, coding style and variable usage.
Darkvater [Fri, 01 Dec 2006 00:14:10 +0000] rev 5199
(svn r7314) -Cleanup: const, whitespace, coding style and variable usage.

Fri, 01 Dec 2006 00:09:13 +0000(svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
Darkvater [Fri, 01 Dec 2006 00:09:13 +0000] rev 5198
(svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls.

Thu, 30 Nov 2006 22:23:11 +0000(svn r7312) -Fix: When loading a game from a dedicated server the local player global variable was
Darkvater [Thu, 30 Nov 2006 22:23:11 +0000] rev 5197
(svn r7312) -Fix: When loading a game from a dedicated server the local player global variable was
wrongly set to 0. In theory this allowed a dedicated server to also play. I see no
history for this bug, but it has been there since the introduction of the dedicated
server probably. Thanks peter1138 for bringing it to my attention and thanks myself
for rewriting the code so this bug could surface ;p

Thu, 30 Nov 2006 21:46:47 +0000(svn r7310) -Codechange: Change scrolling dropdown box to use 1 scroll unit = 1 line
peter1138 [Thu, 30 Nov 2006 21:46:47 +0000] rev 5196
(svn r7310) -Codechange: Change scrolling dropdown box to use 1 scroll unit = 1 line
of text, instead of 1 row of pixels. This fixes behaviour of scrolling
with the scrollbar buttons and the mouse wheel.

Thu, 30 Nov 2006 21:37:06 +0000(svn r7309) -Codechange: sort train engines/wagons by number first and then by custom rule
KUDr [Thu, 30 Nov 2006 21:37:06 +0000] rev 5195
(svn r7309) -Codechange: sort train engines/wagons by number first and then by custom rule

Thu, 30 Nov 2006 21:33:09 +0000(svn r7308) -Codechange: call GenerateBuildList() only when needed instead of on each redraw (peter1138)
KUDr [Thu, 30 Nov 2006 21:33:09 +0000] rev 5194
(svn r7308) -Codechange: call GenerateBuildList() only when needed instead of on each redraw (peter1138)

Thu, 30 Nov 2006 19:37:16 +0000(svn r7306) -Codechange: constness (Darkvater)
KUDr [Thu, 30 Nov 2006 19:37:16 +0000] rev 5193
(svn r7306) -Codechange: constness (Darkvater)

Thu, 30 Nov 2006 18:47:57 +0000(svn r7305) -Codestyle: Indentation fixes
peter1138 [Thu, 30 Nov 2006 18:47:57 +0000] rev 5192
(svn r7305) -Codestyle: Indentation fixes

Thu, 30 Nov 2006 18:23:25 +0000(svn r7304) -Codechange: Reinstate caching of sorted purchase list. Dropping from 9m to 1.5m cycles for a redraw of a full list is not frivolous.
peter1138 [Thu, 30 Nov 2006 18:23:25 +0000] rev 5191
(svn r7304) -Codechange: Reinstate caching of sorted purchase list. Dropping from 9m to 1.5m cycles for a redraw of a full list is not frivolous.

Thu, 30 Nov 2006 18:16:08 +0000(svn r7303) -Codechange: Sort wagon list as well as engine list.
peter1138 [Thu, 30 Nov 2006 18:16:08 +0000] rev 5190
(svn r7303) -Codechange: Sort wagon list as well as engine list.

Thu, 30 Nov 2006 17:12:10 +0000(svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138)
KUDr [Thu, 30 Nov 2006 17:12:10 +0000] rev 5189
(svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138)

Thu, 30 Nov 2006 16:03:57 +0000(svn r7300) -Fix: (r7299) removed unused strings from lang files
KUDr [Thu, 30 Nov 2006 16:03:57 +0000] rev 5188
(svn r7300) -Fix: (r7299) removed unused strings from lang files

Thu, 30 Nov 2006 16:03:12 +0000(svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
KUDr [Thu, 30 Nov 2006 16:03:12 +0000] rev 5187
(svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
- using one engine list instead of 3
- removed engine filters (loco, wagons, helicopters, etc.)
- EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList)
- removed unnecessary "optimization" (rebuild and sort engine list on each WE_PAINT)

Thu, 30 Nov 2006 13:52:31 +0000(svn r7296) -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero causes YAPF to behave incorrectly. Set its min value to 1. (Danny)
KUDr [Thu, 30 Nov 2006 13:52:31 +0000] rev 5186
(svn r7296) -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero causes YAPF to behave incorrectly. Set its min value to 1. (Danny)

Thu, 30 Nov 2006 08:27:24 +0000(svn r7295) [Translations] Reverted last commit
miham [Thu, 30 Nov 2006 08:27:24 +0000] rev 5185
(svn r7295) [Translations] Reverted last commit

Thu, 30 Nov 2006 08:06:34 +0000(svn r7294) WebTranslator2 update to 2006-11-30 09:06:04
miham [Thu, 30 Nov 2006 08:06:34 +0000] rev 5184
(svn r7294) WebTranslator2 update to 2006-11-30 09:06:04
hungarian - 1 changed by miham (1)

Thu, 30 Nov 2006 07:57:27 +0000(svn r7293) WebTranslator2 update to 2006-11-30 08:56:49
miham [Thu, 30 Nov 2006 07:57:27 +0000] rev 5183
(svn r7293) WebTranslator2 update to 2006-11-30 08:56:49
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan - 4 fixed, 31 changed by arnaullv (35)
croatian - 13 fixed by blozo (13)
french - 4 fixed by glx (4)
german - 1 fixed by Neonox (1)
hungarian - 7 fixed by miham (7)

Wed, 29 Nov 2006 21:38:19 +0000(svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated
Darkvater [Wed, 29 Nov 2006 21:38:19 +0000] rev 5182
(svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated
console or logfile.

Wed, 29 Nov 2006 20:56:30 +0000(svn r7291) -Translation: use SMALL[LEFT|RIGHT]ARROW for two strings
peter1138 [Wed, 29 Nov 2006 20:56:30 +0000] rev 5181
(svn r7291) -Translation: use SMALL[LEFT|RIGHT]ARROW for two strings

Wed, 29 Nov 2006 20:53:14 +0000(svn r7290) -Translation: update Russian for changes since 0.4.8: new commands and string removed or modified in English
peter1138 [Wed, 29 Nov 2006 20:53:14 +0000] rev 5180
(svn r7290) -Translation: update Russian for changes since 0.4.8: new commands and string removed or modified in English

Wed, 29 Nov 2006 20:26:45 +0000(svn r7289) -Translation: use only {STRING}, not {STRINGx} in non-English
peter1138 [Wed, 29 Nov 2006 20:26:45 +0000] rev 5179
(svn r7289) -Translation: use only {STRING}, not {STRINGx} in non-English

Wed, 29 Nov 2006 20:21:21 +0000(svn r7288) -Translation: Fix currency symbols in Russian
peter1138 [Wed, 29 Nov 2006 20:21:21 +0000] rev 5178
(svn r7288) -Translation: Fix currency symbols in Russian

Wed, 29 Nov 2006 17:57:14 +0000(svn r7287) -Translation: Add Russian translation based on ttdrussia 0.4.8 release, thanks to Davydov M.A.
peter1138 [Wed, 29 Nov 2006 17:57:14 +0000] rev 5177
(svn r7287) -Translation: Add Russian translation based on ttdrussia 0.4.8 release, thanks to Davydov M.A.

Wed, 29 Nov 2006 17:37:28 +0000(svn r7286) -Translation: Remove unfinished latin transliterated Russian translation.
peter1138 [Wed, 29 Nov 2006 17:37:28 +0000] rev 5176
(svn r7286) -Translation: Remove unfinished latin transliterated Russian translation.

Wed, 29 Nov 2006 11:48:47 +0000(svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word.
peter1138 [Wed, 29 Nov 2006 11:48:47 +0000] rev 5175
(svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word.

Tue, 28 Nov 2006 23:44:12 +0000(svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie)
peter1138 [Tue, 28 Nov 2006 23:44:12 +0000] rev 5174
(svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie)

Tue, 28 Nov 2006 21:13:45 +0000(svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it is 49. If some linux
Darkvater [Tue, 28 Nov 2006 21:13:45 +0000] rev 5173
(svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it is 49. If some linux
flavour does use 41, use proper #ifdef guards around it, because right now 'f' also
toggles console.

Tue, 28 Nov 2006 21:03:28 +0000(svn r7282) -Fix (r625): ttdpatch vars are little endian
peter1138 [Tue, 28 Nov 2006 21:03:28 +0000] rev 5172
(svn r7282) -Fix (r625): ttdpatch vars are little endian

Tue, 28 Nov 2006 20:55:42 +0000(svn r7281) -Codechange: [win32] Add win32.h to project file
Darkvater [Tue, 28 Nov 2006 20:55:42 +0000] rev 5171
(svn r7281) -Codechange: [win32] Add win32.h to project file

Tue, 28 Nov 2006 20:55:16 +0000(svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions
Darkvater [Tue, 28 Nov 2006 20:55:16 +0000] rev 5170
(svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions

Tue, 28 Nov 2006 20:01:46 +0000(svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. Only workaround is that the
Darkvater [Tue, 28 Nov 2006 20:01:46 +0000] rev 5169
(svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. Only workaround is that the
wide version of EnumDisplaySettings crashes on win95 no matter what, so use ANSI version.
NOTE: MSLU support is only added to VS2003 project file because VS2005 compiles won't
even run on Windows95.

Tue, 28 Nov 2006 19:58:13 +0000(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE
Darkvater [Tue, 28 Nov 2006 19:58:13 +0000] rev 5168
(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE
API exclusively.

Tue, 28 Nov 2006 14:42:31 +0000(svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32
Darkvater [Tue, 28 Nov 2006 14:42:31 +0000] rev 5167
(svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32
since it uses UTF16 for file access. To keep os-specific code to a minimum, OpenTTD
uses UTF8 internally everywhere, converting to OS-type when needed (save/load/screenshot/etc.)

Tue, 28 Nov 2006 14:32:24 +0000(svn r7273) -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.
peter1138 [Tue, 28 Nov 2006 14:32:24 +0000] rev 5166
(svn r7273) -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.

Tue, 28 Nov 2006 14:19:18 +0000(svn r7272) -Ok, let's hope this one's correct...stupid msvc
Darkvater [Tue, 28 Nov 2006 14:19:18 +0000] rev 5165
(svn r7272) -Ok, let's hope this one's correct...stupid msvc

Tue, 28 Nov 2006 14:12:09 +0000(svn r7271) -Codechange: Revert the strtolower part of r7199 as it can actually become broken due to
Darkvater [Tue, 28 Nov 2006 14:12:09 +0000] rev 5164
(svn r7271) -Codechange: Revert the strtolower part of r7199 as it can actually become broken due to
different codepages. See comments for strtolower function for more information.

Mon, 27 Nov 2006 23:11:56 +0000(svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.
peter1138 [Mon, 27 Nov 2006 23:11:56 +0000] rev 5163
(svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.

Mon, 27 Nov 2006 21:14:19 +0000(svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit values to avoid possible overflows.
peter1138 [Mon, 27 Nov 2006 21:14:19 +0000] rev 5162
(svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit values to avoid possible overflows.

Mon, 27 Nov 2006 14:09:13 +0000(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs
peter1138 [Mon, 27 Nov 2006 14:09:13 +0000] rev 5161
(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs

Sun, 26 Nov 2006 15:38:48 +0000(svn r7260) WebTranslator2 update to 2006-11-26 16:36:43
miham [Sun, 26 Nov 2006 15:38:48 +0000] rev 5160
(svn r7260) WebTranslator2 update to 2006-11-26 16:36:43
brazilian_portuguese - 40 changed by tucalipe (40)
bulgarian - 2 fixed by kokobongo (2)
catalan - 4 changed by arnaullv (4)
croatian - 168 fixed, 46 deleted, 18 changed by blozo (232)
swedish - 4 fixed by daishan (4)

Sat, 25 Nov 2006 11:16:27 +0000(svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept in
peter1138 [Sat, 25 Nov 2006 11:16:27 +0000] rev 5159
(svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept in

Sat, 25 Nov 2006 08:27:44 +0000(svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk)
KUDr [Sat, 25 Nov 2006 08:27:44 +0000] rev 5158
(svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk)