summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehicle.hpp
AgeCommit message (Collapse)Author
2011-10-03(svn r22988) -Fix: don't return ERR_UNKNOWN when the vehicle would become ↵rubidium
too long
2011-04-17(svn r22342) -Fix (r22338): fix the right place and run the scriptglx
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-08-19(svn r20574) -Codechange: a little over 1 million vehicles should be enough ↵rubidium
for the forseeable future
2010-08-19(svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and ↵yexo
use it as return value instead of ::INVALID_VEHICLE
2010-08-18(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped ↵yexo
in depot' strings
2010-08-01(svn r20288) -Doc: add doxygen string to all GetClassName functions (part of ↵yexo
all AI api classes)
2010-08-01(svn r20284) -Codechange: use ///< for single-line doxygen comments in the ↵yexo
AI code
2010-06-11(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.terkhen
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-01-02(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a ↵yexo
certain engine. -Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2009-12-19(svn r18557) -Fix: (most of) gcc errors when using lto caused by some ↵smatz
structs having different definition in different object files
2009-12-14(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a ↵yexo
duplicate or AIOrder.SkipToOrder
2009-09-07(svn r17446) -Codechange: rename BUILD with BUY for strings that are about ↵rubidium
building (in the future buying) vehicles.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16919) -Codechange: unify some more StringID w.r.t. their namingrubidium
2009-07-17(svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ↵yexo
ones and fix a type in the noai documentation (patch by Chruker)
2009-07-10(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current ↵yexo
reliability of vehicles
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-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-25(svn r16150) -Fix [NoAI]: Change WAYPOINT_INVALID to 0xFFFF from -1 as ↵yexo
that's the value the AIs got (due to casting). Clarify some api documentation.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-02-19(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and ↵yexo
update some documentation since a few enums have been renamed.
2009-02-14(svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon ↵yexo
and MoveWagonChain (frosch).
2009-02-05(svn r15345) -Add [NoAI]: Add AIVehicle::HasSharedOrders() and ↵Yexo
AIVehicleList_SharedOrders.
2009-02-01(svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h ↵frosch
instead of mph. (Documentation by Rubidium)
2009-01-17(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value ↵truebrain
should not be free'd, which is should .. so make them 'char *'
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-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
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