Age | Commit message (Collapse) | Author |
|
|
|
missed :)
|
|
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
|
of _current_company to ensure proper restoration.
|
|
industry variables have been assigned, so more variables are valid during the callbacks.
|
|
callbacks 28 and 2F. (yexo)
|
|
consisted of unrelated values use static const (u)int
|
|
industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
|
|
callbacks and values of variables
|
|
and cancel object placement when selecting not available industries.
|
|
divisions with rounding.
|
|
generally extent it to handle 32 bits.
|
|
lots of industry types.
|
|
|
|
and caused NewGRF trouble.
|
|
|
|
Industry.
|
|
check a bit
|
|
|
|
not cause a crash.
|
|
|
|
DoCreateNewIndustry().
|
|
|
|
|
|
CreateNewIndustryHelper().
|
|
succeeded or failed command.
|
|
the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way
|
|
replaced by 'site unsuitable'.
|
|
CheckIfCallBackAllowsCreation().
|
|
CheckIfIndustryTilesAreFree().
|
|
|
|
CheckIfIndustryIsAllowed() and CheckIfFarEnoughFromIndustry().
|
|
available.
|
|
|
|
FindTownForIndustry().
|
|
generator.
|
|
|
|
|
|
incorrectly and in some cases circumvented the density difficulty setting.
-Change: Do not scale the number of industry creations during map creation with the number of available industry types.
-Feature: [NewGRF] Implement special industry flag 0x10000.
|
|
|
|
|
|
|
|
properly check for crossing north border of map. Also don't consider MP_VOID tiles as water.
|
|
also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured.
|
|
|
|
wrapper functions
|
|
if a header require a header make it include that header
|
|
when building a station could be incorrect (missing a cargo)
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
|
|
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|