summaryrefslogtreecommitdiff
path: root/ai
AgeCommit message (Expand)Author
2006-10-14(svn r6776) -Codechange: Use IsValidPlayer() function to determine of a Playe...Darkvater
2006-10-14(svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPE...Darkvater
2006-10-14(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER andDarkvater
2006-10-12(svn r6752) -Codechange: Move command functions from messy functions.h into c...Darkvater
2006-09-05(svn r6407) -Fix: Check return values of DoCommand() with CmdFailed and that ...Darkvater
2006-09-05(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it...Darkvater
2006-09-03(svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as l...tron
2006-08-31(svn r6280) -Codechange: Use the same naming for trains as for other vehicles:Darkvater
2006-08-28(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {...rubidium
2006-08-26(svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)truelight
2006-08-22(svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns ...truelight
2006-08-22(svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (...truelight
2006-08-22(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips inva...truelight
2006-08-22(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whit...rubidium
2006-08-22(svn r6043) -Codechange: use wrapper if they are availabletruelight
2006-08-20(svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the fu...rubidium
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to d...rubidium
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-06-14(svn r5263) Use the flag which denotes if it's a plane or helicopter instead ...tron
2006-06-11(svn r5228) Suppress MSVC warnings about signed/unsigned comparisonKUDr
2006-06-11(svn r5222) Misc. smaller changes, mostly const, variable scope and replacing...tron
2006-06-10(svn r5210) Many small changes which piled up: const, unsigned, variable scop...tron
2006-06-07(svn r5155) - Remove the bridge branch merge (revision r5070)tron
2006-06-05(svn r5129) Accommodate the default AI for the new railtype: It used hard cod...tron
2006-06-05(svn r5128) Remove the global variable _cur_ai_playertron
2006-06-05(svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()tron
2006-06-04(svn r5098) Do some manual CSE and replace a few magic numbers to improve the...tron
2006-06-04(svn r5097) -Fix: The trolly AI used information from the wrong industry when...tron
2006-06-04(svn r5096) Avoid unnecessary copying of _cmd_texttron
2006-06-04(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_...tron
2006-06-04(svn r5092) -Fix: There was a gross race condition in the AI code which made ...tron
2006-06-04(svn r5091) Remove duplicate code (same check twice)tron
2006-06-02(svn r5070) Merged the bridge branchcelestar
2006-05-21(svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID playertron
2006-05-21(svn r4942) if (x != NULL) free(x); -> free(x);tron
2006-05-21(svn r4941) Replace some ints and magic numbers by proper types and enumstron
2006-05-20(svn r4918) Move the information about the size of airports from an global ar...tron
2006-05-19(svn r4911) -Fix (FS#156): The Ai no longer attempts to build signals under b...celestar
2006-05-09(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CR...rubidium
2006-05-09(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMA...rubidium
2006-04-29(svn r4623) - Codechange: s/byte/PlayerID/Darkvater
2006-04-23(svn r4553) int and magic numbers -> Slope and DiagDirectiontron
2006-04-21(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)celestar
2006-04-18(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via...celestar
2006-04-10(svn r4342) Change the first two parameters of commands - virtual pixel coord...tron
2006-04-09(svn r4333) Revert back to a direct map access in one case until the exact co...tron
2006-04-08(svn r4318) CodeChange : Remove last direct map access on ai/default/default.cbelugas
2006-03-31(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and mo...celestar
2006-03-31(svn r4204) - Get trunk compiling again on OS/2orudge
2006-03-29(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes tw...celestar