Age | Commit message (Collapse) | Author |
|
|
|
|
|
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
|
|
put 'break' after switch statements)
|
|
brazilian_portuguese - 6 fixed by tucalipe (6)
german - 6 fixed by chu (6)
hungarian - 6 fixed by miham (6)
icelandic - 2 changed by scrooge (2)
italian - 12 fixed by sidew (12)
norwegian - 7 fixed by jhsoby (7)
spanish - 6 fixed by eusebio (6)
|
|
|
|
horizontal scroll bar twice...
|
|
|
|
|
|
danish - 7 fixed, 44 changed by ThomasA (51)
french - 6 fixed by glx (6)
hungarian - 6 fixed by miham (6)
polish - 6 fixed by meush (6)
|
|
reliability instead of the lowest to make them useful even when old
-Fix: when retiring an engine design, invalidate the build windows and invalidate the build window data
-Fix: mark build windows dirty when engine reliability changes
|
|
when the window data is invalidated or the window is generated, not on each redraw
|
|
or both in the display
-Codechange: [train build window] to get rid of a really ugly hack, the train build list is now generated in one loop and stored in an array
|
|
names and fixed some incorrect indents
|
|
correct cache in the depot window
Nobody had problems so far, so we can assume that InvalidateWindowData() is used everywhere where it's needed
The check is just disabled, not deleted so it's quick to reenable if we change some code and wants to check this again
|
|
in shared orders and station lists
|
|
bulgarian - 17 fixed by kokobongo (17)
norwegian - 76 fixed, 511 changed by jhsoby (587)
slovak - 46 fixed by lengyel (46)
spanish - 3 fixed by eusebio (3)
|
|
access in widget arrays)
|
|
calculate max number of vehicles in a row with a simple read of the matrix grid
|
|
SetWindowWidgetsDisabledState() and SetWindowWidgetsHiddenState() to depot and vehicle windows
|
|
|
|
widgets, not hide them
|
|
multiple widgets in one call
|
|
in the depot window
|
|
don't use it to store data; instead, just get the widget's width.
|