Age | Commit message (Collapse) | Author |
|
Town::GetRandom() and Industry::GetRandom()
|
|
_house_specs[]
|
|
|
|
town_type.h to separate files
|
|
|
|
and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
|
|
|
|
|
code style.
|
|
vehicles/stations/industries are deleted.
|
|
|
|
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
that we allow removing towns now, but better not have desync prone code lingering around)
|
|
PoolItem::IsValidID(index)
|
|
|
|
array (Yexo)
|
|
for testing town rating
|
|
transport 1 unit to the station.
|
|
to build towns near water by not discarding watery random tiles but by searching for near land (db48x)
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
are done
-Change: the requirements for location of 'random' town are now a bit less strict
|
|
|
|
number of towns, there were too many cities
|
|
|
|
|
|
sources too
|
|
|
|
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
|
|
contain a suitable location for a town.
|
|
when querying the cost of a command.
|
|
CalcClosestTownFromTile
|
|
pressing "Expand" in the town window in the scenario editor will no longer build roads.
|
|
would not be, even when they aren't allowed to build roads and the user 'implements' another layout.
|
|
assert(tile < MapSize()).
|
|
appropriate headers.
|
|
too long name funded a road reconstruction
|
|
|
|
some cases, or made decisions on the 'original' slope instead the slope after applying the foundation..
|
|
|
|
as that is what it does.
|
|
|
|
|
|
do not move more than one tile along the road.
|
|
TileIndexDiffs. But the test was not needed anyway, as those tiles were already tested in previous iterations.
|
|
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
|