summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2009-08-16(svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) ↵yexo
as precondition for several AIRoad::* functions
2009-08-16(svn r17201) -Fix [NoAI]: don't say you're building a depot when you're ↵rubidium
actually building a station (API docs typo)
2009-08-15(svn r17193) -Fix [FS#3124]: guard the valuator against 'external' ↵rubidium
modifications of the valuated list which could cause it to go into an infinite loop.
2009-08-09(svn r17131) -Codechange: apply coding style to some switch statementssmatz
2009-08-09(svn r17130) -Fix [FS#3099]: Last line of output in the AI debug window did ↵alberth
not fit entirely.
2009-08-08(svn r17125) -Cleanup: remove an unused variableyexo
2009-08-08(svn r17124) -Codechange: store subsidies in a pool (instead of an array)smatz
2009-08-08(svn r17115) -Add [NoAI]: AISubsidy::SubsidyParticipantType, ↵smatz
AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management -Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-08(svn r17112) -Change [NoAI]: AIVehicleList_Station now also works for waypointsyexo
2009-08-08(svn r17111) -Fix (r17110): forgot to include ai_log.hppyexo
2009-08-08(svn r17110) -Fix [NoAI]: Print a warning message in the AI console when a ↵yexo
deprecated function is used
2009-08-08(svn r17109) -Fix (r15027): squirrel_export.sh failed for some localessmatz
2009-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-08-06(svn r17094) -Update: AI changelogrubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-05(svn r17072) -Fix: don't let squirrel export make a 'stub' for ai_changelog.hpprubidium
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-08-02(svn r17049) -Fix [NoAI]: documentation of AITile::LevelTiles was wrongyexo
2009-08-02(svn r17044) -Codechange: ai windows use nested widget tree.alberth
2009-08-02(svn r17043) -Change [NoAI]: Load the API before compiling an AI script so ↵yexo
AIs can subclass API classes and use API constants as part of their own constants
2009-08-01(svn r17028) -Fix (r17019): a function and class were not mentioned in the ↵rubidium
changelog
2009-08-01(svn r17019) -Doc: add AI API changelogyexo
2009-08-01(svn r17016) -Add [NoAI]: AICompany::Get/Set PresidentGenderyexo
2009-07-31(svn r17014) -Add [NoAI]: AIEngine::GetDesignDateyexo
2009-07-31(svn r17012) -Add [NoAI]: AIBaseStation::GetConstructionDateyexo
2009-07-31(svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for ↵yexo
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation Remove (nearly) all references to WaypointID and replace them with StationID
2009-07-31(svn r17006) -Fix (r17005): gcc compile failurerubidium
2009-07-31(svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDINGyexo
2009-07-30(svn r16999) -Fix (r16993): AIs couldn't build waypoints anymorerubidium
2009-07-30(svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain ↵rubidium
rectangle on the map
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-29(svn r16986) -Fix [NoAI]: AIBridge::GetPrice returned incorrect valuesyexo
2009-07-28(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in ↵rubidium
favour of their Station variants
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-07-25(svn r16948) -Codechange: some code reductions and usage of wrapper functionsrubidium
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-23(svn r16927) -Change: make the 'there is no AI' error message translatablerubidium
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16919) -Codechange: unify some more StringID w.r.t. their namingrubidium
2009-07-22(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warningsrubidium
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-18(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing ↵smatz
subsidy's age
2009-07-17(svn r16866) -Fix (r16865): forgot to run squirrel_export.shyexo
2009-07-17(svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ↵yexo
ones and fix a type in the noai documentation (patch by Chruker)