Age | Commit message (Collapse) | Author |
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
openttd.h) to group_type.h.
|
|
dropdown widget
|
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
input, depot/group window wasn't updated (original patch by GrimRC)
|
|
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
|
|
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
|
vehicle, group vehicle list and station list.
|
|
ungrouped is not technically a valid group, and ensure dropdown is removed
on any click in the window.
|
|
dynamically, and assign an enum for the function return codes.
|
|
the dropdown text/button. Other times is not needed and caused a double free.
|
|
selected group is deleted by another player.
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
|
|
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.
|
|
|
|
it was opened
|
|
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.
|
|
done in *allocT functions.
|
|
removing the last group
|
|
|
|
|
|
same manner as others do.
|
|
when the all vehicles are removed from the "current" group.
|
|
WindowHighlightMode constants. Patch by SmatZ.
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
list for other players. Patch by SmatZ.
|
|
a depot.
|
|
|
|
colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
|
|
shortcut when being a spectator.
|
|
IsValidVehicle(vehicle).
|
|
Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach.
|
|
windows that are smaller than the default window size.
|
|
Matthias Wolf.
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|
|
(president) name
by index
|
|
Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
|