Age | Commit message (Collapse) | Author |
|
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot)
Also do a better job in determining the preceding order
NOTE: 0.5 candidate
|
|
Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
|
|
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
|
|
Abbreviate GetAirport(st->airport_type) to st->Airport()
|
|
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
|
|
VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format
|
|
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
|
|
|
|
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|