From c2406cd42d481a697602b430111a9e59af61660f Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 12 Jan 2009 17:11:45 +0000 Subject: (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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 --- src/company_base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/company_base.h') diff --git a/src/company_base.h b/src/company_base.h index ee93dd91a..37b5ba5c5 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -70,6 +70,10 @@ struct Company : PoolItem { Money bankrupt_value; bool is_ai; + bool is_noai; ///< This is a NoAI player (for loading old savegames properly). Part of the NoAI 'hack' to retain savegame compatability with trunk + + class AIInstance *ai_instance; + class AIInfo *ai_info; Money yearly_expenses[3][EXPENSES_END]; CompanyEconomyEntry cur_economy; -- cgit v1.2.3-70-g09d2