Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-14 | (svn r21521) -Codechange: Unify some cached values that were present in both ↵ | terkhen | |
road vehicles and trains. | |||
2010-12-14 | (svn r21515) -Codechange: Use cached_total_length where appropiate. | terkhen | |
2010-12-05 | (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes | rubidium | |
2010-09-08 | (svn r20769) -Codechange: move some depot flags from p2 to p1 in ↵ | rubidium | |
CmdSendVehicleToDepot | |||
2010-08-26 | (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵ | rubidium | |
some headers | |||
2010-08-19 | (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command ↵ | rubidium | |
to increase the vehicle pool limit | |||
2010-08-19 | (svn r20572) -Codechange: free/reserve some bits in the wagon move command ↵ | rubidium | |
to increase the vehicle pool limit | |||
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 r20533) -Codechange: shuffle a bit with the bits in the sell command | rubidium | |
2010-08-17 | (svn r20532) -Codechange: unify selling of vehicles a bit | rubidium | |
2010-01-18 | (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵ | rubidium | |
wrapper functions | |||
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 | |||
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-14 | (svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a ↵ | yexo | |
duplicate or AIOrder.SkipToOrder | |||
2009-12-12 | (svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen ↵ | frosch | |
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well... | |||
2009-08-27 | (svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵ | smatz | |
numbers to percents | |||
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-07-10 | (svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current ↵ | yexo | |
reliability of vehicles | |||
2009-07-02 | (svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), ↵ | smatz | |
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train | |||
2009-07-02 | (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵ | rubidium | |
functions | |||
2009-07-02 | (svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵ | rubidium | |
Is/Set/HasArticulatedPart member of RoadVehicle. | |||
2009-07-01 | (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵ | smatz | |
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train | |||
2009-07-01 | (svn r16718) -Codechange: make IsFreeWagon() member of Train | smatz | |
2009-06-06 | (svn r16527) -Codechange: use static member functions instead of simple ↵ | smatz | |
casts when converting Vehicle to specialised vehicle types. Includes safety check | |||
2009-05-26 | (svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵ | smatz | |
for all vehicle types | |||
2009-05-24 | (svn r16421) -Codechange: do not unnecessarily remove constness or ↵ | rubidium | |
unnecessarily add it. | |||
2009-05-23 | (svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵ | rubidium | |
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. | |||
2009-05-22 | (svn r16393) -Codechange: move VehicleRail to Train. | rubidium | |
2009-05-22 | (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. | rubidium | |
2009-05-22 | (svn r16390) -Codechange: move u.road to RoadVehicle. | rubidium | |
2009-05-18 | (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵ | smatz | |
PoolItem::IsValidID() and PoolItem::Get() | |||
2009-05-17 | (svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵ | smatz | |
PoolItem::IsValidID(index) | |||
2009-05-16 | (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) | smatz | |
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-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 r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. | frosch | |
2009-02-01 | (svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h ↵ | frosch | |
instead of mph. (Documentation by Rubidium) | |||
2009-01-31 | (svn r15299) -Cleanup: remove many redundant includes | smatz | |
2009-01-24 | (svn r15255) -Fix (r15027): AIVehicle::GetLength() returned only the length ↵ | frosch | |
of the first part of articulated road vehicles. | |||
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-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 |