summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-15(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs ↵yexo
can't crash OpenTTD
2009-07-10(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current ↵yexo
reliability of vehicles
2009-07-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-07-10(svn r16783) -Change: make it more clear that the squirrel_export script ↵rubidium
needs gawk.
2009-07-09(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.alberth
2009-07-08(svn r16772) -Fix [FS#3019]: don't use the same error message for turning ↵rubidium
around road vehicles and flipping parts of trains in the depot
2009-07-08(svn r16771) -Fix: API export was forgotten causing API to think variables ↵rubidium
were uint; doesn't matter much as int was converted to uint and then back.
2009-07-08(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance ↵yexo
didn't accept a radius of 0 anymore
2009-07-04(svn r16738) -Codechange: Remove casting away constness by changing the text ↵alberth
before storing.
2009-07-03(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when ↵yexo
st->xy != st->airport_tile.
2009-07-02(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)smatz
2009-07-02(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), ↵smatz
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16718) -Codechange: make IsFreeWagon() member of Trainsmatz
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-07-01(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over ↵smatz
all subsidies
2009-06-27(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a ↵frosch
CargoArray instead of a pointer to a static array.
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-24(svn r16650) -Fix (r16649): missing ()yexo
2009-06-24(svn r16649) -Fix: When the exact AI version a game was saved with is no ↵yexo
longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-06-21(svn r16618) -Fix (r16614): Silence a warning.frosch
2009-06-21(svn r16614) -Codechange: Make the airport min/max available year a property ↵yexo
of the Airport class. -Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-06-17(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoysyexo
2009-06-16(svn r16581) -Codechange: unify the access to Engine::lifelength.rubidium
2009-06-11(svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return ↵yexo
true for bridge head<>neighbouring water tile
2009-06-11(svn r16562) -Revert (r16561)yexo
2009-06-11(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return ↵yexo
true for bridge head<>neighbouring water tile
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-10(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background ↵smatz
in the AIDebug window
2009-06-10(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_deadsmatz
2009-06-07(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid ↵yexo
by the API.
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-06-06(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it ↵rubidium
possible to hit an assert in OpenTTD.
2009-06-06(svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI ↵yexo
was stopped an a human company took it's CompanyID
2009-06-05(svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the ↵yexo
documentation says it does (r16244 for AIBridge)
2009-06-03(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments ↵rubidium
about the appropriate things.
2009-06-01(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function ↵yexo
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall. IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-06-01(svn r16493) -Fix: missing/wrong @file doxygen 'headers'rubidium
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-26(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect ↵yexo
information
2009-05-26(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it ↵yexo
with calls to CmdChangeCompanySetting