summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2019-12-01Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)Niels Martin Hansen
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.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2010-06-11(svn r19958) -Codechange: move common code from Waypoint and Station ↵smatz
destructors to BaseStation destructor
2010-06-11(svn r19957) -Codechange: remove VLW_WAYPOINT_LISTsmatz
2010-06-10(svn r19956) -Fix: close list of vehicles with given oil rig in orders when ↵smatz
the oil rig is deleted -Fix (r19952): close the list when it is not sticky
2010-06-10(svn r19951) -Fix [FS#3869]: close buoy's vehicle list when the buoy is deletedsmatz
2010-01-01(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to ↵rubidium
NewGRFs in case of multi tile waypoints
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
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.
2009-07-21(svn r16897) -Codechange: use the 'generic' station spec to station ↵rubidium
allocation for waypoints too
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-18(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawingrubidium
2009-07-18(svn r16869) -Codechange: make drawing waypoints a tiny bit more like ↵rubidium
drawing stations
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-17(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.rubidium
2009-07-17(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like ↵rubidium
used for e.g. stations
2009-07-17(svn r16862) -Codechange: make waypoints use the same system of station ↵rubidium
station spec lists.
2009-07-17(svn r16860) -Codechange: introduce a helper to assign a station spec to ↵rubidium
Waypoints
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-16(svn r16850) -Codechange: unify some naming of variables between waypoints ↵rubidium
and stations.
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-03-13(svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp.belugas
2009-02-26(svn r15589) -Fix: drawing of waypoints with invalid owner was brokensmatz
-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
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare ↵smatz
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).
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-14(svn r14322) -Fix (r10368): possible assert when renaming removed waypointsmatz
2008-09-09(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() ↵smatz
and IsRailWaypoint() checks at several places
2008-09-07(svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of ↵smatz
explicit destructor call instead of using operator delete
2008-08-31(svn r14210) -Codechange: remove a useless check when creating new waypointsmatz
2008-08-23(svn r14145) -Fix (r14135, r14141): When savegame conversion cannot ↵frosch
determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
2008-08-23(svn r14143) -Codechange: Recenter viewport of waypoint window when ↵frosch
relocating the waypoint.
2008-08-23(svn r14142) -Codechange: Disallow taking over greyed waypoints of other ↵frosch
companies.