summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2016-12-09(svn r27686) -Change: List railtype of rail tiles explicitly in the tile ↵frosch
info window.
2016-11-05(svn r27676) -Codechange: Rename catenary functions, so that they refer ↵frosch
unambiguously to either RoadCatenary or RailCatenary.
2015-06-21(svn r27312) -Fix-ish [FS#6317]: Preserve town ownership of bridges when ↵frosch
removing road from a road+tram bridge. (marcole)
2015-06-21(svn r27311) -Fix: Mark infrastructure window dirty in more cases. (marcole)frosch
2015-06-20(svn r27308) -Fix [FS#6283]: Prevent breaking of tram-reversal points by ↵frosch
adding more road pieces. (adf88)
2015-03-14(svn r27186) -Codechange: Rename AlwaysDrawUnpavedRoads() to better reflect ↵michi_cc
what it does.
2015-02-22(svn r27157) -Fix: Mark bridge middle tiles dirty when ↵frosch
building/removing/changing bridges.
2014-10-04(svn r26955) -Fix [FS#6126]: owner of road depot road types were not ↵rubidium
properly changed upon bankruptcy causing crashes when trying to remove the depot in certain situations
2014-09-22(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom ↵peter1138
level.
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
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-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-10-25(svn r24626) -Fix [FS#5432]: MSVC 2010 warnings.terkhen
2012-09-01(svn r24503) -Change [FS#5228]: When building long roads or tramways, only ↵terkhen
build the roadbits at the beginning and the end if they can connect to something.
2012-07-18(svn r24414) -Fix [FS#5221]: Disallow removing roadtypes from bridges when ↵frosch
not dragging in bridge direction.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-01-24(svn r23847) -Fix: when removing road or tram from a tram+road stop, the ↵rubidium
owner of the road stop's cache was updated instead of the owner of the removed infrastructure
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-28(svn r23684) -Cleanup: let the highway take the highwayrubidium
2011-12-19(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge ↵truebrain
(for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
2011-12-19(svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly ↵michi_cc
updated when converting rail or building level crossings.
2011-12-03(svn r23412) -Add: Company infrastructure counts for road.michi_cc
2011-12-03(svn r23411) -Add: Company infrastructure counts for rail.michi_cc
2011-11-08(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitionsyexo
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type ↵rubidium
functions use int z as well
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the terraform code
2011-11-04(svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the bridge code
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-11-04(svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use itrubidium
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-10-01(svn r22968) -Feature: Allow road corners on steep slopes.frosch
2011-09-25(svn r22960) -Feature: Allow depots, standard roadstops and airports on ↵frosch
steep slopes.
2011-08-20(svn r22765) -Cleanup: Remove unused constants and name a magic constantplanetmaker
2011-07-30(svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge ↵rubidium
or tunnel was undercalculated (adf88)
2011-05-29(svn r22516) -Codechange: Replace some magic numbers with the appropiate ↵frosch
enum values. (Eddi)
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-02-14(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few ↵planetmaker
existing comments
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-01-09(svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings ↵rubidium
with NewGRF railtypes (andythenorth)
2010-09-03(svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't ↵yexo
call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-27(svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way ↵rubidium
roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump
2010-07-25(svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at ↵alberth
the first ownership error (Krille).