summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_rail.cpp
AgeCommit message (Collapse)Author
2011-02-25(svn r22145) -Codechange: Do explicit test for non-bool values.alberth
2011-01-22(svn r21888) -Codechange: remove some unneeded (for the AI header) headers ↵rubidium
from some AI headers, reducing the include tree
2010-12-29(svn r21663) -Add: [NoAI]: AIRail::GetName() to get the name of a railtypeyexo
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
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-01(svn r20284) -Codechange: use ///< for single-line doxygen comments in the ↵yexo
AI code
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-04-24(svn r19704) -Codechange: unify the style of GSF enums; now they're plural ↵rubidium
instead of mixed
2010-04-09(svn r19591) -Add: [NoAI] AIRail::GetMaxSpeed(RailType) to get the speed ↵yexo
limit of railtypes
2010-02-02(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is ↵terkhen
an obstacle in the way.
2010-01-29(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several ↵yexo
classes to get easier cost estimations before you start building
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
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-08-29(svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ↵yexo
ERR_PRECONDITION_ERROR for road/rail-crossings
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-30(svn r16999) -Fix (r16993): AIs couldn't build waypoints anymorerubidium
2009-07-30(svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain ↵rubidium
rectangle on the map
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-05-26(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect ↵yexo
information
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-05-15(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL ↵frosch
and _SIGNALS.
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-19(svn r15519) -Add [NoAI]: support for waypoints by adding ↵yexo
AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
2009-02-14(svn r15488) -Change [API CHANGE]: Add support for distant-join stations.yexo
2009-02-09(svn r15436) -Codechange: Return index of station spec within station class ↵peter1138
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks