Age | Commit message (Collapse) | Author |
|
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)
|