You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/ai/api
rubidium def31de3c1 (svn r16948) -Codechange: some code reductions and usage of wrapper functions 15 years ago
..
Doxyfile (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_abstractlist.cpp (svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function. 16 years ago
ai_abstractlist.hpp (svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed. 16 years ago
ai_abstractlist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_accounting.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_accounting.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_accounting.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_airport.cpp (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
ai_airport.hpp (svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker) 15 years ago
ai_airport.hpp.sq (svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport 15 years ago
ai_base.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_base.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_base.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_bridge.cpp (svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge) 15 years ago
ai_bridge.hpp (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_bridge.hpp.sq (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_bridgelist.cpp (svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges. 16 years ago
ai_bridgelist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_bridgelist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_buoylist.cpp (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
ai_buoylist.hpp (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 15 years ago
ai_buoylist.hpp.sq (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 15 years ago
ai_cargo.cpp (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 15 years ago
ai_cargo.hpp (svn r15859) -Documentation: Meaning of AICargo::CC_PASSENGERS wrt. bus- and truckstops, and meaning of AICargo::IsFreight() wrt. freight train weight multiplier. 15 years ago
ai_cargo.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_cargolist.cpp (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 15 years ago
ai_cargolist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_cargolist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_company.cpp (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 15 years ago
ai_company.hpp (svn r15910) -Fix [FS#2777]: Clarify that TILE_INVALID is part of AIMap make doxygen output some documentation for it. 15 years ago
ai_company.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_controller.cpp (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
ai_controller.hpp (svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD 15 years ago
ai_controller.hpp.sq (svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD 15 years ago
ai_date.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_date.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_date.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_depotlist.cpp (svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile. 15 years ago
ai_depotlist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_depotlist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_engine.cpp (svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array. 15 years ago
ai_engine.hpp (svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort. 16 years ago
ai_engine.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_enginelist.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_enginelist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_enginelist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_error.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_error.hpp (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_error.hpp.sq (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_event.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_event.hpp (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). 16 years ago
ai_event.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_event_types.cpp (svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array. 15 years ago
ai_event_types.hpp (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_event_types.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_execmode.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_execmode.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_execmode.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_gamesettings.cpp (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
ai_gamesettings.hpp (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
ai_gamesettings.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_group.cpp (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 15 years ago
ai_group.hpp (svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed. 16 years ago
ai_group.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_grouplist.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_grouplist.hpp (svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed. 16 years ago
ai_grouplist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_industry.cpp (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
ai_industry.hpp (svn r16150) -Fix [NoAI]: Change WAYPOINT_INVALID to 0xFFFF from -1 as that's the value the AIs got (due to casting). 15 years ago
ai_industry.hpp.sq (svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID(). 16 years ago
ai_industrylist.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_industrylist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_industrylist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_industrytype.cpp (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 15 years ago
ai_industrytype.hpp (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 15 years ago
ai_industrytype.hpp.sq (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 15 years ago
ai_industrytypelist.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_industrytypelist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_industrytypelist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_list.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_list.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_list.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_log.cpp (svn r16091) -Change [FS#2778]: Reverse the order of the lines in the AI debug window 15 years ago
ai_log.hpp (svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call. 16 years ago
ai_log.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_map.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_map.hpp (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_map.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_marine.cpp (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
ai_marine.hpp (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_marine.hpp.sq (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_object.cpp (svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall. 15 years ago
ai_object.hpp (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_order.cpp (svn r16948) -Codechange: some code reductions and usage of wrapper functions 15 years ago
ai_order.hpp (svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker) 15 years ago
ai_order.hpp.sq (svn r16165) -Add [FS#2801] [NoAI]: several functions to AIOrder to check the what kind of order an order is. 15 years ago
ai_rail.cpp (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 15 years ago
ai_rail.hpp (svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS. 15 years ago
ai_rail.hpp.sq (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_railtypelist.cpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_railtypelist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_railtypelist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_road.cpp (svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings 15 years ago
ai_road.hpp (svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker) 15 years ago
ai_road.hpp.sq (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_sign.cpp (svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs 15 years ago
ai_sign.hpp (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 15 years ago
ai_sign.hpp.sq (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_signlist.cpp (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 15 years ago
ai_signlist.hpp (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 15 years ago
ai_signlist.hpp.sq (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 15 years ago
ai_station.cpp (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
ai_station.hpp (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_station.hpp.sq (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
ai_stationlist.cpp (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
ai_stationlist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_stationlist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_subsidy.cpp (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 15 years ago
ai_subsidy.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_subsidy.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_subsidylist.cpp (svn r16714) -Codechange: use pool-like accessors for Subsidy 15 years ago
ai_subsidylist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_subsidylist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_testmode.cpp (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
ai_testmode.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_testmode.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_tile.cpp (svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore 15 years ago
ai_tile.hpp (svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore 15 years ago
ai_tile.hpp.sq (svn r16172) -Fix (r16171): typo (thanks SmatZ) 15 years ago
ai_tilelist.cpp (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
ai_tilelist.hpp (svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD. 15 years ago
ai_tilelist.hpp.sq (svn r16771) -Fix: API export was forgotten causing API to think variables were uint; doesn't matter much as int was converted to uint and then back. 15 years ago
ai_town.cpp (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
ai_town.hpp (svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed. 16 years ago
ai_town.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_townlist.cpp (svn r15299) -Cleanup: remove many redundant includes 16 years ago
ai_townlist.hpp (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. 16 years ago
ai_townlist.hpp.sq (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
ai_tunnel.cpp (svn r16244) -Fix [NoAI]: Make sure AITunnel::BuildTunnel returns what the documentation says it does 15 years ago
ai_tunnel.hpp (svn r16243) -Fix [FS#2875]: CmdBuildTunnel could be called with invalid parameters from the api code, causing crashes later 15 years ago
ai_tunnel.hpp.sq (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
ai_types.hpp (svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium) 15 years ago
ai_vehicle.cpp (svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles 15 years ago
ai_vehicle.hpp (svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it. 15 years ago
ai_vehicle.hpp.sq (svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it. 15 years ago
ai_vehiclelist.cpp (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
ai_vehiclelist.hpp (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_vehiclelist.hpp.sq (svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type). 16 years ago
ai_waypoint.cpp (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
ai_waypoint.hpp (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
ai_waypoint.hpp.sq (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
ai_waypointlist.cpp (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
ai_waypointlist.hpp (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 16 years ago
ai_waypointlist.hpp.sq (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 16 years ago
squirrel_export.awk (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
squirrel_export.sh (svn r16783) -Change: make it more clear that the squirrel_export script needs gawk. 15 years ago