summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-01-05Fix 6a3d411: Silence truncation warningNiels Martin Hansen
2018-10-31Codechange: Merge some duplicated functionsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2018-07-22Fix: Use after free in CmdBuildTunnel (#6856)Jonathan G Rennison
Use after free could occur when when excavating far end removed multiple NewGRF objects
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 r27313) -Fix [FS#6317]: Adding tram to town-owned bridges assigned an ↵frosch
incorrect owner to the tram and did not count infrastructure counts properly. (marcole)
2015-03-28(svn r27209) -Add: Draw path reservation on the whole bridge, not only on ↵frosch
the bridge heads.
2015-03-28(svn r27208) -Fix: Draw correct overlay sprites for path reservations on ↵frosch
bridges and tunnels.
2015-02-22(svn r27157) -Fix: Mark bridge middle tiles dirty when ↵frosch
building/removing/changing bridges.
2014-09-21(svn r26882) -Feature: allow limiting the height of bridges (ic111)rubidium
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
2014-01-26(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in ↵frosch
the TileInfo window.
2013-11-25(svn r26111) -Fix: theoretical case where sprite table could be overread for ↵rubidium
aqueducts that start at flat land
2013-11-23(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()rubidium
2013-05-07(svn r25231) -Fix (r25227): Also update infrastructure counts. (adf88)frosch
2013-05-06(svn r25227) -Fix [FS#5541]: Give bridges owned by noone (from bankrupt ↵frosch
companies) to the first company which replaces the bridge. Everyone could have removed/rebuild the bridge anyway.
2013-04-03(svn r25141) -Fix: When extra dynamite was disabled, towns would be allowed ↵frosch
to clear bridges with trams.
2013-01-13(svn r24912) -Fix [FS#5389]: Upgrading bridges could steal road types. (adf88)frosch
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2013-01-08(svn r24895) -Fix [FS#5436]: Allow downgrade of road bridges in the scenario ↵planetmaker
editor
2012-07-18(svn r24413) -Add [FS#5221-ish]: Allow overbuilding bridges with the same ↵frosch
type when adding a roadtype.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-02-15(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types ↵michi_cc
(sprites by Snail).
2012-01-28(svn r23864) -Fix: Railtype overlays were drawn 'only transparent' on ↵frosch
invisible bridges.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
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-17(svn r23586) -Fix: Draw PBS reservation also for bridges with railtype overlays.frosch
2011-12-17(svn r23584) -Fix: Draw PBS reservations also for tunnels with railtype ↵frosch
overlays.
2011-12-03(svn r23413) -Add: Company infrastructure counts for canals.michi_cc
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 r23110) -Codechange: let the flying altitude return ints are wellrubidium
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 r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the tunnel 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 r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-08-24(svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the ↵terkhen
scenario editor.
2011-07-30(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated ↵rubidium
when adding road types as well (based on patch by adf88)
2011-05-02(svn r22413) -Document: even more stuffrubidium
2011-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium