src/ai/api/ai_industry.cpp
Fri, 18 Jul 2008 01:00:03 +0000 truebrain (svn r13724) [NoAI] -Fix r13723: in this modern world with all those checks and warnings GCC can give when ever I not ask him to, it fails to see the simplest of all, 'if (cargo_id == cargo_id)'.. makes you wonder, doesn't it? Well, such is life, wondering wondering wandering .. Status Quo, Yeah! Oh yeah, what was I doing ... ah, yes: don't compare one variable with itself, it is always true.. Obiwan by Yexo. (Yexo) noai
Fri, 18 Jul 2008 00:15:14 +0000 truebrain (svn r13723) [NoAI] -Add: added AIIndustry::GetStockpiledCargo() (Yexo) noai
Fri, 06 Jun 2008 09:21:06 +0000 truebrain (svn r13393) [NoAI] -Fix [API CHANGE]: return -1 (not 'false') on invalid industry with AIIndustry::NNNTransported() noai
Tue, 29 Apr 2008 21:34:17 +0000 truebrain (svn r12925) [NoAI] -Add: added AIIndustry::GetAmountOfStationsAround() (Yexo) noai
Thu, 24 Apr 2008 23:39:18 +0000 truebrain (svn r12880) [NoAI] -Add: introduces ai_types.hpp, which has all NNNId like VehicleID. This simplifies the include-mess, and avoids including tons of _type.h for just a single typedef. noai
Tue, 22 Apr 2008 19:42:52 +0000 rubidium (svn r12841) [NoAI] -Add: function to test whether an industry is built on water/has a heliport/dock. noai
Mon, 31 Mar 2008 06:45:57 +0000 truebrain (svn r12496) [NoAI] -Documentation: give the .cpp files a nice uniform format too noai
Tue, 25 Mar 2008 12:12:45 +0000 truebrain (svn r12411) [NoAI] -Change [API CHANGE]: order of params of CargoIncome is changed noai
Mon, 03 Mar 2008 16:15:24 +0000 truebrain (svn r12327) [NoAI] -Add: GetLastMonth(Production|Transported) (Morloth) noai
Thu, 28 Feb 2008 00:08:06 +0000 truebrain (svn r12302) [NoAI] -Fix: GetProducing is multiplied by 8 for the GUI, so also do it for our API, to make less confusion for people (Progman) noai
Wed, 27 Feb 2008 23:15:46 +0000 truebrain (svn r12299) [NoAI] -Fix: don't assume any length of produced_cargo and accepts_cargo noai
Fri, 22 Feb 2008 12:30:17 +0000 truebrain (svn r12216) [NoAI] -Codechange: made most functions 'static', which removes the need to create an instance to get, for example, engine information, and therefor heavily simplifying AI creation (Morloth) noai
Fri, 22 Feb 2008 12:13:41 +0000 truebrain (svn r12215) [NoAI] -Codechange: added '::' if a function comes from non-AI-API functions (was inconsistant till now) noai
Wed, 09 Jan 2008 18:11:12 +0000 rubidium (svn r11796) [NoAI] -Sync: with trunk r11502:11795. noai
Sat, 20 Oct 2007 10:14:05 +0000 truelight (svn r11307) [NoAI] -Fix: AIIndustry::GetProduction should give the production_rate, not the this_month_production noai
Fri, 19 Oct 2007 09:36:27 +0000 truelight (svn r11294) [NoAI] -Add: added AIIndustry::IsCargoAccepted + Valuator (on request by Kilinich) noai
Fri, 13 Jul 2007 14:44:31 +0000 truelight (svn r10545) [NoAI] -Fix: GetProduction doesn't return a tile, but a value (tnx glx) noai
Fri, 13 Jul 2007 14:14:26 +0000 truelight (svn r10544) [NoAI] -Add: added AIIndustryList to list industries noai
Tue, 20 Mar 2007 11:55:30 +0000 rubidium (svn r9369) [NoAI] -Codechange: make some IsValidXXX() function static, so they can be used by the other classes without the need for an instance. noai
Sun, 18 Mar 2007 19:52:09 +0000 truelight (svn r9290) [NoAI] -Fix: AITown and AIIndustry segfaulted if you gave a negative value as param to most functions noai
Thu, 15 Mar 2007 22:46:22 +0000 rubidium (svn r9234) [NoAI] -Codechange: move away from the 'much' subdirectory approach for the API implementation. noai