frosch
|
9c75ffb8c5
|
(svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
|
2009-12-12 22:15:14 +00:00 |
rubidium
|
b00a5f1069
|
(svn r18330) -Cleanup: remove some unneeded includes
|
2009-11-28 20:35:25 +00:00 |
rubidium
|
9a87c35cd0
|
(svn r18299) -Update: the ai changelog document
|
2009-11-26 16:47:31 +00:00 |
frosch
|
91865c33da
|
(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return -1, if the industry is neither buildable nor prospectable.
|
2009-11-24 17:56:45 +00:00 |
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
frosch
|
79627b4f89
|
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
|
2009-11-05 19:46:17 +00:00 |
frosch
|
d01f5e9e7e
|
(svn r17898) -Fix: [NoAI] Improve behaviour of (AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
|
2009-10-28 20:15:46 +00:00 |
frosch
|
9a9d0ee7c0
|
(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.
|
2009-10-06 19:52:38 +00:00 |
frosch
|
a4835e3f0b
|
(svn r17719) -Change: [NoAI] Make AIEngine:CanRefitCargo() not report refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API.
|
2009-10-05 20:21:12 +00:00 |
frosch
|
b243f6ca97
|
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
|
2009-10-04 20:33:18 +00:00 |
rubidium
|
e7fb5f00e7
|
(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
|
2009-10-04 18:16:44 +00:00 |
smatz
|
854af7d70f
|
(svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awk
|
2009-10-04 17:26:43 +00:00 |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
smatz
|
32cbe57178
|
(svn r17692) -Codechange: minor coding style fixes
|
2009-10-04 17:10:57 +00:00 |
yexo
|
52f2359edd
|
(svn r17627) -Document [FS#3216]: The remaining functions in info.nut
|
2009-09-23 22:15:57 +00:00 |
rubidium
|
6032f406ad
|
(svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo.
|
2009-09-23 16:07:17 +00:00 |
yexo
|
bbce4fba25
|
(svn r17593) -Fix (r17591): as always after a noai commit ...
|
2009-09-20 19:01:38 +00:00 |
yexo
|
12ef0046dd
|
(svn r17591) -Add [NoAI] [FS#3212]: AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
|
2009-09-20 18:38:43 +00:00 |
rubidium
|
e8ddf001c8
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
2009-09-19 09:51:14 +00:00 |
rubidium
|
e5755bd950
|
(svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did work though
|
2009-09-18 14:23:39 +00:00 |
rubidium
|
5de9cc46b5
|
(svn r17531) -Fix: wrong @file for ai_basestation.hpp
|
2009-09-13 17:58:00 +00:00 |
yexo
|
8ef7b80719
|
(svn r17500) -Fix (r16502): The wrong value was restored to SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
|
2009-09-11 17:18:06 +00:00 |
rubidium
|
860a538adc
|
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
|
2009-09-10 14:37:55 +00:00 |
rubidium
|
f3f6eaa6dc
|
(svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to a specific depot
|
2009-09-09 09:46:08 +00:00 |
rubidium
|
008ffc58dd
|
(svn r17484) -Fix: squirrel export didn't like one of the casts
|
2009-09-09 08:04:27 +00:00 |
smatz
|
b52f692c29
|
(svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelog
|
2009-09-08 20:34:23 +00:00 |
rubidium
|
dcd6b2096d
|
(svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two.
|
2009-09-08 10:12:13 +00:00 |
rubidium
|
f40885ec50
|
(svn r17469) -Change: make the AI compatability wrapper not whine about deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7.
|
2009-09-07 23:30:31 +00:00 |
rubidium
|
1f21a5cb41
|
(svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles.
|
2009-09-07 08:59:43 +00:00 |
rubidium
|
27738c6638
|
(svn r17414) -Codechange: only send/read the number of bits that can be actually useful when building industries
|
2009-09-04 20:04:54 +00:00 |
rubidium
|
2fc5458dba
|
(svn r17411) -Codechange: silence an ICC compile warning
|
2009-09-03 22:56:30 +00:00 |
yexo
|
668da9e900
|
(svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned false for stations with OWNER_NONE
|
2009-09-02 20:03:56 +00:00 |
yexo
|
05433adb6d
|
(svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid
|
2009-09-02 12:48:23 +00:00 |
rubidium
|
4c84db1636
|
(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
|
2009-09-01 12:57:04 +00:00 |
rubidium
|
4abf4602e7
|
(svn r17344) -Codechange: splash of coding style over ai_event_types.*
|
2009-09-01 12:33:17 +00:00 |
smatz
|
ee685c8287
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
2009-08-30 11:47:41 +00:00 |
yexo
|
163e741774
|
(svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings
|
2009-08-29 17:01:39 +00:00 |
smatz
|
713f5d44ce
|
(svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage
|
2009-08-27 13:50:07 +00:00 |
smatz
|
072ce4bb17
|
(svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as 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-27 13:47:03 +00:00 |
smatz
|
100ae8efcc
|
(svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents
|
2009-08-27 13:31:26 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
yexo
|
330c8d6a57
|
(svn r17237) -Update: AI changelog
|
2009-08-20 13:36:48 +00:00 |
yexo
|
14b5862c22
|
(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects incorrectly but crash the AI instead
|
2009-08-20 10:39:39 +00:00 |
rubidium
|
7fb95e2c2b
|
(svn r17228) -Codechange: some coding style fixes
|
2009-08-20 10:23:39 +00:00 |
yexo
|
a4afa140f3
|
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
|
2009-08-19 16:14:15 +00:00 |
yexo
|
5a863925ee
|
(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as parameter allow every squirrel type and convert to a string
|
2009-08-19 14:54:52 +00:00 |
rubidium
|
4423000225
|
(svn r17220) -Fix (r15027): don't ignore white space changes (e.g. alignment fixes) in the exporter
|
2009-08-19 14:48:51 +00:00 |
yexo
|
67106dc063
|
(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
2009-08-18 18:51:42 +00:00 |
yexo
|
c89621540c
|
(svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) as precondition for several AIRoad::* functions
|
2009-08-16 10:33:36 +00:00 |
rubidium
|
cb8690d898
|
(svn r17201) -Fix [NoAI]: don't say you're building a depot when you're actually building a station (API docs typo)
|
2009-08-16 09:04:53 +00:00 |