Age | Commit message (Collapse) | Author |
|
|
|
|
|
items. While
here have a little go at the MenuWndProc() function for a little cleanup.
|
|
toolbar. So
normally they will start at the left side of the parent button except when
they would stick out, then align with the top toolbar's right side. This
also means the extra parameter 'x' is not needed, it is deducted from the
widget position.
|
|
on the length of the strings in that list.
|
|
GetStringBoundingBox SETX and
SETXY parameters were wrongly accounted for. The identifier itself was taken
not the amount.
|
|
loaded GRF files.
|
|
and use the first available cargo type instead of only the default.
|
|
hotkey 'A'
|
|
The search would loop
around the edges causing some troubles. Also make sure that the land after
farm removal is not barren but 2/3rd grass. Better suited.
|
|
order is a transfer order, rather than to any unload order. This fixes an issue where the AI doesn't know that a route is unprofitable.
|
|
position instead of plain EngineID. This brings us back the custom order that was lost when generalized sorting was introduced.
|
|
use with sorting. This is basically a reversed version of GetRailVehAtPosition()
|
|
|
|
catalan - 12 changed by arnaullv (12)
estonian - 13 fixed by vermon (13)
finnish - 179 fixed, 13 changed by kerba (192)
|
|
catalan - 17 changed by arnaullv (17)
galician - 11 fixed, 7 changed by Condex (18)
greek - 1 deleted, 1 changed by gonik (2)
polish - 1 changed by meush (1)
turkish - 6 fixed by jnmbk (6)
|
|
behave as normal placement buttons, and not as push buttons.
|
|
grf set with a buildable helicopter with a lower EngineID than the first buildable plane
Also removed a lot of const cast as they mess up the code and didn't help much
|
|
could read from a NULL pointer
|
|
|
|
(mainly by peter1138)
Now both names are checked against the cache (instead of just one of them) and we got rid of some global vars
|
|
{STRING} in english.txt
|
|
|
|
|
|
to a file of it's own
Also made some changes to it so it should be easier to unify all the build vehicle windows
|
|
localization.
|
|
american - 9 fixed by WhiteRabbit (9)
catalan - 3 changed by arnaullv (3)
danish - 2 fixed, 67 changed by ThomasA (69)
dutch - 1 fixed by habell (1)
estonian - 27 fixed by t2t2 (27)
galician - 11 fixed by Condex (11)
spanish - 8 fixed, 2 changed by eusebio (10)
|
|
var, that's already 0
|
|
type
-Fix r6513: [depot window] fixed incorrect line height for large ships
-Fix r6513: [depot window] fixed incorrect resizing of the sell button
|
|
use it from there.
|
|
mistake in the widget names (the game itself is unaffected by this)
|
|
marked dirty when getting a WE_INVALIDATE_DATA event
This will make the windows mark dirty again when a new vehicle is available or one is removed from the list (again)
|
|
InvalidateWindowData() in rail_cmd.c
Moved the actual modification of railtype to WE_INVALIDATE_DATA in the train depot handler
-Codechange: added SetWindowDirty() to WE_INVALIDATE_DATA as it made no sense to update the list without making the window dirty
|
|
catalan - 7 fixed by arnaullv (7)
danish - 12 fixed by ThomasA (12)
dutch - 8 fixed by webfreakz (8)
hungarian - 9 fixed by miham (9)
italian - 9 fixed by sidew (9)
polish - 7 fixed by meush (7)
swedish - 20 fixed by daishan (20)
|
|
used for all vehicle types
|
|
catalan - 14 fixed by arnaullv (14)
estonian - 45 fixed by vermon (45)
french - 9 fixed, 9 changed by glx (18)
galician - 3 fixed by Condex (3)
german - 1 fixed by Neonox (1)
polish - 1 fixed, 2 changed by meush (3)
spanish - 1 fixed by eusebio (1)
ukrainian - 26 fixed by znikoz (26)
|
|
to trailing empty blocks in the list array
Since they were freed with the rest of the array, it only meant that we wasted a few bytes (max 16) while the window were open and we didn't leak memory
|
|
-Fix r6707: solved an issue where scrollcount was not always set correctly
|
|
propeller planes, jet planes or helicopters
-Codechange: the build aircraft window now generates 3 malleced lists and displays based on those list
This is preparation for sorting aircraft
|
|
|
|
vehicle type
|
|
stopped and the player gets a message (like vehicle stopped in depot)
This should prevent a vehicle from failing to be refitted and then show up and block a station with full load.
In such a case, it's better to stop in a depot (that will not stop any other vehicles) and notify the owner
|
|
against CT_NO_REFIT to checks for valid cargo IDs
This should prevent any bugs made by mixing up CT_NO_REFIT and CT_INVALID
|
|
drop downs when there are no companies
|
|
mentioned there)
-Now refit orders are copied when copying orders
-Fixed an initilation issue where CT_INVALID was used instead of CT_NO_REFIT (resulted in crashes in the order window)
-Fixed a compiler warning in the function to load TTD savegames
|
|
is not refitable or not stopped in a depot
|
|
american - 12 fixed by WhiteRabbit (12)
danish - 7 fixed by ThomasA (7)
dutch - 12 fixed by webfreakz (8), habell (4)
estonian - 13 fixed, 2 changed by vermon (15)
french - 6 fixed by belugas (6)
german - 6 fixed by Neonox (6)
polish - 7 fixed, 10 changed by meush (17)
slovak - 12 fixed, 2 changed by lengyel (14)
spanish - 6 fixed by eusebio (6)
|
|
want to get the road bits under a bridge (thanx hylje)
|
|
before... doing anything with them. (Thanks to MeusH for pointing this out...)
|
|
refit window
This was actually not a bug from unifying this window as it was incorrect even before they were merged
|