summaryrefslogtreecommitdiff
path: root/src/ai/api
AgeCommit message (Collapse)Author
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTilesrubidium
2010-01-03(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast ↵yexo
tiles with trees on them.
2010-01-02(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to ↵yexo
AIWaypoint
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.
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-12-30(svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order ↵rubidium
destination of a 'nearest depot' order
2009-12-28(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create ↵smatz
NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
2009-12-23(svn r18622) -Merge: release changesrubidium
2009-12-20(svn r18562) -Document: improve clarity of the AIAccounting classrubidium
2009-12-20(svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twicesmatz
2009-12-19(svn r18557) -Fix: (most of) gcc errors when using lto caused by some ↵smatz
structs having different definition in different object files
2009-12-19(svn r18556) -Fix (r17005): squirrel export didn't accept negative constantssmatz
2009-12-19(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong ↵smatz
for eg. 64bit systems, don't use them
2009-12-16(svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest ↵yexo
depot orders
2009-12-14(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a ↵yexo
duplicate or AIOrder.SkipToOrder
2009-12-12(svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen ↵frosch
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-26(svn r18299) -Update: the ai changelog documentrubidium
2009-11-24(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return ↵frosch
-1, if the industry is neither buildable nor prospectable.
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-28(svn r17898) -Fix: [NoAI] Improve behaviour of ↵frosch
(AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
2009-10-06(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.frosch
2009-10-05(svn r17719) -Change: [NoAI] Make AIEngine:CanRefitCargo() not report ↵frosch
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.
2009-10-04(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into ↵frosch
EngineInfo::refit_mask during initialisation.
2009-10-04(svn r17697) -Codechange: coding style in the automatically generated ↵rubidium
squirrel wrapper code
2009-10-04(svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awksmatz
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-09-23(svn r17627) -Document [FS#3216]: The remaining functions in info.nutyexo
2009-09-23(svn r17621) -Document [FS#3216]: most of the functions an AI can/must use ↵rubidium
in their instantiation of AIInfo.
2009-09-20(svn r17593) -Fix (r17591): as always after a noai commit ...yexo
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-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did ↵rubidium
work though
2009-09-13(svn r17531) -Fix: wrong @file for ai_basestation.hpprubidium
2009-09-11(svn r17500) -Fix (r16502): The wrong value was restored to ↵yexo
SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
2009-09-10(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' ↵rubidium
with GetDepotIndex(tile)
2009-09-09(svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to ↵rubidium
a specific depot
2009-09-09(svn r17484) -Fix: squirrel export didn't like one of the castsrubidium
2009-09-08(svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelogsmatz
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-07(svn r17446) -Codechange: rename BUILD with BUY for strings that are about ↵rubidium
building (in the future buying) vehicles.
2009-09-04(svn r17414) -Codechange: only send/read the number of bits that can be ↵rubidium
actually useful when building industries
2009-09-03(svn r17411) -Codechange: silence an ICC compile warningrubidium
2009-09-02(svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned ↵yexo
false for stations with OWNER_NONE
2009-09-02(svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether ↵yexo
their parameters were valid