Age | Commit message (Collapse) | Author |
|
time, binary size and run time (with asserts disabled) should be improved
|
|
variable instead of var->index
|
|
|
|
with < .. - 1 (both caused due to wrapper functions)
|
|
that we allow removing towns now, but better not have desync prone code lingering around)
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
for testing town rating
|
|
define proper additional tiles. (instead of crashing later)
|
|
were incorrect after 0xFF had been reached and could desync clients joining afterwards.
|
|
|
|
generated in the generate world window to be customized.
Some warnings:
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
|
|
|
|
CalcClosestTownFromTile
|
|
appropriate headers.
|
|
|
|
|
|
|
|
town a bit more readable
|
|
|
|
road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
|
|
therefore it does not belong in _gui.
|
|
'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
|
|
|
|
|
|
depots, industries, towns and waypoints
|
|
constants and use the proper type for a few variables.
|
|
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
named typedefs and replace a few magic numbers.
|
|
is queried for.
|
|
|
|
really year, not date
|
|
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.
|
|
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
|
|
|
|
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.
|
|
so it uses less memory.
|
|
towns.
|
|
bit of coding style
|
|
town
|
|
descriptive
|
|
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)
|