Age | Commit message (Collapse) | Author |
|
|
|
trainst_h.
|
|
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
|
|
it's written.
|
|
|
|
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.
|
|
functions work for both stations and waypoints
|
|
with some extra checks.
|
|
|
|
(to be shared with waypoints)
|
|
can be reused for Waypoints.
|
|
meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
|
|
|
|
item from the pool
|
|
instead of 'byte'.
|
|
that bit 7... but it was a word wasting space etc.
|
|
header files
|
|
instead of searching them everytime payment is made
|
|
|
|
|
|
functions to header file
|
|
zero in station and rs constructors, remove debug output
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
variable instead of var->index
|
|
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time.
|
|
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
|
|
default name for nearby station).
|
|
Station::GetCatchmentRadius().
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
|
|
(Thanks to mart3p for samples and fixes)
|
|
(especially because newgrf_station.h includes a lot of stuff).
|
|
station_func.h.
|