Page 1 of 1

API change: removal of AIAbstractList

Posted: 19 Aug 2010 15:42
by Yexo
In r20562/r20563 AIAbstractList has been removed. All functions previously in AIAbstractList are now part of AIList. AIs using the 0.7 or 1.0 API are not affected, but AIs using the 1.1 API (which is not stable until 1.1 comes out) are, so please update your AIs.

Also AIList::ChangeItem has been removed as it was a duplicate of AIAbstractList::SetValue (now AIList::SetValue). Again AIs using the 0.7 or 1.0 API are not affected.

Re: API change: removal of AIAbstractList

Posted: 19 Aug 2010 17:43
by Lord Aro
Damn!
AroAI is the only released AI that uses 1.1API (i think)
I hate you. :p

Re: API change: removal of AIAbstractList

Posted: 19 Aug 2010 17:48
by Yexo
From http://noai.openttd.org/docs/trunk/ai__ ... _8hpp.html
Changelog wrote:1.1.0 is not yet released. The following changes are not set in stone yet.
In other words: the 1.1.0 API will only be stable when we get very close to a release.