Commit Graph

5298 Commits

Author SHA1 Message Date
Darkvater
37b4075385 (svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron) 2006-12-09 10:57:05 +00:00
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)
2006-12-09 10:56:12 +00:00
rubidium
80c80c6db1 (svn r7448) -Fix (r5794): use the height of the edge of the map for effect vehicles that are outside the map. 2006-12-09 08:37:15 +00:00
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)
2006-12-09 06:57:22 +00:00
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.
2006-12-09 00:46:02 +00:00
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.
2006-12-09 00:41:25 +00:00
Darkvater
259967a78c (svn r7444) -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food
colour to pink everywhere (fixes FS#303)
2006-12-09 00:37:02 +00:00
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)
2006-12-08 20:00:13 +00:00
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) 2006-12-08 19:57:38 +00:00
peter1138
f64a3d180b (svn r7437) -Fix (r4583): incorrect minimum size check in some cases for VarAction2 2006-12-08 19:35:13 +00:00
peter1138
08e02d574f (svn r7436) -Codechange: Add action7/9/D variable 0x9A (-1) 2006-12-08 19:12:43 +00:00
Darkvater
ee458a1858 (svn r7435) -Fix (r7418): Add proper tooltips to the manage list button instead of the sort tip 2006-12-08 18:56:39 +00:00
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)
2006-12-08 17:40:42 +00:00
peter1138
9e68c9b87f (svn r7433) -Fix (r2301): Town ratings were not reset when a company went bankrupt. 2006-12-08 12:31:34 +00:00
belugas
a999104645 (svn r7432) -Fix(r7413) : The NO(cargo waiting) button of the StationList Window is now part of the cargo selection scheme. Again. 2006-12-08 02:25:04 +00:00
peter1138
fefb819f84 (svn r7431) -Fix (r7418): GUI glitch when viewing other player's vehicle lists: bottom panel continued behind resize button. 2006-12-07 22:31:20 +00:00
KUDr
d086e6daed (svn r7429) -Remove: [YAPF] yapf.txt no longer valid/needed 2006-12-07 21:30:18 +00:00
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.
2006-12-07 21:21:02 +00:00
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.
2006-12-07 18:58:20 +00:00
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)
2006-12-07 18:37:05 +00:00
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. 2006-12-07 14:44:26 +00:00
Darkvater
1001bdcd9a (svn r7420) -[lang] Dammit, there are too many language files, missed some from the list. 2006-12-07 14:37:54 +00:00
Darkvater
92b02f42f2 (svn r7419) -[lang] Fix up the language files after r7418 2006-12-07 14:35:16 +00:00
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.
2006-12-07 14:03:55 +00:00
Darkvater
616028a453 (svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use
their type anyways.
2006-12-07 13:00:41 +00:00
Darkvater
6049734c06 (svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag 2006-12-07 12:57:53 +00:00
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
2006-12-07 04:12:29 +00:00
Darkvater
90f7419681 (svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others 2006-12-07 00:54:18 +00:00
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
2006-12-07 00:51:20 +00:00
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.
2006-12-07 00:47:35 +00:00
Darkvater
2dabe7ec0f (svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested. 2006-12-06 19:28:25 +00:00
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)
2006-12-06 19:04:27 +00:00
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).
2006-12-06 17:31:16 +00:00
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.
2006-12-06 17:28:14 +00:00
miham
dbe33c7ae6 (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)
2006-12-06 11:16:02 +00:00
miham
3c80ced19c (svn r7392) [Translations] Added Esperanto language 2006-12-06 07:57:02 +00:00
glx
234311c637 (svn r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one) 2006-12-06 02:03:55 +00:00
bjarni
eaa5af4f5c (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 2006-12-06 00:03:24 +00:00
bjarni
1f02a49721 (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) 2006-12-05 23:57:04 +00:00
Darkvater
f2a70e3e26 (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.
2006-12-05 23:37:04 +00:00
KUDr
0e10e86137 (svn r7387) -Fix: czech lang file compilation error 2006-12-05 23:32:15 +00:00
bjarni
666abc0e15 (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
2006-12-05 22:59:42 +00:00
bjarni
d15a4d7523 (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
2006-12-05 22:40:42 +00:00
Darkvater
6d54dcdd24 (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)
2006-12-05 22:35:25 +00:00
Darkvater
3beb23e1c6 (svn r7383) -Codechange: fix up typo in news-gui s/MoveToNexItem/MoveToNextItem/. 2006-12-05 22:31:10 +00:00
peter1138
4d5535bc54 (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.
2006-12-05 20:22:14 +00:00
peter1138
55dc2fbbef (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) 2006-12-05 17:53:33 +00:00
miham
3e6d57d53b (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)
2006-12-05 17:09:57 +00:00
matthijs
e208c15059 (svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex(). 2006-12-05 16:41:13 +00:00
peter1138
96fdda5c73 (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. 2006-12-05 14:18:58 +00:00