Age | Commit message (Collapse) | Author |
|
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
|
|
|
|
really year, not date
|
|
tile where search has been successful, or INVALID_TILE if it has not
|
|
|
|
without asserts
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
|
|
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
|
|
tile-info-window.
|
|
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
|
|
quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.
|
|
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
|
|
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
|
|
stations.
|
|
|
|
okay (or lines starting with a space and then tabs).
|
|
operators.
|
|
place to a single location.
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
|
|
towns.
|
|
tile of multi-tile houses to decide if autoslope is allowed.
|
|
compiler's decisions about inlining
|
|
Patch by Roujin.
|
|
prices enough
|
|
|
|
examine stations
|
|
bit of coding style
|
|
instead of transparent
|
|
town
|
|
descriptive
|
|
(especially because newgrf_station.h includes a lot of stuff).
|
|
station_func.h.
|
|
|
|
computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
|
|
when compiling with assert disabled
|
|
GetTileTrackStatus().
|
|
there can be less checks in pathfinders for depots/stations/tunnels/bridges
|
|
another town
|
|
should be road (with 2x2, 3x3 grid town layouts)
|
|
BuildTownHouse()
|
|
build at given tile
-Fix: houses with zero probability could be built
|
|
any buildings anyway
-Fix: allow building 2x2 building on slopes if not explicitly forbidden
-Fix: it was possible to build 2x1 and 1x2 buildings on slopes even if it was not allowed
|