Age | Commit message (Collapse) | Author |
|
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
|
|
GetRoadStopByTile() cannot return NULL. Remove therefore unnecessary check
|
|
station is very spread out
|
|
Turn GetPrimaryRoadStop() into a method of struct Station
|
|
Do not try to invalidate a window which just got deleted. It is pointless
|
|
Do not call ClearSlot() just before calling DeleteVehicle(), which does it too
|
|
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
|
|
values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
|
|
OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|