summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industry.cpp
AgeCommit message (Collapse)Author
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
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-02-23(svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID().yexo
2009-02-14(svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and ↵yexo
GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation.
2009-02-14(svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use ↵yexo
AIIndustry::GetLastMonthProduction instead.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15244) -Fix (r15027): The station tile of an oilrig-like industry is ↵frosch
not neccessarily the first industry tile.
2009-01-23(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries ↵frosch
'features'.
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-13(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't ↵peter1138
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using ↵peter1138
SmallVector instead of using std::set. SmallVector does everything needed anyway.
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