Age | Commit message (Collapse) | Author |
|
from lots
of windows causing 'two stage' opening effect.
|
|
|
|
|
|
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
|
|
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
|
|
VehicleGroupWindow.
|
|
|
|
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
|
.cpp files where they are actually used.
|
|
Window.
|
|
declarations.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
argument can be either a Vehicle pointer or a VehicleID
|
|
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
|
|
|
Sir Bob.
|
|
operators.
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
instead of loading/unloading.
|
|
it more clear that they are no loading/unloading flags. Also add more type strictness.
|
|
|
|
|
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
|
|
openttd.h) to order_type.h.
|
|
while pressing the CTRL key. Patch by Phil Sophus.
|
|
vehicle name changed - cached name was not invalidated
|
|
was comparing two the same strings (when caching was not used)
|
|
timetable window
|
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
|
trains. Instead of trying to work it out again, just use the cached values...
|
|
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
|
constants
-Fix: refit button widget was not correctly updated
|
|
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
|
builder and (second?) vehicle list windows
|
|
a duplicate of ShowReplaceGroupVehicleWindow().
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
|
|
unneeded include from openttd.h.
|