src/ai/ai_squirrel.cpp
Thu, 12 Jun 2008 19:47:02 +0000 truebrain (svn r13496) [NoAI] -Fix: if a library depends on an other library, the import became globally known, which defeats the idea of imports. They are now restricted to their scope, and 'import' returns the class of import (if any) noai
Tue, 10 Jun 2008 19:11:30 +0000 truebrain (svn r13451) [NoAI] -Fix: no comments ... noai
Tue, 10 Jun 2008 18:59:10 +0000 truebrain (svn r13449) [NoAI] -Fix: .tar support is not yet available inside the library-structure .. disable it for now noai
Tue, 10 Jun 2008 14:40:32 +0000 glx (svn r13442) [NoAI] -Add: added 'rescan_ai' console command. Use it to rescan the ai dir when you add AIs or libraries without needing to exit and restart openttd. noai
Tue, 10 Jun 2008 14:11:35 +0000 truebrain (svn r13440) [NoAI] -Add: introducing ai/library, a method to load libraries into your AI. noai
Sun, 08 Jun 2008 21:36:03 +0000 truebrain (svn r13423) [NoAI] -Remove: old code telling we no longer support AIs without 'info.nut'. We hope everyone did that by now :) noai
Tue, 20 May 2008 15:30:10 +0000 truebrain (svn r13195) [NoAI] -Fix r13194: deprecated method of registering wasn't detected correctly (the irony ;)) noai
Tue, 20 May 2008 15:25:47 +0000 truebrain (svn r13194) [NoAI] -Change [API CHANGE]: split 'main.nut' in 'info.nut' and 'main.nut'. The first contains the information about the AI, the second the AI. This avoid several problems we had. It also speeds up OpenTTD start-up. noai
Tue, 20 May 2008 13:09:34 +0000 truebrain (svn r13193) [NoAI] -Add: allow AIs to be packed in a .tar. one AI per tar, always in a subdir. It looks for main.nut in the first dir it finds in the archive noai
Mon, 19 May 2008 14:11:21 +0000 truebrain (svn r13187) [NoAI] -Codechange: rewrote the AI register part; C++ AIs are completely impossible now, and registration happens directly via AISquirrel. This cleans up the registration flow, and makes everything readable again, as sure I made a mess out of it :) noai
Tue, 29 Apr 2008 22:12:15 +0000 truebrain (svn r12928) [NoAI] -Fix: don't crash when reloading an AI that has a compile-error (bug by Fingon) noai
Sun, 27 Apr 2008 15:05:17 +0000 truebrain (svn r12911) [NoAI] -Add: added AIEventVehicle(List|WaitingInDepot|Unprofitable) (Yexo) noai
Fri, 25 Apr 2008 15:29:44 +0000 truebrain (svn r12899) [NoAI] -Add: added AIEventCompany(New|Merger|InTrouble|Bankrupt) (Yexo) noai
Fri, 25 Apr 2008 00:22:41 +0000 truebrain (svn r12885) [NoAI] -Add: added AISubsidy and AIEventSubsidyNNN (Yexo) noai
Tue, 22 Apr 2008 17:04:06 +0000 glx (svn r12838) [NoAI] -Add: added AIEventEnginePreview, which tells you when you have been chosen for testing an engine, and allows you to accept it noai
Mon, 07 Apr 2008 18:24:45 +0000 rubidium (svn r12610) [NoAI] -Fix: a subsidiary is a 'subcompany' and not the financial bonus for routes which is called a subsidy. noai
Mon, 31 Mar 2008 18:33:33 +0000 truebrain (svn r12519) [NoAI] -Add: added AILog with Info(), Warning(), and Error() noai
Mon, 31 Mar 2008 10:55:13 +0000 truebrain (svn r12510) [NoAI] -Add: added AIError, which allows you to catch errors triggered by commands (Morloth) noai
Mon, 31 Mar 2008 06:36:54 +0000 truebrain (svn r12493) [NoAI] -Remove [API CHANGE]: AIPathFinder should never been part of this API (more like a contrib or extended something) noai
Thu, 27 Mar 2008 05:15:06 +0000 rubidium (svn r12437) [NoAI] -Add: functions to get the current date and to determine the year/month/day from that date. noai
Wed, 26 Mar 2008 15:17:40 +0000 truebrain (svn r12431) [NoAI] -Add: added AIEventSubsidiaryOffer, which keeps you informed about new Subsidiaries noai
Tue, 25 Mar 2008 12:12:45 +0000 truebrain (svn r12411) [NoAI] -Change [API CHANGE]: order of params of CargoIncome is changed noai
Thu, 28 Feb 2008 14:28:44 +0000 truebrain (svn r12312) [NoAI] -Fix: AIVehicle_vRunningCost didn't exist noai
Wed, 27 Feb 2008 23:06:43 +0000 truebrain (svn r12298) [NoAI] -Add: added AITunnel (Morloth) noai
Wed, 27 Feb 2008 21:07:31 +0000 truebrain (svn r12294) [NoAI] -Add: added AIBridge(List), which lists all available bridges (no build yet) noai
Tue, 26 Feb 2008 23:47:37 +0000 truebrain (svn r12284) [NoAI] -Add: added AICargoList_v(IsFreight|CargoIncomes) (Morloth) noai
Tue, 26 Feb 2008 22:03:18 +0000 truebrain (svn r12280) [NoAI] -Add: added AICargoList (Morloth) noai
Tue, 26 Feb 2008 21:35:22 +0000 truebrain (svn r12277) [NoAI] -Change: overlay GlobalPointer with local instance access and create sub-node to contain data noai
Tue, 26 Feb 2008 18:36:16 +0000 truebrain (svn r12274) [NoAI] -Change: [API CHANGE] Removed AITownList_vRandomize, as AIList_vRandomize already does that noai
Tue, 26 Feb 2008 16:02:37 +0000 truebrain (svn r12270) [NoAI] -Add: added AIIndustryList_CargoAccepting and AIIndustryList_CargoProducing, which gives you Industry Lists with from where to where you can move cargo noai
Tue, 26 Feb 2008 10:47:22 +0000 truebrain (svn r12264) [NoAI] -Add: added AITileList_vCargoProduction (yorick) noai
Sun, 24 Feb 2008 23:34:42 +0000 truebrain (svn r12242) [NoAI] -Add: added AITileList_Industry(Accepting|Producing), giving tiles on which you want to build a station for an industry noai
Sun, 24 Feb 2008 22:13:24 +0000 truebrain (svn r12237) [NoAI] -Fix: don't force the existance of a 'constructor' (tnx Progman) noai
Sun, 24 Feb 2008 22:10:05 +0000 truebrain (svn r12236) [NoAI] -Change: [API CHANGE] All valuators are now in the notation: AI<type>List_v<Valuator>. Example: AIVehicleList_vAge noai
Sat, 23 Feb 2008 15:16:21 +0000 truebrain (svn r12225) [NoAI] -Change [API CHANGE]: AIStationVehicleList -> AIVehicleList_Station (WATCH THE NAMES CAREFULLY!) noai
Sat, 23 Feb 2008 14:49:31 +0000 truebrain (svn r12223) [NoAI] -Fix r12221: look mom, I can break compilation! noai
Sat, 23 Feb 2008 14:44:07 +0000 truebrain (svn r12222) [NoAI] -Fix r12221: forgot one file noai
Mon, 11 Feb 2008 17:50:47 +0000 glx (svn r12112) [NoAI] -Fix: prevent buffer overruns when creating full-length script-name noai
Wed, 09 Jan 2008 18:11:12 +0000 rubidium (svn r11796) [NoAI] -Sync: with trunk r11502:11795. noai
Fri, 19 Oct 2007 14:03:27 +0000 truelight (svn r11298) [NoAI] -Add: added EngineList + Valuators for all common functions. This should replace all FindXXXEngine, which will be removed soon noai
Fri, 19 Oct 2007 11:32:20 +0000 truelight (svn r11295) [NoAI] -Change [API CHANGE]: put Engine things in AIEngine, and rename functions as such. Most noticable: FindBestXXXVehicle -> FineBestXXXEngine noai
Fri, 19 Oct 2007 09:36:27 +0000 truelight (svn r11294) [NoAI] -Add: added AIIndustry::IsCargoAccepted + Valuator (on request by Kilinich) noai
Sun, 19 Aug 2007 14:04:13 +0000 truelight (svn r10941) [NoAI] -Add: added AITile::GetHeight and AITileList valuator Height noai
Sun, 19 Aug 2007 13:31:04 +0000 truelight (svn r10939) [NoAI] -Add: added AITileList valuator Water noai
Tue, 24 Jul 2007 21:09:39 +0000 truelight (svn r10679) [NoAI] -Add: added AIMarine, which takes care of Ships, Docks, ... noai
Thu, 19 Jul 2007 23:01:41 +0000 truelight (svn r10633) [NoAI] -Add: added GetVehicleType and AIVehicle::VehicleType noai
Thu, 19 Jul 2007 22:39:43 +0000 truelight (svn r10631) [NoAI] -Add: AIEvent, to take care of events; for now it only reports when vehicles are crashed noai
Wed, 18 Jul 2007 15:24:10 +0000 truelight (svn r10615) [NoAI] -Fix r10613: one might wonder how hard it can be to fix something this simple... noai
Wed, 18 Jul 2007 15:13:33 +0000 truelight (svn r10614) [NoAI] -Fix r10613: do not commit things you are working on and don't want to commit ;) noai
Wed, 18 Jul 2007 14:58:37 +0000 truelight (svn r10612) [NoAI] -Add: allow a class as return value; pack the result in a SQ instance and it should work perfectly noai
Sat, 14 Jul 2007 23:49:31 +0000 truelight (svn r10569) [NoAI] -Add: added AIListRandomize as Valuator for all lists to attach a random value to all items noai
Sat, 14 Jul 2007 21:15:49 +0000 truelight (svn r10564) [NoAI] -Add: added a AITileList valuator that checks for a NxM buildable spot with the entry from the AITileList as top-left tile noai
Sat, 14 Jul 2007 08:54:17 +0000 truelight (svn r10557) [NoAI] -Add: added for all lists 2 valuators: DistanceManhattanToTile and DistanceSquareToTile, to get the distance from object to some tile you specify noai
Fri, 13 Jul 2007 23:18:12 +0000 truelight (svn r10556) [NoAI] -Add: added AIAirport, which can build an airport noai
Fri, 13 Jul 2007 19:12:43 +0000 truelight (svn r10553) [NoAI] -Add: added a framework for AIPathFinder() and implemented a really stupid AIPathFinderStupid() noai
Fri, 13 Jul 2007 14:14:26 +0000 truelight (svn r10544) [NoAI] -Add: added AIIndustryList to list industries noai
Fri, 13 Jul 2007 13:49:39 +0000 truelight (svn r10543) [NoAI] -Add: added AIStationListCargoRating as valuator for a station list noai
Fri, 13 Jul 2007 11:04:00 +0000 truelight (svn r10540) [NoAI] -Add: added AIStationVehicleList, which lists all vehicles that go to a given station noai
Fri, 13 Jul 2007 10:48:08 +0000 truelight (svn r10538) [NoAI] -Add: added AIVehicleStationList, which lists all stations a vehicle goes to noai
Thu, 12 Jul 2007 15:51:19 +0000 truelight (svn r10529) [NoAI] -Add: added AIStation to gather information about stations directly by Id, which is used now by AIStationList noai