Age | Commit message (Collapse) | Author |
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
|
|
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
|
|
|
|
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
|
|
instead of using specific indexes each time.
-Codechange: Minor scope changes in said loops.
|
|
there were any tram grfs loaded
|
|
YAPF failed for steep slopes.
Trolly failed for a lot.
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
unneeded include from openttd.h.
|
|
|
|
structs to a place where they are only included a few times.
|
|
needed.
|
|
useless includes.
|
|
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
their respective places.
|
|
|
|
r11642
|
|
bridge_map.h into tunnelbridge_map.h
|
|
order.h too
|
|
style
|
|
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
|
used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
|
|
|
|
negation was needed. Patch by frosch.
|
|
"road" everywhere except in the tile type.
|
|
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
|
|
|
|
|
|
used wrong tileh in some cases (frosch)
|
|
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.
|
|
easily modified.
|
|
|
|
|
|
|
|
not telling "last_mo_production" when it is the production of the current month).
|
|
when clicking on the "skip" button while pressing CTRL.
|
|
the roadbits are.
|
|
|
|
be found in the industry spec, so take it from there instead.
|
|
|
|
coding style (and rest of the code).
|
|
|
|
template functions. Fixes a problem with MSVC and 64-bit shifts.
|
|
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
|
|
|
|
|