Age | Commit message (Collapse) | Author |
|
step-heights from BaseVehicleListWindow::DrawVehicleListItems().
|
|
|
|
|
|
DrawVehicleRefitWindow.
|
|
|
|
|
|
|
|
|
|
production callback version 0.
|
|
drawing.
|
|
DrawVehicleRefitWindow().
|
|
together in the view vehicle window.
|
|
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
|
|
|
|
|
|
|
|
|
STACKED_SELECTION_ZERO_SIZE widgets via UpdateWidgetSize
|
|
basque - 7 changes by Thadah
|
|
|
|
|
|
|
|
window to a separate function
|
|
bottom + 1, draw the string
|
|
for the content gui.
|
|
zeroing). Improves average CargoPacket con/destruction time by ~20%, MoveTo/Append by 5-10% and application performance by up to 2%.
|
|
pools, that is instead of 'free' push the unused items in a linked list and use them on 'malloc'. Also add the concept of zeroing, or actually not zeroing, on new for pool items.
|
|
|
|
|
|
'real' new CargoPackets and saveload. For saveload we do not need to set anything except two variables (the rest is always overwritten by the load), for new 'real' cargo also pass the source_xy; dereferencing st before calling is easier than resolving st->index back to st and then dereferencing. Also don't set loaded_at_xy because that is of no importance when not loaded in a vehicle.
|
|
|
|
ofcourse the index of the source station generally doesn't equal the location of said station.
|
|
for clicking.
|
|
|
|
smallmap to separate functions
|
|
when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
|
|
to minimap to separate functions
|
|
typo-ish fixes.
|
|
|
|
it static.
|
|
SmallMapWindow when pressed
|
|
Variable 0x09 should not.
|
|
calculation in autoreplace window.
|
|
to viewport_gui.cpp
|
|
|
|
traditional_chinese - 6 changes by josesun
indonesian - 1 changes by prof
|
|
|
|
to merge packets. Chances are higher that the last packet (in the FIFO-ish queue) is mergeable with the to be added package. If a train gets loaded packets get split up and put into the different carriages, at unload they are unloaded in the same order so the last in the FIFO-ish queue is likely the packet it can merge with.
This results in a 5-10% performance improvement of CargoList's Append/MoveTo without performance degradation of AgeCargo.
|
|
MakeSea and unduplicate the code to make sea, rivers and canals.
|
|
the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
|