summaryrefslogtreecommitdiff
path: root/bin/ai
AgeCommit message (Collapse)Author
2010-08-07(svn r20403) -Fix (r20399): forgot to update regressionyexo
2010-08-07(svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 ↵yexo
possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
2010-07-16(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as ↵rubidium
"base" unit for aircraft speeds
2010-07-16(svn r20162) -Fix [FS#3954]: integer comparison failed in case the ↵rubidium
difference was more than "MAX_UINT"/2
2010-07-09(svn r20103) -Fix [FS#3934]: AITown::GetRating() returned wrong values. ↵frosch
(Morloth)
2010-05-23(svn r19887) -Fix (r19881): Update regression.frosch
2010-05-22(svn r19880) -Fix: [NoAI] AIEngine::IsValidEngine() and ↵frosch
AIEngine::IsBuildable() returned false positives. Especially wagons of unavailable railtypes were reported available.
2010-05-09(svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex)yexo
2010-04-25(svn r19728) -Fix (r19720, r19721): Update regression test due to different ↵terkhen
costs.
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.