summaryrefslogtreecommitdiff
path: root/src/ai/api
AgeCommit message (Collapse)Author
2011-02-06(svn r21992) -Fix [FS#4467]: AIs trying to change the ↵yexo
AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags
2011-02-05(svn r21987) -Fix: Make news items, engine previews and AI preview events ↵frosch
deal with no longer existing Engine items after resetting the pool.
2011-02-04(svn r21959) -Change: replace longbridges with custom maximum bridge and ↵rubidium
tunnel length setting
2011-02-04(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support ↵smatz
for uniform stations has been broken for over a year
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-23(svn r21900) -Fix: [NoAI] hide automatic orders from AIs as they have no way ↵yexo
of dealing with them
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21888) -Codechange: remove some unneeded (for the AI header) headers ↵rubidium
from some AI headers, reducing the include tree
2010-12-31(svn r21672) -Fix: mention AIEventTownFounded in the AI changelog as wellrubidium
2010-12-29(svn r21664) -Add: [NoAI] AIEventTownFoundedyexo
2010-12-29(svn r21663) -Add: [NoAI]: AIRail::GetName() to get the name of a railtypeyexo
2010-12-29(svn r21655) -Add: mention AITown::IsCity in the NoAI changelogyexo
2010-12-29(svn r21654) -Add: [NoAI] AITown::IsCity() so AIs can find out which towns ↵yexo
grow faster than others (Lord Aro)
2010-12-21(svn r21571) -Codechange: Having a break after a return is no good.alberth
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21515) -Codechange: Use cached_total_length where appropiate.terkhen
2010-12-13(svn r21493) -Codechange: don't use the full 32 bits of the level land ↵rubidium
command to tell whether to raise, lower or keep the level of the first selected tile
2010-12-12(svn r21488) -Codechange: make use of TILE_AREA_LOOP in the tile list AI APIrubidium
2010-12-05(svn r21416) -Codechange: limit vehicle name by amount of characters, not bytesrubidium
2010-12-05(svn r21415) -Codechange: limit station/waypoint name by amount of ↵rubidium
characters, not bytes
2010-12-05(svn r21413) -Codechange: limit sign name by amount of characters, not bytesrubidium
2010-12-05(svn r21412) -Codechange: limit company name by amount of characters, not bytesrubidium
2010-12-05(svn r21411) -Codechange: limit group name by amount of characters, not bytesrubidium
2010-11-20(svn r21280) -Merge: documentation updates from 1.0rubidium
2010-11-10(svn r21142) -Codechange: replace magic bridge length constants with proper ↵rubidium
constants (uni657)
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-09-15(svn r20810) -Merge: documentation updates from 1.0rubidium
2010-09-13(svn r20798) -Doc [FS#4117]: [NoAI] AITile::HasTransportType doesn't work ↵yexo
for TRANSPORT_AIR
2010-09-08(svn r20769) -Codechange: move some depot flags from p2 to p1 in ↵rubidium
CmdSendVehicleToDepot
2010-09-08(svn r20765) -Fix (r17345): AIEventCompanyAskMerger was disguised as ↵yexo
AIEventCompanyMerger (fanioz)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-19(svn r20574) -Codechange: a little over 1 million vehicles should be enough ↵rubidium
for the forseeable future
2010-08-19(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command ↵rubidium
to increase the vehicle pool limit
2010-08-19(svn r20572) -Codechange: free/reserve some bits in the wagon move command ↵rubidium
to increase the vehicle pool limit
2010-08-19(svn r20571) -Codechange: free/reserve some bits in the order commands to ↵rubidium
increase the vehicle pool limit
2010-08-19(svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and ↵yexo
use it as return value instead of ::INVALID_VEHICLE
2010-08-19(svn r20563) -Change: [NoAI] rename AIAbstractList to AIListyexo
2010-08-19(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractListyexo
2010-08-19(svn r20560) -Fix: AIs (still/again?) crashing for certain commandsrubidium
2010-08-18(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped ↵yexo
in depot' strings
2010-08-18(svn r20533) -Codechange: shuffle a bit with the bits in the sell commandrubidium
2010-08-17(svn r20532) -Codechange: unify selling of vehicles a bitrubidium
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-14(svn r20489) -Fix [FS#4031]: [NoAI] checking whether water tiles are ↵rubidium
connected failed in some cases
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-07(svn r20402) -Codechange: rename the airport/station class id to something ↵rubidium
slightly more generic
2010-08-07(svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 ↵yexo
possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
2010-08-06(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid ↵rubidium
Order)" orders. [NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
2010-08-03(svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the ↵rubidium
wrong axis