Commit Graph

294 Commits

Author SHA1 Message Date
rubidium
d946841eff (svn r22413) -Document: even more stuff 2011-05-02 20:59:54 +00:00
rubidium
87272273b5 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
rubidium
3cb12ed89c (svn r22019) -Codechange: s/functions.h/clear_func.h/ 2011-02-07 22:38:02 +00:00
rubidium
7086bb3017 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 2011-02-04 15:37:23 +00:00
rubidium
285f369969 (svn r21956) -Cleanup: always draw the bridge pillars 2011-02-04 14:38:33 +00:00
terkhen
fbad07d3df (svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company. 2011-01-14 13:19:23 +00:00
rubidium
2773233044 (svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges 2011-01-09 12:17:52 +00:00
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 2010-12-11 19:49:44 +00:00
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" 2010-12-11 18:28:34 +00:00
frosch
0ebd5af86f (svn r21291) -Fix: Treat objects on water like water in more cases. 2010-11-21 18:39:12 +00:00
frosch
dadf68fe1d (svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects. 2010-11-21 17:42:18 +00:00
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. 2010-11-12 19:40:39 +00:00
rubidium
adb1692a4d (svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657) 2010-11-10 23:43:14 +00:00
rubidium
0b0b1e4d28 (svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo) 2010-11-10 23:16:28 +00:00
rubidium
24fe5e2a62 (svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo) 2010-11-10 23:15:48 +00:00
rubidium
e08f93b977 (svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo) 2010-11-10 23:14:48 +00:00
rubidium
38b4224078 (svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo) 2010-11-10 23:13:37 +00:00
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 2010-11-10 20:15:48 +00:00
belugas
d5c8ea393d (svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work) 2010-11-04 17:42:24 +00:00
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
frosch
c7ef47ebb2 (svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo) 2010-10-22 20:04:13 +00:00
frosch
1fb1efce25 (svn r21012) -Codechange: Deduplicate some code. (Hirundo) 2010-10-22 19:57:56 +00:00
frosch
587e63f841 (svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657) 2010-10-17 13:16:00 +00:00
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 :)
2010-10-16 15:40:44 +00:00
frosch
013aba00c3 (svn r20946) -Codechange: Add helper function to draw pillar columns. 2010-10-16 15:36:51 +00:00
frosch
b7ebdb4432 (svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657) 2010-10-16 15:36:13 +00:00
frosch
ede9b2bfcf (svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657) 2010-10-16 15:35:32 +00:00
frosch
ea905e661e (svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657) 2010-10-16 15:34:59 +00:00
frosch
98cd443735 (svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI. 2010-09-13 19:45:39 +00:00
yexo
40ab36e19f (svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high 2010-09-03 23:48:12 +00:00
rubidium
34c4e8f259 (svn r20668) -Codechange: add (more) support for bridges over objects 2010-08-28 19:02:21 +00:00
rubidium
1f78d3f6ec (svn r20638) -Codechange: split object.h 2010-08-27 22:21:23 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
terkhen
2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 2010-08-09 10:59:30 +00:00
frosch
cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 2010-08-09 07:32:04 +00:00
frosch
12ed2a7597 (svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile. 2010-08-09 07:30:50 +00:00
frosch
548f2cbf4e (svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge. 2010-08-09 07:19:44 +00:00
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. 2010-08-08 10:59:30 +00:00
rubidium
e72a0a39bb (svn r20340) -Codechange: introduce some flags for objects and use them in some places 2010-08-03 12:07:55 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium
035d0ef16b (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 2010-07-19 17:00:54 +00:00
rubidium
b4d4e5722a (svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges 2010-05-22 14:12:48 +00:00
rubidium
f2d86acbd9 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 2010-05-13 11:19:30 +00:00
terkhen
3f477acac5 (svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash. 2010-04-25 20:56:42 +00:00
terkhen
170ad8a3c9 (svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks. 2010-04-25 13:56:51 +00:00
terkhen
b78e76c138 (svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct. 2010-04-25 13:47:13 +00:00
frosch
ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00