Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
One question that keeps popping up: "when do we release 2.0?".
NewGRF will force that at least 1.16 will be 2.0, but to not wait
for this, let's drop the "1." and be for ever done with that
conversation.
We are following in the footstep of giants here.
|
|
|
|
Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable.
The list of loaded NewGRFs is easily accessible to a human player, and thus giving
scripts the same information is consistent with the current approach to not give scripts
more information than a human player.
|
|
|
|
CheckCompanyHasMoney() was also executed when not using DC_EXEC,
resulting in an error about shortage of money instead of the
estimation.
This mostly is a problem for AI players, as they will have no
way to know how much it would have cost.
|
|
cargo (#8544)
Of course this translates into AICargo.GetName() for AIs and
GSCargo.GetName() for GameScripts.
|
|
|
|
|
|
|
|
|
|
|
|
This allows GameScripts to shrink towns as well as grow them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type (#6988)
|
|
...with those from release 1.8 branch.
|
|
API addition which allows AI/GS scripts to retrieve the monthly maintenance cost of an airport type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
waiting cargo
|
|
|
|
|
|
station
|
|
|
|
|
|
|
|
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
|
|
rename towns
|
|
|
|
IsSnowTile work, i.e. the ones without infrastructure or buildings
-Feature: introduce GetTerrainType which allows one to get that information for tiles with buildings and infrastructure as well
|
|
between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
|