Sat, 10 Mar 2007 20:05:31 +0000(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
KUDr [Sat, 10 Mar 2007 20:05:31 +0000] rev 6611
(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)

Sat, 10 Mar 2007 16:21:29 +0000(svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks
peter1138 [Sat, 10 Mar 2007 16:21:29 +0000] rev 6610
(svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks

Sat, 10 Mar 2007 12:10:00 +0000(svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
truelight [Sat, 10 Mar 2007 12:10:00 +0000] rev 6609
(svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)

Sat, 10 Mar 2007 10:08:38 +0000(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.
peter1138 [Sat, 10 Mar 2007 10:08:38 +0000] rev 6608
(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.

Sat, 10 Mar 2007 09:55:11 +0000(svn r9093) -Codechange: variable scope / type
peter1138 [Sat, 10 Mar 2007 09:55:11 +0000] rev 6607
(svn r9093) -Codechange: variable scope / type

Sat, 10 Mar 2007 09:23:33 +0000(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
peter1138 [Sat, 10 Mar 2007 09:23:33 +0000] rev 6606
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.

Sat, 10 Mar 2007 03:33:43 +0000(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
belugas [Sat, 10 Mar 2007 03:33:43 +0000] rev 6605
(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-Codechange: Use the newly created WWT_TEXT widget.
-Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events.
Thanks glx for ideas from an old patch

Sat, 10 Mar 2007 03:25:15 +0000(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
belugas [Sat, 10 Mar 2007 03:25:15 +0000] rev 6604
(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.

Sat, 10 Mar 2007 00:30:18 +0000(svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus.
Darkvater [Sat, 10 Mar 2007 00:30:18 +0000] rev 6603
(svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus.

Sat, 10 Mar 2007 00:29:20 +0000(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
Darkvater [Sat, 10 Mar 2007 00:29:20 +0000] rev 6602
(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.