Talk:AI:TODO

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
(ac84's comments)
 
Line 9: Line 9:
 
* All funktion names should be checked for consistant (like Accept/Accepted/Accepting or same prefix/suffix anywhere). --[[User:Progman|Progman]] 00:54, 28 February 2008 (CET)
 
* All funktion names should be checked for consistant (like Accept/Accepted/Accepting or same prefix/suffix anywhere). --[[User:Progman|Progman]] 00:54, 28 February 2008 (CET)
 
* Add some functions to delete an entry from an AIAbstractList. --[[User:Progman|Progman]] 01:58, 28 February 2008 (CET)
 
* Add some functions to delete an entry from an AIAbstractList. --[[User:Progman|Progman]] 01:58, 28 February 2008 (CET)
 
== ac84's comments ==
 
* '''AIVehicle'''
 
  Function that retrieve cargo type, which vehicle is currently transporting.
 
 
If vehicle was refited then it transports another cargo then returned by AIEngine.GetCargoType(engine_id). Should be some way to know what cargo we are transporting.
 
Possible name AIVehicle.GetCargoTransporting(vehicle_id)
 
 
* '''AIStation'''
 
  AIStation.GetType(station_id) method.
 
  This is really trouble: ai can't understand what was builded without some tricks.
 
 
[[User:82.211.152.12|82.211.152.12]] 06:56, 1 March 2008 (CET)Anton84
 

Latest revision as of 14:01, 8 June 2008

[edit] Yorick's comments

  • Be able to retrieve costs without having the money needed or having a tile to build on (real players can do this using shift(but with tile to build on, wich they can find alot easier than most AI's).
  • Be able to find out if a road piece is having a junction on it or not, and if so: how many directions.

[edit] Unsorted comments

  • AIAbstracList::Remove*() and AIAbstractList:Keep*() should return a value how many items are actually deleted/kept, maybe its needed (better than return void). --Progman 00:22, 28 February 2008 (CET)
  • All funktion names should be checked for consistant (like Accept/Accepted/Accepting or same prefix/suffix anywhere). --Progman 00:54, 28 February 2008 (CET)
  • Add some functions to delete an entry from an AIAbstractList. --Progman 01:58, 28 February 2008 (CET)
Personal tools