Commit Graph

276 Commits (25e638adcb62266f36636c704ce40c0af54ef762)

Author SHA1 Message Date
belugas d5c8ea393d (svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work) 14 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
frosch c7ef47ebb2 (svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo) 14 years ago
frosch 1fb1efce25 (svn r21012) -Codechange: Deduplicate some code. (Hirundo) 14 years ago
frosch 587e63f841 (svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657) 14 years ago
frosch 31ecda7cdc (svn r20947) -Change: Draw bridgepillars with correct length on all tile 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 :)
14 years ago
frosch 013aba00c3 (svn r20946) -Codechange: Add helper function to draw pillar columns. 14 years ago
frosch b7ebdb4432 (svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657) 14 years ago
frosch ede9b2bfcf (svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657) 14 years ago
frosch ea905e661e (svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657) 14 years ago
frosch 98cd443735 (svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI. 14 years ago
yexo 40ab36e19f (svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high 14 years ago
rubidium 34c4e8f259 (svn r20668) -Codechange: add (more) support for bridges over objects 14 years ago
rubidium 1f78d3f6ec (svn r20638) -Codechange: split object.h 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
terkhen 2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 14 years ago
frosch cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 14 years ago
frosch 12ed2a7597 (svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile. 14 years ago
frosch 548f2cbf4e (svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge. 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
rubidium e72a0a39bb (svn r20340) -Codechange: introduce some flags for objects and use them in some places 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 035d0ef16b (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 14 years ago
rubidium b4d4e5722a (svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges 14 years ago
rubidium f2d86acbd9 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 14 years ago
terkhen 3f477acac5 (svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash. 14 years ago
terkhen 170ad8a3c9 (svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks. 14 years ago
terkhen b78e76c138 (svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct. 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 0e7653fd7b (svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel. 14 years ago
alberth 581c110bfe (svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge. 14 years ago
alberth 141761a333 (svn r19560) -Fix: Bridge build error message should not show the same message twice. 14 years ago
alberth f185e5a8d7 (svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability(). 14 years ago
frosch 95ede5ac6f (svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth 21bd55939d (svn r19487) -Codechange: Removed non-reachable return statement. 14 years ago
alberth e93fea29fd (svn r19486) -Codechange: Code style, move var declarations closer to their first use. 14 years ago
alberth 885547b884 (svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs. 14 years ago
alberth 42946f2a40 (svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'. 14 years ago
alberth 8109a0ad7f (svn r19483) -Codechange: Code layout fixes, and parentheses reduction. 14 years ago
alberth 68ee4aa7d6 (svn r19482) -Doc: Doxygen additions/updates. 14 years ago
peter1138 a7b93cdeb5 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth a4a7465fe7 (svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost. 15 years ago
alberth ae5b11321b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 15 years ago
frosch da82483b83 (svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation. 15 years ago
alberth 6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago