Commit Graph

301 Commits (25b3869c3bf272d3bac07e0f481206df97041244)

Author SHA1 Message Date
rubidium 5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium f923ede158 (svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code 13 years ago
rubidium fd992c9fd8 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 13 years ago
rubidium a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
terkhen f45bf2d1af (svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor. 13 years ago
rubidium c691b4c49e (svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88) 13 years ago
rubidium d946841eff (svn r22413) -Document: even more stuff 14 years ago
rubidium 87272273b5 (svn r22405) -Document: some more "random-ish" tidbits 14 years ago
rubidium 3cb12ed89c (svn r22019) -Codechange: s/functions.h/clear_func.h/ 14 years ago
rubidium 7086bb3017 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 14 years ago
rubidium 285f369969 (svn r21956) -Cleanup: always draw the bridge pillars 14 years ago
terkhen fbad07d3df (svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company. 14 years ago
rubidium 2773233044 (svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges 14 years ago
rubidium 0f52366443 (svn r21471) -Change [FS#4153]: make building aqueducts behave more like 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 14 years ago
rubidium 3d6ba9ab0d (svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height" 14 years ago
frosch 0ebd5af86f (svn r21291) -Fix: Treat objects on water like water in more cases. 14 years ago
frosch dadf68fe1d (svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects. 14 years ago
rubidium 127a70cb19 (svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone. 14 years ago
rubidium adb1692a4d (svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657) 14 years ago
rubidium 0b0b1e4d28 (svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo) 14 years ago
rubidium 24fe5e2a62 (svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo) 14 years ago
rubidium e08f93b977 (svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo) 14 years ago
rubidium 38b4224078 (svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo) 14 years ago
rubidium 06bb553545 (svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle 14 years ago
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