summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
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)
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-15(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs ↵yexo
can't crash OpenTTD
2009-07-10(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current ↵yexo
reliability of vehicles
2009-07-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-07-10(svn r16783) -Change: make it more clear that the squirrel_export script ↵rubidium
needs gawk.
2009-07-09(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.alberth
2009-07-08(svn r16772) -Fix [FS#3019]: don't use the same error message for turning ↵rubidium
around road vehicles and flipping parts of trains in the depot
2009-07-08(svn r16771) -Fix: API export was forgotten causing API to think variables ↵rubidium
were uint; doesn't matter much as int was converted to uint and then back.
2009-07-08(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance ↵yexo
didn't accept a radius of 0 anymore
2009-07-04(svn r16738) -Codechange: Remove casting away constness by changing the text ↵alberth
before storing.
2009-07-03(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when ↵yexo
st->xy != st->airport_tile.
2009-07-02(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)smatz
2009-07-02(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), ↵smatz
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16718) -Codechange: make IsFreeWagon() member of Trainsmatz
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-07-01(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over ↵smatz
all subsidies
2009-06-27(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a ↵frosch
CargoArray instead of a pointer to a static array.
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.