summaryrefslogtreecommitdiff
path: root/src/waypoint_cmd.cpp
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
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-07-22Fix #7250: Viewport kdtree not being updated for waypoints when sign moved.stormcone
Code based on the patch by JGRennison. JGRennison/OpenTTD-patches@ac84f34062ef1f3ffcdee49dc595d574e4efb4d5
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-04-13Codechange: Replace duplicated code with TileArea::Expand() (#7467)PeterN
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2018-08-04Fix #6805: Update CmdBuilRailWaypoint bits.J0an Josep
2017-03-12(svn r27785) -Fix [FS#6508]: Buoys not always drawn after being placed ↵peter1138
depending on zoom level (Samu).
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
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
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-03(svn r23414) -Add: Company infrastructure counts for stations/airports.michi_cc
2011-11-24(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.peter1138
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-02-04(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support ↵smatz
for uniform stations has been broken for over a year
2011-01-15(svn r21806) -Codechange: Correct additional appearances of the same typo.terkhen
2010-12-05(svn r21415) -Codechange: limit station/waypoint name by amount of ↵rubidium
characters, not bytes
2010-11-21(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.frosch
2010-09-16(svn r20816) -Codechange [FS#3835]: make waypoint default names work like ↵rubidium
depots, stations and vehicles (Krille)
2010-09-05(svn r20749) -Fix: allow overbuilding objects with buoys and ship depotsyexo
2010-08-27(svn r20636) -Codechange: Move MarkTileDirtyByTile() and ↵frosch
DeleteAnimatedTile() into MakeWaterKeepingClass().
2010-08-20(svn r20579) -Change (r1579): Allow removing of buoys if they are only used ↵frosch
by own vehicles.
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-12(svn r19798) -Codechange: generalise the waypoint naming methodrubidium
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-06(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-27(svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost.alberth
2010-02-27(svn r19273) -Codechange: Return station joining error message when error is ↵alberth
detected.
2010-01-26(svn r18921) -Codechange: make the preconditions for Get/Set ↵yexo
CustomStationSpecIndex a bit more strict
2010-01-02(svn r18692) -Fix: after a company went bankrupt it was impossible to build ↵yexo
a new waypoint close to a deleted one until the grey sign was gone
2009-12-02(svn r18379) -Codechange: move the cache updating function to its own header ↵rubidium
to reduce the include 'pathfinder' dependencies
2009-12-01(svn r18364) -Codechange: move the pathfinders and their related files into ↵rubidium
a separate directory
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns. If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos