Age | Commit message (Collapse) | Author |
|
functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
|
|
landscape types.
|
|
climate, supplied
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
|
|
coding style (and rest of the code).
|
|
|
|
entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now.
|
|
Replace SetSpeedLimitOnBridge() by something simpler
|
|
files with the @file tag as well as a few general comments style
|
|
Remove {,u}intswap() and replace them by Swap()
|
|
template functions. Fixes a problem with MSVC and 64-bit shifts.
|
|
road vehicles with enums. Original patch by mart3p.
|
|
|
|
|
|
the top. (Based on a patch by gigajum)
- The replacement bridge must be the same transport type, and if it's a rail bridge it must have the same railtype.
- Town owned bridges can also be upgraded, but only to a bridge with a higher top speed.
|
|
Slightly simplify the code which determines whether to build a rail or a road bridge
|
|
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.
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|