Age | Commit message (Collapse) | Author |
|
unneeded include from openttd.h.
|
|
|
|
|
|
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.
|
|
|
|
service in the station list too
|
|
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)
|
|
done in *allocT functions.
|
|
|
|
rename it fitting to the naming style
|
|
|
|
the remaining to fit with the naming style
|
|
remaining to fit with the naming style
|
|
style
|
|
cargos that are selected in the filter. Patch by divide.
|
|
typecast that can be avoided by using HASBIT instead.
Although the code is old (r2817), it is the recent changes made in macros.h that brough it up.
|
|
the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
|
cargo too.
|
|
windows that are smaller than the default window size.
|
|
(president) name
by index
|
|
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
|
issues. Thanks to benc for providing the patch.
|
|
using the goods sprite if really nothing is returned.
|
|
The end of the preliminary work is near
|
|
handler and custom icon sprites
|
|
incorrectly drawn if the cargo list was scrolled, resulting in overlapping images
|
|
CargoID loops.
|
|
station's cargo rating list. (And duff up the block a little)
|
|
std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
|
|
std::numeric_limits<uint32>::max() instead.
|
|
station list window.
|
|
fixes some warning that I never got anyway...
|
|
coding style (and rest of the code).
|
|
now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function
|
|
|
|
|
|
|
|
determining if a cargo is valid/active.
|
|
struct array (with accessor) and implement new initialization method using cargo labels.
|
|
|
|
all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
|
|
values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
|