summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_order.cpp
AgeCommit message (Collapse)Author
2009-04-26(svn r16165) -Add [FS#2801] [NoAI]: several functions to AIOrder to check ↵yexo
the what kind of order an order is. -Fix: AIOrder::GetOrderDestination and AIOrder::GetOrderFlags didn't work on ORDER_CURRENT when the vehicle was loading/leaving in a station.
2009-04-21(svn r16109) -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a ↵yexo
tile belonging to the station
2009-04-21(svn r16108) -Fix [NoAI]: When giving an aircraft a goto-hangar order don't ↵yexo
let it be a normal goto-station order. Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location).
2009-04-20(svn r16107) -Add [NoAI]: AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to ↵yexo
allow stop-in-depot orders
2009-04-20(svn r16106) -Fix [NoAI]: AIOrder::SetOrderFlags always removed "Service if ↵yexo
needed" from goto-depot orders.
2009-04-15(svn r16062) -Fix (r16037): AIOrder::InsertOrder was broken. Default all AI ↵frosch
orders to 'stop at far end'.
2009-03-12(svn r15684) -Add [NoAI]: AIOrder::SkipToOrder().yexo
2009-03-04(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to ↵yexo
AIOrder::SetOrderFlags().
2009-02-19(svn r15527) -Fix (r15526): A ')' too much.yexo
2009-02-19(svn r15526) -Add [NoAI]: Support for conditional orders.yexo
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-16(svn r15101) -Change [API CHANGE]: more consistant naming for consts:truebrain
INVALID_TOWN_RATING -> TOWN_RATING_INVALID INVALID_TRANSPORT -> TRANSPORT_INVALID INVALID_ORDER -> ORDER_INVALID INVALID_GROUP -> GROUP_INVALID GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/.. MY_COMPANY -> COMPANY_SELF FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
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