Jonathan G Rennison
d03139b241
Use separate bits for signals on bridge/tunnel entrance/exit red/green states
2018-06-17 04:01:31 +01:00
Jonathan G Rennison
c92a28a072
Preserve signal simulation/reservation data when upgrading bridges.
...
Based on commit 301925f948c9b36966c9c668e1476c2485425338
2018-04-25 22:32:50 +01:00
Jonathan G Rennison
e1ee952b85
Fix crash when updating infrastructure totals when deleting bridge with signals.
2017-02-12 12:17:43 +00:00
Jonathan G Rennison
d762835903
Signals on tunnel/bridges are now added to infrastructure stats.
2017-01-30 21:37:17 +00:00
Jonathan G Rennison
074555e41d
Merge branch 'save_ext' into signal_tunnels_bridges
2016-12-28 15:06:08 +00:00
frosch
4753097c3d
(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
2016-12-09 21:27:22 +00:00
frosch
616c02c42e
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
2016-11-05 11:53:03 +00:00
Jonathan G Rennison
556594f2f0
Extend bridge signal simulation to support an unlimited no. of signals.
...
This is instead of the previous limit of 16, all stored in M2.
2016-09-18 20:06:59 +01:00
Jonathan G Rennison
0d2e9f91bf
Adjust signal on bridge/tunnel map bits, rename accessors, add docs.
...
Use same bit to store red/green state for entrances and exits.
No longer re-use exit bit to store red/green state of entrance.
Avoid modifying the M2 of tunnel entrances/exits.
Rename and rationalise map accessor functions.
Document bits used in landscape HTML docs.
2016-09-18 20:06:39 +01:00
Jonathan G Rennison
35b93a42ac
Enable bridge/tunnel exit signals to be one-way PBS.
...
Add signal conversion support.
2016-02-20 23:49:06 +00:00
Jonathan G Rennison
1a2b5e5172
Also draw signals for tunnel exits.
2016-02-20 23:45:07 +00:00
Jonathan G Rennison
3861968765
Enable setting semaphore/electric type of signals on bridges/tunnels.
2016-02-20 23:44:21 +00:00
Jonathan G Rennison
2b4dbf582a
Show tunnel/bridge exit signal facing correct way with correct colour.
2016-02-20 23:38:33 +00:00
Jonathan G Rennison
a25ac7a161
Enable signals on bridges/tunnels to work with PBS.
2016-02-20 23:34:06 +00:00
Jonathan G Rennison
b3e03e8cf9
Fix middle of bridge not being redrawn when adding removing signals.
2015-11-01 14:05:22 +00:00
Jonathan G Rennison
e07e4fdb8e
Merge branch 'master' into signal_tunnels_bridges
2015-11-01 14:02:13 +00:00
Jonathan G Rennison
22a5c6d459
Minor fixes in CmdRemoveSingleSignal
...
Whitespace fixes
2015-08-01 20:26:41 +01:00
patch-import
59b0b18aa2
Import signals on tunnels and bridges patch
...
http://www.tt-forums.net/viewtopic.php?p=1140215#p1140215
2015-08-01 20:25:59 +01:00
frosch
90d50d78c0
(svn r27313) -Fix [FS#6317]: Adding tram to town-owned bridges assigned an incorrect owner to the tram and did not count infrastructure counts properly. (marcole)
2015-06-21 09:52:30 +00:00
frosch
bba85a6e01
(svn r27209) -Add: Draw path reservation on the whole bridge, not only on the bridge heads.
2015-03-28 14:04:06 +00:00
frosch
5503af7bfa
(svn r27208) -Fix: Draw correct overlay sprites for path reservations on bridges and tunnels.
2015-03-28 14:03:26 +00:00
frosch
bd3a8bf9e4
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
2015-02-22 14:01:24 +00:00
rubidium
647a3c8e5f
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
2014-09-21 11:40:11 +00:00
rubidium
dc2b4f2498
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
2014-09-21 11:24:51 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
frosch
2ce5034005
(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in the TileInfo window.
2014-01-26 13:50:10 +00:00
rubidium
baad79b1b6
(svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land
2013-11-25 16:26:50 +00:00
rubidium
157a3d3be4
(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()
2013-11-23 18:13:30 +00:00
frosch
0ca316e1d9
(svn r25231) -Fix (r25227): Also update infrastructure counts. (adf88)
2013-05-07 13:49:18 +00:00
frosch
dd7d470808
(svn r25227) -Fix [FS#5541]: Give bridges owned by noone (from bankrupt companies) to the first company which replaces the bridge. Everyone could have removed/rebuild the bridge anyway.
2013-05-06 15:41:34 +00:00
frosch
4c4010970a
(svn r25141) -Fix: When extra dynamite was disabled, towns would be allowed to clear bridges with trams.
2013-04-03 20:25:06 +00:00
frosch
5bf6513dfc
(svn r24912) -Fix [FS#5389]: Upgrading bridges could steal road types. (adf88)
2013-01-13 13:17:12 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
92a2302dbd
(svn r24895) -Fix [FS#5436]: Allow downgrade of road bridges in the scenario editor
2013-01-08 17:56:43 +00:00
frosch
1e327a20c4
(svn r24413) -Add [FS#5221-ish]: Allow overbuilding bridges with the same type when adding a roadtype.
2012-07-18 19:24:13 +00:00
rubidium
76d5833650
(svn r24179) -Codechange: move some variables of Town to TownCache
2012-04-25 20:50:13 +00:00
michi_cc
ff73fdb4b0
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
2012-02-15 21:23:48 +00:00
frosch
4705dc84b1
(svn r23864) -Fix: Railtype overlays were drawn 'only transparent' on invisible bridges.
2012-01-28 18:11:18 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
truebrain
102c7ae60e
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
2011-12-19 21:02:33 +00:00
frosch
b43fdd903a
(svn r23586) -Fix: Draw PBS reservation also for bridges with railtype overlays.
2011-12-17 23:22:27 +00:00
frosch
cecf7c4bc4
(svn r23584) -Fix: Draw PBS reservations also for tunnels with railtype overlays.
2011-12-17 23:14:28 +00:00
michi_cc
796fe54a2f
(svn r23413) -Add: Company infrastructure counts for canals.
2011-12-03 23:40:23 +00:00
michi_cc
7a6b45c133
(svn r23412) -Add: Company infrastructure counts for road.
2011-12-03 23:40:18 +00:00
michi_cc
85ec2f07af
(svn r23411) -Add: Company infrastructure counts for rail.
2011-12-03 23:40:13 +00:00
yexo
36e61e08b3
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
2011-11-08 17:37:32 +00:00
rubidium
e8eb3fe381
(svn r23110) -Codechange: let the flying altitude return ints are well
2011-11-04 13:40:59 +00:00
rubidium
0e2d2b2317
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
2011-11-04 11:52:19 +00:00
rubidium
fb9fb416a1
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
2011-11-04 11:36:10 +00:00
rubidium
70faeeaba9
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
2011-11-04 11:30:37 +00:00