Age | Commit message (Collapse) | Author |
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
when it's not necessary.
|
|
needed.
|
|
useless includes.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
their respective places.
|
|
|
|
order.h too
|
|
load/unload/transfert for them
|
|
the remaining to fit with the naming style
|
|
remaining to fit with the naming style
|
|
style
|
|
makes it lose it's order index and service interval. Patch by jthill.
|
|
|
|
|
|
similarly for AddBlock*.
|
|
super class.
|
|
|
|
|
|
easily modified.
|
|
|
|
|
|
when clicking on the "skip" button while pressing CTRL.
|
|
strictness.
|
|
and we are currently (un)loading.
|
|
|
|
|
|
one more vehicle and no orders, segfaulted
|
|
inclusion. This time, brought to you by the letter O
|
|
shared link with only 2 vehicles
|
|
list while having the shared order vehicle list open.
|
|
stop in bus or truck stops.
|
|
check if they are in use
|
|
coding style (and rest of the code).
|
|
|
|
-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)
|