Commit Graph

5314 Commits (f9f6b5f341b8b296e58fa33a719bfd1ede5ebd05)
 

Author SHA1 Message Date
peter1138 f9f6b5f341 (svn r7469) -Fix (r7348): NewGRF settings weren't loaded in cases. 18 years ago
Darkvater bde8e9ee44 (svn r7468) -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)
18 years ago
Darkvater f0e1f9842d (svn r7467) -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.
18 years ago
Darkvater e3d94c6e12 (svn r7466) -Cleanup: [win32] Coding style, indentation, variable localization. 18 years ago
peter1138 bf3b850c53 (svn r7465) -Codechange: Save the default GRF configuration. 18 years ago
peter1138 f27cc51674 (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
18 years ago
peter1138 4ac40e64c1 (svn r7463) -Codechange: Don't load invalid NewGRF files from the configuration file; instead show a warning. 18 years ago
glx 1edad40e4e (svn r7462) -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 18 years ago
Darkvater 6c3590338c (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 18 years ago
Darkvater 533034780b (svn r7460) -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.
18 years ago
glx ba0051175f (svn r7459) -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
18 years ago
miham 8c64e004ad (svn r7458) 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)
18 years ago
miham 937f9b0595 (svn r7457) 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)
18 years ago
miham f4ee33ddb2 (svn r7456) [Namegen] Fixed hungarian characters in namegen as well 18 years ago
rubidium fba426dc06 (svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time. 18 years ago
rubidium af5c73c12e (svn r7451) -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.
18 years ago
Darkvater 37b4075385 (svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron) 18 years ago
Darkvater 1422f6a17a (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
18 years ago
rubidium 80c80c6db1 (svn r7448) -Fix (r5794): use the height of the edge of the map for effect vehicles that are outside the map. 18 years ago
miham 24e962d0c5 (svn r7447) WebTranslator2 update to 2006-12-09 07:56:50
brazilian_portuguese - 8 fixed by tucalipe (8)
catalan    - 159 changed by arnaullv (159)
18 years ago
Darkvater 0fabe8f8ef (svn r7446) -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.
18 years ago
Darkvater 8559b4e726 (svn r7445) -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.
18 years ago
Darkvater 259967a78c (svn r7444) -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food
colour to pink everywhere (fixes FS#303)
18 years ago
miham 711ff73c60 (svn r7439) 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)
18 years ago
miham 4102758e99 (svn r7438) [Translations] Manually transformed previously supressed hungarian chars to proper ones (they were previously suppressed because they did not fit into iso8859-15) 18 years ago
peter1138 f64a3d180b (svn r7437) -Fix (r4583): incorrect minimum size check in some cases for VarAction2 18 years ago
peter1138 08e02d574f (svn r7436) -Codechange: Add action7/9/D variable 0x9A (-1) 18 years ago
Darkvater ee458a1858 (svn r7435) -Fix (r7418): Add proper tooltips to the manage list button instead of the sort tip 18 years ago
miham 1a69a31e5d (svn r7434) 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)
18 years ago
peter1138 9e68c9b87f (svn r7433) -Fix (r2301): Town ratings were not reset when a company went bankrupt. 18 years ago
belugas a999104645 (svn r7432) -Fix(r7413) : The NO(cargo waiting) button of the StationList Window is now part of the cargo selection scheme. Again. 18 years ago
peter1138 fefb819f84 (svn r7431) -Fix (r7418): GUI glitch when viewing other player's vehicle lists: bottom panel continued behind resize button. 18 years ago
KUDr d086e6daed (svn r7429) -Remove: [YAPF] yapf.txt no longer valid/needed 18 years ago
belugas 4b95605807 (svn r7428) -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.
18 years ago
peter1138 a90642f135 (svn r7425) -Fix (r1681): With realistic acceleration, guarantee a minimum braking
force is applied. This ensures trains will stop when going down hill.
18 years ago
miham 23d3d9b497 (svn r7424) 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)
18 years ago
peter1138 339a697c8a (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. 18 years ago
Darkvater 1001bdcd9a (svn r7420) -[lang] Dammit, there are too many language files, missed some from the list. 18 years ago
Darkvater 92b02f42f2 (svn r7419) -[lang] Fix up the language files after r7418 18 years ago
Darkvater 84c36a481c (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.
18 years ago
Darkvater 616028a453 (svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use
their type anyways.
18 years ago
Darkvater 6049734c06 (svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag 18 years ago
belugas 5b4d3daf0e (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
18 years ago
Darkvater 90f7419681 (svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others 18 years ago
Darkvater 509a179676 (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
18 years ago
Darkvater 7e23667bbe (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.
18 years ago
Darkvater 2dabe7ec0f (svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested. 18 years ago
miham 69e1da096a (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)
18 years ago
Darkvater c1a0e2e39f (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).
18 years ago
Darkvater 3807e914e8 (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.
18 years ago