rubidium
|
a718cea273
|
(svn r18299) -Update: the ai changelog document
|
2009-11-26 16:47:31 +00:00 |
|
frosch
|
f4fb782fbf
|
(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
|
040404c5d3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
|
frosch
|
3cb949a17d
|
(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
|
bc0e75ef60
|
(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
|
241415e76a
|
(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.
|
2009-10-06 19:52:38 +00:00 |
|
frosch
|
fd38bbe706
|
(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
|
2adc2f4324
|
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
|
2009-10-04 20:33:18 +00:00 |
|
rubidium
|
4d4b2b780a
|
(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
|
2009-10-04 18:16:44 +00:00 |
|
smatz
|
5994feb426
|
(svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awk
|
2009-10-04 17:26:43 +00:00 |
|
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
smatz
|
7c74afb1c3
|
(svn r17692) -Codechange: minor coding style fixes
|
2009-10-04 17:10:57 +00:00 |
|
yexo
|
7fd7222b9d
|
(svn r17627) -Document [FS#3216]: The remaining functions in info.nut
|
2009-09-23 22:15:57 +00:00 |
|
rubidium
|
e1f7aef52a
|
(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
|
d53eab6052
|
(svn r17593) -Fix (r17591): as always after a noai commit ...
|
2009-09-20 19:01:38 +00:00 |
|
yexo
|
23a4bef749
|
(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
|
310465da07
|
(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
|
0f370be9aa
|
(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
|
9a0a14f4a8
|
(svn r17531) -Fix: wrong @file for ai_basestation.hpp
|
2009-09-13 17:58:00 +00:00 |
|
yexo
|
9218078424
|
(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
|
91024042ea
|
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
|
2009-09-10 14:37:55 +00:00 |
|
rubidium
|
a8975e9e72
|
(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
|
2f2a6279da
|
(svn r17484) -Fix: squirrel export didn't like one of the casts
|
2009-09-09 08:04:27 +00:00 |
|
smatz
|
427690be22
|
(svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelog
|
2009-09-08 20:34:23 +00:00 |
|
rubidium
|
08d9873001
|
(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
|
8a3386bb7a
|
(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
|
f660dd7109
|
(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
|
f3372f6bc1
|
(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
|
3a0b63d4bf
|
(svn r17411) -Codechange: silence an ICC compile warning
|
2009-09-03 22:56:30 +00:00 |
|
yexo
|
145f86027b
|
(svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned false for stations with OWNER_NONE
|
2009-09-02 20:03:56 +00:00 |
|
yexo
|
457c101138
|
(svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid
|
2009-09-02 12:48:23 +00:00 |
|
rubidium
|
62e990823d
|
(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
|
eba9b2f779
|
(svn r17344) -Codechange: splash of coding style over ai_event_types.*
|
2009-09-01 12:33:17 +00:00 |
|
smatz
|
09e1ecc8ac
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
2009-08-30 11:47:41 +00:00 |
|
yexo
|
a80bb35ffe
|
(svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings
|
2009-08-29 17:01:39 +00:00 |
|
smatz
|
e126e1e9c6
|
(svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage
|
2009-08-27 13:50:07 +00:00 |
|
smatz
|
15242b3ac8
|
(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
|
a0d0206f2d
|
(svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents
|
2009-08-27 13:31:26 +00:00 |
|
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
yexo
|
dcf67bcd39
|
(svn r17237) -Update: AI changelog
|
2009-08-20 13:36:48 +00:00 |
|
yexo
|
6b0520b3b4
|
(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
|
c096e3d54c
|
(svn r17228) -Codechange: some coding style fixes
|
2009-08-20 10:23:39 +00:00 |
|
yexo
|
c22f60c812
|
(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
|
74e5f16bc2
|
(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
|
46d5fc5565
|
(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
|
418c88f94d
|
(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
|
d349bf7ec3
|
(svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) as precondition for several AIRoad::* functions
|
2009-08-16 10:33:36 +00:00 |
|
rubidium
|
7b55bbbc6d
|
(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 |
|
rubidium
|
702da7d8ef
|
(svn r17193) -Fix [FS#3124]: guard the valuator against 'external' modifications of the valuated list which could cause it to go into an infinite loop.
|
2009-08-15 20:34:11 +00:00 |
|
smatz
|
073e163b7f
|
(svn r17131) -Codechange: apply coding style to some switch statements
|
2009-08-09 14:40:34 +00:00 |
|