summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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.
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-20(svn r19487) -Codechange: Removed non-reachable return statement.alberth
2010-03-20(svn r19486) -Codechange: Code style, move var declarations closer to their ↵alberth
first use.
2010-03-20(svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more ↵alberth
readable way without changing computed costs.
2010-03-20(svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() ↵alberth
to 'length'.
2010-03-20(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.alberth
2010-03-20(svn r19482) -Doc: Doxygen additions/updates.alberth
2010-03-16(svn r19434) -Add: Add rail speed limit to land area information window.peter1138
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-13(svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost.alberth