Age | Commit message (Collapse) | Author |
|
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)
|
|
|
|
type 'bool' in operation
|
|
list for other players. Patch by SmatZ.
|
|
enumified constants.
|
|
Based on a patch by nycom.
|
|
functions. Based on patches by skidd13, SmatZ and Belugas.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
a depot.
|
|
|
|
windows that are smaller than the default window size.
|
|
vehicle list, not station or shared order lists.
|
|
(president) name
by index
|
|
|
|
better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
|