Commit Graph

547 Commits (ea438793bae8f1fe0e6a8472115d7e45a50941cb)

Author SHA1 Message Date
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
frosch 241415e76a (svn r17728) -Cleanup: Remove some more unneeded/unused parameters. 15 years ago
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. 15 years ago
smatz fa937901cb (svn r17701) -Codechange: don't start line with a space if it's not inside comment 15 years ago
frosch 2adc2f4324 (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. 15 years ago
rubidium 4d4b2b780a (svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code 15 years ago
smatz 5994feb426 (svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awk 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium 0855ae61de (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 15 years ago
yexo 7fd7222b9d (svn r17627) -Document [FS#3216]: The remaining functions in info.nut 15 years ago
rubidium e1f7aef52a (svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo. 15 years ago
yexo 1c68366128 (svn r17609) -Fix: the dummy AI had no API version set, causing the 'API compatibility script not found' error to be printed when loading it 15 years ago
yexo d53eab6052 (svn r17593) -Fix (r17591): as always after a noai commit ... 15 years ago
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) 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 0f370be9aa (svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did work though 15 years ago
rubidium 83be7b09ea (svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running code from the global scope 15 years ago
rubidium 3e3927cfcc (svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the 'global' scope 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 9a0a14f4a8 (svn r17531) -Fix: wrong @file for ai_basestation.hpp 15 years ago
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 15 years ago
rubidium 91024042ea (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile) 15 years ago
rubidium a8975e9e72 (svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to a specific depot 15 years ago
rubidium 2f2a6279da (svn r17484) -Fix: squirrel export didn't like one of the casts 15 years ago
smatz 427690be22 (svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelog 15 years ago
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. 15 years ago
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. 15 years ago
rubidium f660dd7109 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 15 years ago
rubidium f3372f6bc1 (svn r17414) -Codechange: only send/read the number of bits that can be actually useful when building industries 15 years ago
rubidium 3a0b63d4bf (svn r17411) -Codechange: silence an ICC compile warning 15 years ago
yexo 145f86027b (svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned false for stations with OWNER_NONE 15 years ago
yexo 457c101138 (svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid 15 years ago
rubidium 042a99e328 (svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers 15 years ago
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. 15 years ago
rubidium eba9b2f779 (svn r17344) -Codechange: splash of coding style over ai_event_types.* 15 years ago
smatz 09e1ecc8ac (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
yexo a80bb35ffe (svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings 15 years ago
yexo 8a2e1011b2 (svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started 15 years ago
smatz e126e1e9c6 (svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage 15 years ago
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
15 years ago
smatz a0d0206f2d (svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium be9033295e (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 15 years ago
yexo dcf67bcd39 (svn r17237) -Update: AI changelog 15 years ago
yexo d6a3178646 (svn r17233) -Fix (r17232): typo 15 years ago
yexo 172d4dd23e (svn r17232) -Fix (r17223): Kill an AI when it tries to Sleep / execute a DoCommand during Save() instead of failing to save 15 years ago
yexo 48f70be5f8 (svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should 15 years ago