summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-09-30(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with ↵rubidium
InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
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-22(svn r17609) -Fix: the dummy AI had no API version set, causing the 'API ↵yexo
compatibility script not found' error to be printed when loading it
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 r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
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-15(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running ↵rubidium
code from the global scope
2009-09-15(svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the ↵rubidium
'global' scope
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
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
2009-09-02(svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappersrubidium
2009-09-01(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt ↵rubidium
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
2009-09-01(svn r17344) -Codechange: splash of coding style over ai_event_types.*rubidium
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-29(svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ↵yexo
ERR_PRECONDITION_ERROR for road/rail-crossings
2009-08-28(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first ↵yexo
available company slot causing other AIs to be started
2009-08-27(svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and ↵smatz
AIIndustry::GetLastMonthTransportedPercentage
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-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-21(svn r17247) -Change: move '3rd party' MD5 implementation also to the ↵rubidium
3rdparty directory.
2009-08-20(svn r17237) -Update: AI changelogyexo
2009-08-20(svn r17233) -Fix (r17232): typoyexo
2009-08-20(svn r17232) -Fix (r17223): Kill an AI when it tries to Sleep / execute a ↵yexo
DoCommand during Save() instead of failing to save
2009-08-20(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed ↵yexo
as they should
2009-08-20(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects ↵yexo
incorrectly but crash the AI instead
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-19(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand ↵yexo
/ Sleep instead of just printing an error message in the AI Debug Window
2009-08-19(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as ↵yexo
parameter allow every squirrel type and convert to a string
2009-08-19(svn r17220) -Fix (r15027): don't ignore white space changes (e.g. alignment ↵rubidium
fixes) in the exporter
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-16(svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) ↵yexo
as precondition for several AIRoad::* functions
2009-08-16(svn r17201) -Fix [NoAI]: don't say you're building a depot when you're ↵rubidium
actually building a station (API docs typo)