summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-07(svn r20402) -Codechange: rename the airport/station class id to something ↵rubidium
slightly more generic
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-08-06(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid ↵rubidium
Order)" orders. [NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
2010-08-03(svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the ↵rubidium
wrong axis
2010-08-03(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so ↵yexo
new AIs/NewGRFs inside a tar file are found
2010-08-02(svn r20328) -Codechange: unify the unmovable related commands and make ↵rubidium
building lighthouses/transmitters actually happen via a command
2010-08-01(svn r20293) -Doc: add more doxygen comments in ai_gui.cpyexo
2010-08-01(svn r20292) -Codechange: remove some unused variables from AIConfigWindowyexo
2010-08-01(svn r20288) -Doc: add doxygen string to all GetClassName functions (part of ↵yexo
all AI api classes)
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20285) -Codechange: use ///< for single-line doxygen comments in the ↵yexo
AI code
2010-08-01(svn r20284) -Codechange: use ///< for single-line doxygen comments in the ↵yexo
AI code
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-31(svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplaceyexo
2010-07-31(svn r20271) -Doc: add doxygen comments to several items under src/ai/yexo
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-29(svn r20238) -Doc: [NoAI] clarify the documentation for ↵yexo
AIBaseStation::GetLocation
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-16(svn r20160) -Merge: changelog updates from the 1.0 branchrubidium
2010-07-14(svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window ↵terkhen
(Zuu).
2010-07-10(svn r20107) -Add: [NoAI] AIIndustryType::INDUSTRYTYPE_TOWN and ↵frosch
AIIndustryType::INDUSTRYTYPE_UNKNOWN for AIRail::BuildNewGRFRailStation(). Note that BuildNewGRFRailStation() now checks the passed industry type for validity.
2010-07-09(svn r20103) -Fix [FS#3934]: AITown::GetRating() returned wrong values. ↵frosch
(Morloth)
2010-07-02(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level ↵michi_cc
crossings per railtype.
2010-06-11(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.terkhen
2010-06-05(svn r19932) -Codechange: Preserve _current_company when starting AIs.frosch
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-22(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels ↵rubidium
and bridges
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-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-09(svn r19775) -Fix: improper use of 'then' in few comments (ln)smatz
2010-05-09(svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex)yexo
2010-05-09(svn r19772) -Fix [FS#3818]: the break-on-log-message feature could trigger ↵yexo
an assert (Zuu)
2010-04-24(svn r19704) -Codechange: unify the style of GSF enums; now they're plural ↵rubidium
instead of mixed
2010-04-23(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly ↵frosch
and cancel object placement when selecting not available industries.
2010-04-17(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.frosch
2010-04-14(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.frosch
2010-04-14(svn r19635) -Fix (r19634): Forgot AI.frosch
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-04-09(svn r19595) -Doc: mention the addition of AIRail::GetMaxSpeed in the AI ↵yexo
changelog
2010-04-09(svn r19591) -Add: [NoAI] AIRail::GetMaxSpeed(RailType) to get the speed ↵yexo
limit of railtypes
2010-04-03(svn r19548) -Add: Client setting 'gui.ai_developer_tools' to enable the ↵yexo
break on AI string