Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-15 | (svn r18811) -Fix (r18803): also swap the parameters for the AI API | rubidium | |
2010-01-15 | (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵ | rubidium | |
if a header require a header make it include that header | |||
2010-01-15 | (svn r18807) -Codechange: introduce AirportSpec and move several ↵ | yexo | |
non-statemachine-related variables to there | |||
2010-01-11 | (svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has ↵ | rubidium | |
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. | |||
2010-01-11 | (svn r18784) -Codechange: make NetworkSend_Command accept a company instead ↵ | rubidium | |
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. | |||
2010-01-11 | (svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵ | rubidium | |
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. | |||
2010-01-10 | (svn r18777) -Codechange: remove some unused parameters from a function | rubidium | |
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-04 | (svn r18721) -Codechange: simplify adding/removing rectangles of tiles from ↵ | rubidium | |
AITileLists | |||
2010-01-04 | (svn r18719) -Feature: don't delete the rough/rocky status of a tile when ↵ | yexo | |
it's covered by snow, this allows rocky tiles under snow if you have a variable snowline | |||
2010-01-04 | (svn r18718) -Codechange: make a wrapper macro for looping TileAreas | rubidium | |
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 FindStationsAroundTiles | rubidium | |
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 other | rubidium | |
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 changes | rubidium | |
2009-12-20 | (svn r18562) -Document: improve clarity of the AIAccounting class | rubidium | |
2009-12-20 | (svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice | smatz | |
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 constants | smatz | |
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 includes | rubidium | |
2009-11-26 | (svn r18299) -Update: the ai changelog document | rubidium | |
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.awk | smatz | |
2009-10-04 | (svn r17693) -Cleanup: remove some unneeded includes | rubidium | |
2009-10-04 | (svn r17692) -Codechange: minor coding style fixes | smatz | |
2009-09-23 | (svn r17627) -Document [FS#3216]: The remaining functions in info.nut | yexo | |
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.hpp | rubidium | |
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 |