summaryrefslogtreecommitdiff
path: root/bin/ai
AgeCommit message (Collapse)Author
2010-04-17(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so ↵frosch
generally extent it to handle 32 bits.
2010-04-09(svn r19591) -Add: [NoAI] AIRail::GetMaxSpeed(RailType) to get the speed ↵yexo
limit of railtypes
2010-03-06(svn r19349) -Add: [NoAI] AIs can get the power, weight and tractive effort ↵terkhen
of a road vehicle.
2010-02-28(svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and ↵frosch
add IsEnd() instead.
2010-02-28(svn r19293) -Fix [FS#3566]: Some methods of AIAbstractList left invalid ↵frosch
iterators.
2010-02-24(svn r19231) -Feature: Allow overbuilding of road stops.terkhen
2010-02-16(svn r19143) -Codechange: trunk's going for 1.1 now.rubidium
2010-02-04(svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop ↵yexo
location of trains in a rail station
2010-01-29(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several ↵yexo
classes to get easier cost estimations before you start building
2010-01-29(svn r18950) -Fix: make sure the values of settings loaded from a savegame ↵yexo
are valid
2010-01-04(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text ↵rubidium
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.
2010-01-04(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and ↵frosch
AIWaypoint::HasWaypointType(). -Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys. -Remove: [NoAI] AIBuoyList.
2010-01-02(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a ↵yexo
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.
2009-12-23(svn r18622) -Merge: release changesrubidium
2009-12-16(svn r18519) -Codechange: Improve regression tests for AIOrderyexo
2009-12-14(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a ↵yexo
duplicate or AIOrder.SkipToOrder
2009-11-24(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return ↵frosch
-1, if the industry is neither buildable nor prospectable.
2009-11-24(svn r18275) -Fix (r18266): Need to update regression due to different rounding.frosch
2009-09-20(svn r17591) -Add [NoAI] [FS#3212]: ↵yexo
AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
2009-09-08(svn r17471) -Change: when removing a station or waypoint keep the rail ↵rubidium
unless Ctrl is pressed. This makes the behaviour consistent between the two.
2009-09-07(svn r17469) -Change: make the AI compatability wrapper not whine about ↵rubidium
deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7.
2009-09-06(svn r17434) -Update (r17433): The regression needs a new trick to not ↵frosch
become bankrupt.
2009-08-27(svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as ↵smatz
documented at all, make it return what AITown::GetLastMonthProduction did -Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-26(svn r17289) -Fix (r17214): for AIs it's STATION_INVALID, not INVALID_STATIONyexo
2009-08-18(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. ↵yexo
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api. -Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
2009-08-08(svn r17115) -Add [NoAI]: AISubsidy::SubsidyParticipantType, ↵smatz
AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management -Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
2009-08-06(svn r17091) -Fix (r17089)(r17090): regression test was rightsmatz
2009-08-06(svn r17090) -Fix (r17089): regression test failed (frosch123)smatz
2009-07-31(svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDINGyexo
2009-07-30(svn r16997) -Fix (r16985): forgot to update regressionyexo
2009-06-17(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoysyexo
2009-05-28(svn r16456) -Fix (r16429): forgot to update regression testyexo
2009-05-23(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of ↵yexo
valid signs. This makes AISign::GetMaxSignID obsolete.
2009-05-16(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI ↵yexo
companies to the default values, not to 0 or the local settings
2009-05-10(svn r16271) -Fix (r16264) [NoAI]: make regression failedsmatz
2009-05-07(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost ↵yexo
of an airport
2009-04-26(svn r16166) -Add [NoAI]: AITile::Get(Min|Max|Corner)Heightfrosch
2009-03-30(svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and ↵frosch
HasDock(). Just like AIIndustry.
2009-03-28(svn r15875) -Add: AIBridge::GetBridgeID() so AIs can get the type of bridge ↵yexo
that are already build.
2009-03-26(svn r15860) -Add: AIRoad::GetRoadVehicleTypeForCargo() to tell whether a ↵frosch
certain cargo needs a bus- or a truckstop.
2009-03-15(svn r15730) -Fix (r15727): regression wasn't updated.rubidium
2009-03-04(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to ↵yexo
AIOrder::SetOrderFlags().
2009-03-01(svn r15597) -Fix (r15563): regression wasn't updated after the removal of ↵rubidium
AIIndustry::GetMaxIndustryID().
2009-02-21(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, ↵frosch
which cannot accept CT_INVALID. -Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them. -Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection. -Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'. Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects. Note: It is intentional that you cannot control refittability by CB 36.
2009-02-19(svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and ↵yexo
AIEngine::GetMaxTractiveEffort.
2009-02-14(svn r15494) -Change [API CHANGE]: Split AIRoad::BuildRoadStation in ↵yexo
BuildRoadStation and BuildDriveThroughRoadStation.
2009-02-14(svn r15493) -Fix (r15486): Forgot to update regression.yexo
2009-02-14(svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon ↵yexo
and MoveWagonChain (frosch).
2009-02-14(svn r15491) -Change [API CHANGE]: AIMarine::BuildWaterDepot now accepts a ↵yexo
front tile instead of a bool is_vertical (frosch).