glx
ddabfed1cd
Codechange: Replace station related FOR_ALL with range-based for loops
5 years ago
Niels Martin Hansen
9900af38f5
Fix #7847 : Use ViewportSign coordinates for sign Kdtree coordinates ( #7849 )
...
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.
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
stormcone
2817cd41f1
Fix #7250 : Viewport kdtree not being updated for waypoints when sign moved.
...
Code based on the patch by JGRennison.
JGRennison/OpenTTD-patches@ac84f34062
5 years ago
peter1138
f538179878
Feature: Multi-tile docks and docking points.
5 years ago
PeterN
abe8cf4985
Codechange: Replace duplicated code with TileArea::Expand() ( #7467 )
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Niels Martin Hansen
e8d397e4ee
Codechange: Make a merged k-d tree index of all viewport signs
6 years ago
J0an Josep
67f6bcdc9b
Fix #6805 : Update CmdBuilRailWaypoint bits.
6 years ago
peter1138
3aad5abfe9
(svn r27785) -Fix [FS#6508]: Buoys not always drawn after being placed depending on zoom level (Samu).
8 years ago
rubidium
9daf7e749c
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
zuu
dfb5663313
(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
11 years ago
frosch
0f0e7e43cf
(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount().
13 years ago
alberth
4af8c2d5e1
(svn r23704) -Doc: Doxygen comment fixes and additions.
13 years ago
michi_cc
f98312eb77
(svn r23414) -Add: Company infrastructure counts for stations/airports.
13 years ago
peter1138
3e1d070413
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
13 years ago
rubidium
2ed0f93bfb
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
rubidium
faf5d899f7
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
14 years ago
smatz
3057a26fd5
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
14 years ago
terkhen
53c9846f14
(svn r21806) -Codechange: Correct additional appearances of the same typo.
14 years ago
rubidium
44d1c55347
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
14 years ago
frosch
612516ff76
(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.
14 years ago
rubidium
af18c30f30
(svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
yexo
a2ba35f57c
(svn r20749) -Fix: allow overbuilding objects with buoys and ship depots
14 years ago
frosch
4901d42140
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
14 years ago
frosch
03ab158935
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
14 years ago
rubidium
edbadde301
(svn r20406) -Codechange: make StationClass use the new generic class
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
863ff6522b
(svn r19798) -Codechange: generalise the waypoint naming method
15 years ago
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
alberth
05d705e077
(svn r19494) -Codechange: Remove _error_message.
15 years ago
alberth
7cc68f493d
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
alberth
6a3dbaf99a
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
15 years ago
alberth
c395b93acd
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
15 years ago
alberth
b8f811c7ff
(svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost.
15 years ago
alberth
a4927dcd21
(svn r19273) -Codechange: Return station joining error message when error is detected.
15 years ago
yexo
7f998ce80d
(svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict
15 years ago
yexo
c8c61faff2
(svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone
15 years ago
rubidium
9426f2b173
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
15 years ago
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago
frosch
830231e2bd
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, 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.
15 years ago
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
15 years ago
frosch
ba1fc280e3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
15 years ago