Age | Commit message (Collapse) | Author |
|
classes to get easier cost estimations before you start building
|
|
Only settings with the AICONFIG_INGAME flag can be editted in this way
|
|
|
|
|
|
non-waypoint tile when the waypoint was a multitile waypoint
|
|
wrapper functions
|
|
station
|
|
|
|
if a header require a header make it include that header
|
|
non-statemachine-related variables to there
|
|
several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
|
|
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
|
|
whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
|
|
|
|
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.
|
|
AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
|
|
AITileLists
|
|
it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
|
|
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
|
|
|
tiles with trees on them.
|
|
AIWaypoint
|
|
certain engine.
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
|
|
|
|
destination of a 'nearest depot' order
|
|
NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
|
|
|
|
|
|
|
|
structs having different definition in different object files
|
|
|
|
for eg. 64bit systems, don't use them
|
|
depot orders
|
|
duplicate or AIOrder.SkipToOrder
|
|
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
|
|
|
|
|
|
-1, if the industry is neither buildable nor prospectable.
|
|
|
|
including of newgrf_cargo.h
|
|
(AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
|
|
|
|
refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API.
|
|
EngineInfo::refit_mask during initialisation.
|
|
squirrel wrapper code
|
|
|
|
|
|
|
|
|