Age | Commit message (Collapse) | Author |
|
the command. Checking for the length in pixels is impossible because that differs per client.
|
|
for stations, houses and industries
|
|
|
|
deletion of companies as the removal of a company could lead to wrong names in the news messages.
|
|
with all other structs/classes that are in a pool.
|
|
is queried for.
|
|
|
|
Removes indirect dependency on <string> and <map> for over 40 files
|
|
|
|
asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
|
|
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.
|