Commit Graph

453 Commits (cbe453eab06c0e91e1a624417381815b699242be)

Author SHA1 Message Date
truebrain cbe453eab0 (svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one. 13 years ago
truebrain e35a1d7843 (svn r23208) -Codechange: mark function with /* static */ in the source file, which are defined static in the header file 13 years ago
truebrain 5e7bae46f8 (svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit) 13 years ago
rubidium ca22f6be80 (svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it 13 years ago
yexo 7229e955fa (svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway 13 years ago
rubidium 33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 13 years ago
yexo 78b6431eab (svn r23170) -Doc (r23169): add he new value to the AI changelog 13 years ago
yexo 41e9da2420 (svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu) 13 years ago
frosch 1a6dfb5110 (svn r23162) -Fix (r23133): Silence gcc warning. 13 years ago
frosch 930c6c7779 (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 13 years ago
yexo fd59234005 (svn r23135) -Fix (r23133): always compile before commit 13 years ago
yexo 3566f8b905 (svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAccepting 13 years ago
yexo 1750b2ad9f (svn r23133) -Fix [FS#4823]: AIOrder didn't handle implicit orders correctly in all cases 13 years ago
yexo 59b9c4f6f3 (svn r23131) -Fix (r16165): AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones 13 years ago
michi_cc 844eb74c0e (svn r23122) -Fix (23120): Silence GCC warning. 13 years ago
michi_cc ab28780f97 (svn r23120) -Feature: [NoAI] Support for refit orders. 13 years ago
rubidium 2de0383538 (svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick 13 years ago
rubidium 70faeeaba9 (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium cceccd58e5 (svn r23095) -Codechange: remove useless divisions/multiplications by TILE_HEIGHT for the AI API code 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
frosch 47ed2ae999 (svn r23057) -Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders. 13 years ago
planetmaker 01a36b36d6 (svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut) 13 years ago
truebrain 65e2865ac1 (svn r22989) -Fix: AIController uses protected members of AIObject, so make them friends (instead of doing it implicit via AIInstance). This fixes all compile errors with clang-2.9 13 years ago
rubidium 2ac7cbada3 (svn r22988) -Fix: don't return ERR_UNKNOWN when the vehicle would become too long 13 years ago
frosch f406385319 (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 13 years ago
frosch a1c155e0f9 (svn r22968) -Feature: Allow road corners on steep slopes. 13 years ago
yexo 72500ddedf (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 13 years ago
yexo 79582850b5 (svn r22863) -Fix (r22861): AIOrder::SetOrderCondition didn't accept the new condition 13 years ago
yexo 502d7884ae (svn r22861) -Add: [NoAI] support the new conditional order introduced in r22858 (Zuu) 13 years ago
frosch b7a13ba19c (svn r22853) -Doc: Add a missing bit of AI documentation. 13 years ago
frosch 61d5dd64b8 (svn r22764) -Add: [NoAI] AITile::GetTownAuthority(). 13 years ago
frosch 3d39fa8824 (svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence(). 13 years ago
frosch cdb6239d76 (svn r22762) -Fix (r22584): Update ai_company.hpp.sq 13 years ago
rubidium 53c909c65a (svn r22751) -Merge: documentation updates from 1.1 13 years ago
frosch 1f27a4a17b (svn r22726) -Fix: AITile::GetCargoAcceptance, AITile::GetCargoProduction and AIRail::BuildNewGRFRailStation did not check the cargo argument for validity. 13 years ago
frosch fbc8de13fc (svn r22710) -Fix [FS#4704]: Allow AIAirport::GetNoiseLevelIncrease() also for expired airports. 13 years ago
yexo 05b09ea0c4 (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) 13 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 14 years ago
rubidium 2c1555b13c (svn r22396) -Document: some AI doxygen stuff 14 years ago
glx 45f3967d5d (svn r22342) -Fix (r22338): fix the right place and run the script 14 years ago
peter1138 1b5f1ccac0 (svn r22338) -Fix (r22337): Compile-before-commit... 14 years ago
rubidium 22bc18cc71 (svn r22283) -Merge from 1.1: documentation updates/release changes 14 years ago
frosch 91a29a6bef (svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself. 14 years ago
alberth 9222a30173 (svn r22145) -Codechange: Do explicit test for non-bool values. 14 years ago
frosch 89a48c5b7d (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) 14 years ago
rubidium be8e0ede7c (svn r22083) -Change: trunk is heading towards 1.2 now 14 years ago
yexo 0b452bd05f (svn r21992) -Fix [FS#4467]: AIs trying to change the AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags 14 years ago
frosch c003e1a358 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 14 years ago
rubidium 7086bb3017 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 14 years ago