summaryrefslogtreecommitdiff
path: root/src/ai/default
AgeCommit message (Collapse)Author
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-11(svn r14991) -Fix: Command-flags is an uint32.frosch
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14944) -Cleanup: add spaces around some operatorsrubidium
2009-01-08(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)rubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company ↵smatz
without HQ
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-24(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not bytesmatz
2008-12-19(svn r14693) -Codechange: replace one check in old AI (probably typo, but ↵smatz
the effect was the same) (Yexo)
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-10-07(svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch ↵smatz
by planetmaker)
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14335) -Codechange: Remove some magic numbers.frosch
2008-08-25(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which ↵belugas
is more exact and less subject to interpretation
2008-08-15(svn r14076) -Codechange: Merge the four start/stop commands into a single ↵frosch
CMD_START_STOP_VEHICLE.
2008-08-04(svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an ↵rubidium
airport that doesn't have a depot.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by ↵frosch
RoadOwner. -Fix: Before evaluating RoadOwner, check if the roadtype is present. -Fix: Some places assumed that MP_ROAD means normal street.
2008-05-23(svn r13222) -Change: allow old AI building helistations and helidepots for ↵smatz
oil rig routes
2008-05-23(svn r13221) -Fix (r8747): old AI failed to build oil rig routessmatz
2008-05-23(svn r13217) -Fix: old AI was building small airports in years when they ↵smatz
were not available in original game, causing small planes and helis everywhere
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-04-07(svn r12617) -Codechange: add type safety to the Order's load and unload types.rubidium
2008-04-06(svn r12593) -Codechange: hide Order's flags in most of the code.rubidium
2008-04-06(svn r12588) -Codechange: do not access the destination of an order directly.rubidium
2008-04-06(svn r12587) -Codechange: unduplicate some code in the Unpack*Order ↵rubidium
functions and move the 'normal' case Pack/Unpack to Order.
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
2008-04-02(svn r12540) -Codechange: Enumify some values in original pathfinder and ↵frosch
remove an unused variable.
2008-04-01(svn r12533) -Cleanup: Remove some wizardry from default ai by using ↵frosch
existings enums and helper functions.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
2008-03-27(svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead ↵peter1138
of for-loops
2008-02-20(svn r12200) -Fix: force AI to build rail or road instead of bridges if ↵smatz
possible, so it doesn't build bridges everywhere
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-20(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵smatz
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-20(svn r12193) -Codechange: Rename a magic variable, give it a decent type, ↵frosch
and remove a 'goto'.