Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-06 | (svn r21992) -Fix [FS#4467]: AIs trying to change the ↵ | yexo | |
AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags | |||
2011-01-31 | (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵ | frosch | |
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list. | |||
2011-01-23 | (svn r21900) -Fix: [NoAI] hide automatic orders from AIs as they have no way ↵ | yexo | |
of dealing with them | |||
2011-01-22 | (svn r21890) -Cleanup: remove some unneeded includes | rubidium | |
2011-01-22 | (svn r21888) -Codechange: remove some unneeded (for the AI header) headers ↵ | rubidium | |
from some AI headers, reducing the include tree | |||
2010-12-21 | (svn r21571) -Codechange: Having a break after a return is no good. | alberth | |
2010-08-19 | (svn r20571) -Codechange: free/reserve some bits in the order commands to ↵ | rubidium | |
increase the vehicle pool limit | |||
2010-08-06 | (svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid ↵ | rubidium | |
Order)" orders. [NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders. | |||
2010-03-19 | (svn r19464) -Codechange: move GetHangarTile to Airport | yexo | |
2010-03-19 | (svn r19463) -Codechange: add helper function to determine if an airport has ↵ | yexo | |
at least one hangar | |||
2010-03-18 | (svn r19455) -Codechange: split all airport information in Station to a ↵ | yexo | |
seperate class | |||
2010-02-22 | (svn r19198) -Codechange: store the size of stations in savegames | yexo | |
2010-02-04 | (svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop ↵ | yexo | |
location of trains in a rail station | |||
2010-01-27 | (svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile | yexo | |
2010-01-27 | (svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a ↵ | yexo | |
non-waypoint tile when the waypoint was a multitile waypoint | |||
2010-01-18 | (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a ↵ | yexo | |
station | |||
2010-01-15 | (svn r18807) -Codechange: introduce AirportSpec and move several ↵ | yexo | |
non-statemachine-related variables to there | |||
2009-12-30 | (svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order ↵ | rubidium | |
destination of a 'nearest depot' order | |||
2009-12-16 | (svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest ↵ | yexo | |
depot orders | |||
2009-12-12 | (svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen ↵ | frosch | |
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well... | |||
2009-10-04 | (svn r17693) -Cleanup: remove some unneeded includes | rubidium | |
2009-09-10 | (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' ↵ | rubidium | |
with GetDepotIndex(tile) | |||
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-08-18 | (svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. ↵ | yexo | |
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api. -Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version. | |||
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 functions | rubidium | |
2009-07-25 | (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵ | rubidium | |
trainst_h. | |||
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-10 | (svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too | rubidium | |
2009-06-24 | (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() | smatz | |
2009-06-24 | (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() | smatz | |
2009-06-23 | (svn r16640) -Codechange: move roadstop stuff to separate files | smatz | |
2009-06-01 | (svn r16491) -Codechange: Added parentheses around bitwise operators for ↵ | alberth | |
code style. | |||
2009-05-23 | (svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle | rubidium | |
2009-05-16 | (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) | smatz | |
2009-05-06 | (svn r16239) -Fix (r16199): Use the stop/non-stop intermediate orderflags ↵ | yexo | |
AIs can give for goto-depot orders | |||
2009-05-02 | (svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder(). | frosch | |
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part. -Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'. | |||
2009-04-26 | (svn r16165) -Add [FS#2801] [NoAI]: several functions to AIOrder to check ↵ | yexo | |
the what kind of order an order is. -Fix: AIOrder::GetOrderDestination and AIOrder::GetOrderFlags didn't work on ORDER_CURRENT when the vehicle was loading/leaving in a station. | |||
2009-04-21 | (svn r16109) -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a ↵ | yexo | |
tile belonging to the station | |||
2009-04-21 | (svn r16108) -Fix [NoAI]: When giving an aircraft a goto-hangar order don't ↵ | yexo | |
let it be a normal goto-station order. Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location). | |||
2009-04-20 | (svn r16107) -Add [NoAI]: AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to ↵ | yexo | |
allow stop-in-depot orders | |||
2009-04-20 | (svn r16106) -Fix [NoAI]: AIOrder::SetOrderFlags always removed "Service if ↵ | yexo | |
needed" from goto-depot orders. | |||
2009-04-15 | (svn r16062) -Fix (r16037): AIOrder::InsertOrder was broken. Default all AI ↵ | frosch | |
orders to 'stop at far end'. | |||
2009-03-12 | (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). | yexo | |
2009-03-04 | (svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to ↵ | yexo | |
AIOrder::SetOrderFlags(). | |||
2009-02-19 | (svn r15527) -Fix (r15526): A ')' too much. | yexo | |
2009-02-19 | (svn r15526) -Add [NoAI]: Support for conditional orders. | yexo | |
2009-01-31 | (svn r15299) -Cleanup: remove many redundant includes | smatz | |
2009-01-16 | (svn r15101) -Change [API CHANGE]: more consistant naming for consts: | truebrain | |
INVALID_TOWN_RATING -> TOWN_RATING_INVALID INVALID_TRANSPORT -> TRANSPORT_INVALID INVALID_ORDER -> ORDER_INVALID INVALID_GROUP -> GROUP_INVALID GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/.. MY_COMPANY -> COMPANY_SELF FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID |