Age | Commit message (Collapse) | Author |
|
|
|
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.
By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
|
|
|
|
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
destructors to BaseStation destructor
|
|
|
|
the oil rig is deleted
-Fix (r19952): close the list when it is not sticky
|
|
|
|
NewGRFs in case of multi tile waypoints
|
|
|
|
|
|
waypoint_func.h
|
|
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.
|
|
allocation for waypoints too
|
|
functions work for both stations and waypoints
|
|
|
|
drawing stations
|
|
|
|
|
|
used for e.g. stations
|
|
station spec lists.
|
|
Waypoints
|
|
struct and make it more similar to Station.
|
|
and stations.
|
|
UpdateAll[Type]VirtCoords.
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
|
|
|
|
|
|
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
|
|
|
|
|
|
only with manually set names
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
|
|
|
|
|
|
depots, industries, towns and waypoints
|
|
(optional) parameter.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
|
|
|
|
and IsRailWaypoint() checks at several places
|
|
explicit destructor call instead of using operator delete
|
|
|
|
determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
|
|
relocating the waypoint.
|
|
companies.
|