Age | Commit message (Collapse) | Author |
|
from the list.
|
|
|
|
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.
|
|
enumerators when we will never use
their type anyways.
|
|
instead of when started to drag
|
|
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
|
|
|
|
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
|
|
outside of window.c. This makes
it possible to programmatically resize windows specifying a delta x,y.
|
|
mode; sorry, should've tested.
|
|
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)
|
|
window instead of doing
some cruft yourself (and wrongly typing non-const as const).
|
|
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.
|
|
croatian - 110 fixed by knovak (110)
italian - 10 changed by sidew (10)
turkish - 15 fixed by jnmbk (15)
ukrainian - 8 fixed by znikoz (8)
|
|
|
|
chat message was for the wrong player (off by one)
|
|
window to unhighlight a vehicle in if there is a vehicle on the mouse pointer
|
|
orders from current orders (caused refit error popup when not having no orders)
|
|
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.
|
|
|
|
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
|
|
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
|
|
fifo-array was full. Update the
bound conditions of the loop, add an assert and also update _current_news when needed. (r3757)
|
|
s/MoveToNexItem/MoveToNextItem/.
|
|
around.
During this procedure the train is split into parts which can result in
incorrect images being used.
|
|
for once, and always notify the station the vehicle was present. (Maedhros)
|
|
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)
|
|
GetMaxVehicleIndex().
|
|
one selected, or the previous file if the last item is being removed. This makes clearing the list easier.
|
|
GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
|
|
some minor other things
|
|
decreaseIndex to loop through the
fifo-array-buffer, typo's.
|
|
(r3757).
|
|
the list
|
|
of other players.
|
|
|
|
For win32 do not use the
last font in the registry if no suitable font is found.
|
|
in all languages
|
|
|
|
of NewGRF settings.
|
|
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).
|
|
i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops
|
|
exclusively. Update action 7/9 now that we know if GRFs are disabled.
|
|
IsWindowWidget(Lowered|Hidden|Disabled)
|
|
-Codechange: check whether widget indices are valid for all the (Set|Is)WindowWidget(Disabled|Lowered|Hidden) and related functions.
|
|
reset for the default station.
|
|
when loading a game/scenario/heightmap.
|
|
|
|
savegames. Back up your savegames...
|
|
|