summaryrefslogtreecommitdiff
path: root/src/ai/default
AgeCommit message (Collapse)Author
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-01-30(svn r12019) -Codechange: Add support for passenger engine designation for ↵peter1138
AI-use, NewGRF property 0x08 for trains.
2008-01-24(svn r11972) -Fix: old AI shouldn't build fast planes with a small airport ↵smatz
in orders
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23(svn r11962) -Cleanup: OPF is no longer used to update signalssmatz
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-23(svn r11959) -Codechange: Use macro to loop for specific engine types ↵peter1138
instead of using specific indexes each time. -Codechange: Minor scope changes in said loops.
2008-01-18(svn r11917) -Fix (r3677): AI was reading wrong tile slope while building ↵smatz
road bridge
2008-01-17(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due ↵rubidium
uninitialized memory in the AI.
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11792) -Codechange: move some (virtually) globally included AI related ↵rubidium
structs to a place where they are only included a few times.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-03(svn r11565) -Revert: part of r11564smatz
2007-12-03(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and ↵skidd13
rename it fitting to the naming style
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-09-28(svn r11184) -Codechange: cleanup the code related to backup orders.rubidium
2007-09-27(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14Cglx
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-29(svn r11001) -Codechange: unify the way to determine whether a vehicle is in ↵rubidium
a depot.
2007-08-19(svn r10942) -Fix [FS#1133]: make the AI not crash when it has ships as the ↵rubidium
AI does not support them.
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10756) -Codechange: use vehicle->IsValid in favour of ↵rubidium
IsValidVehicle(vehicle).
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-24(svn r10672) -Codechange: typify some parameters/variables.rubidium
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-11(svn r10106) -Fix (r10098): there's always a compiler complaining about ↵rubidium
something...
2007-06-11(svn r10098) -Codechange: bilbo cared about the performance of the AI with ↵rubidium
respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :)
2007-06-10(svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart).rubidium
2007-06-07(svn r10058) -Codechange: give some industry variable sensible names (like ↵rubidium
not telling "last_mo_production" when it is the production of the current month).
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.