summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
2011-01-14(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after ↵terkhen
removing a company.
2011-01-09(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridgesrubidium
2010-12-11(svn r21471) -Change [FS#4153]: make building aqueducts behave more like ↵rubidium
building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
2010-12-11(svn r21468) -Change: make sure the end of a bridge is always a valid tile ↵rubidium
as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
2010-11-21(svn r21291) -Fix: Treat objects on water like water in more cases.frosch
2010-11-21(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle ↵frosch
DC_AUTO-clearable multitile objects.
2010-11-12(svn r21153) -Change: unify the moment trains/road vehicles become ↵rubidium
(un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
2010-11-10(svn r21142) -Codechange: replace magic bridge length constants with proper ↵rubidium
constants (uni657)
2010-11-10(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry ↵rubidium
code as well (Hirundo)
2010-11-10(svn r21140) -Codechange: Use the new 'frame' variable to handle road ↵rubidium
vehicles entering or leaving a tunnel (Hirundo)
2010-11-10(svn r21139) -Codechange: Use the new 'frame' variable to handle trains ↵rubidium
entering or leaving a tunnel (Hirundo)
2010-11-10(svn r21138) -Codechange: Introduce the concepts of frame and position in ↵rubidium
the tunnel / bridge entering code (Hirundo)
2010-11-10(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons ↵rubidium
of a vehicle, not just the head of the vehicle
2010-11-04(svn r21079) -Codechange: replace magic numbers with already defined ↵belugas
constant ("inspired" by Hirundo's work)
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-22(svn r21013) -Cleanup: Replace some magic value mappings with existing ↵frosch
conversion functions. (Hirundo)
2010-10-22(svn r21012) -Codechange: Deduplicate some code. (Hirundo)frosch
2010-10-17(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)frosch
2010-10-16(svn r20947) -Change: Draw bridgepillars with correct length on all tile ↵frosch
corners by drawing only half of the pillar sprite if required. (based on patch by uni657) Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
2010-10-16(svn r20946) -Codechange: Add helper function to draw pillar columns.frosch
2010-10-16(svn r20945) -Codechange: Add helper function to draw single pillar sprites. ↵frosch
(based on patch by uni657)
2010-10-16(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)frosch
2010-10-16(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)frosch
2010-09-13(svn r20802) -Fix: Building bridges on water/watery objects behaved ↵frosch
inconsistently for towns and the bridge selection GUI.
2010-09-03(svn r20732) -Fix: when trying to build a bridge over an object, try to ↵yexo
autoremove the object if it's too high
2010-08-28(svn r20668) -Codechange: add (more) support for bridges over objectsrubidium
2010-08-27(svn r20638) -Codechange: split object.hrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.frosch
2010-08-09(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using ↵frosch
the southern bridgehead as tile.
2010-08-09(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the ↵frosch
tileheight at the entry edge.
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-03(svn r20340) -Codechange: introduce some flags for objects and use them in ↵rubidium
some places
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-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more ↵rubidium
logical place and with a more descriptive name
2010-05-22(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels ↵rubidium
and bridges
2010-05-13(svn r19816) -Codechange: use static const uint for the unnamed 'tile ↵rubidium
consts' enum as well
2010-04-25(svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts ↵terkhen
caused a crash.
2010-04-25(svn r19720) -Feature: New base costs for building/clearing canals, ↵terkhen
building/clearing aqueducts and building/clearing locks.
2010-04-25(svn r19717) -Fix: The cost of the first bridge type was added when building ↵terkhen
an aqueduct.
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-04-14(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.frosch
2010-04-04(svn r19561) -Feature: Give more detailed error message when trying to build ↵alberth
a too long bridge.
2010-04-04(svn r19560) -Fix: Bridge build error message should not show the same ↵alberth
message twice.
2010-04-04(svn r19559) -Codechange: Rename CheckBridge_Stuff() to ↵alberth
CheckBridgeAvailability().
2010-03-23(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one ↵frosch
roadtype.