Age | Commit message (Collapse) | Author |
|
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.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
|
|
when it's not necessary.
|
|
|
|
single location.
|
|
that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
|
|
useless includes.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
their respective places.
|
|
|
|
|
|
and making it more logic where function definitions can be found.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
assert when it overflows anyway (eg. code change without proper check change)
|
|
|
|
style
|
|
course be 'static inline bool' (SmatZ)
|
|
a macro (skidd13)
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
showed this one)
|
|
vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
|
|
|