summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.cpp
AgeCommit message (Collapse)Author
2010-12-29(svn r21654) -Add: [NoAI] AITown::IsCity() so AIs can find out which towns ↵yexo
grow faster than others (Lord Aro)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-07-09(svn r20103) -Fix [FS#3934]: AITown::GetRating() returned wrong values. ↵frosch
(Morloth)
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-27(svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and ↵smatz
AIIndustry::GetLastMonthTransportedPercentage
2009-08-27(svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as ↵smatz
documented at all, make it return what AITown::GetLastMonthProduction did -Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17131) -Codechange: apply coding style to some switch statementssmatz
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
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-14(svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID.yexo
2009-02-04(svn r15343) -Add [NoAI]: Add AITown::GetRoadLayout so AIs can get the road ↵Yexo
layout per town.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-19(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, ↵peter1138
therefore it does not belong in _gui.
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