Commit Graph

401 Commits (0dd3ff23de8ea06ed06c5d248be0f1224c45188b)

Author SHA1 Message Date
Jonathan G Rennison d762835903 Signals on tunnel/bridges are now added to infrastructure stats. 8 years ago
Jonathan G Rennison 074555e41d Merge branch 'save_ext' into signal_tunnels_bridges 8 years ago
frosch 4e2ecbb5a1 (svn r27690) -Fix: Old compilers do not zero-initialise POD members when explicitly calling implicitly created default constructors. 8 years ago
frosch 0360e61dae (svn r27688) -Fix-ish: Initialise new railtypes with the original railtype data, though strictly NewGRF could only have modified 'label' and 'alternate_labels' at the time AllocateRailType is called, which are reset anyway. 8 years ago
frosch 00b422712e (svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading NewGRF. (adf88) 8 years ago
frosch 4753097c3d (svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window. 8 years ago
frosch 616c02c42e (svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary. 8 years ago
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.
8 years ago
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.
8 years ago
Jonathan G Rennison 8a59b960d4 Fix missing include in parent commit. 8 years ago
Jonathan G Rennison 8281041784 Fix action cost estimation for signal dragging over bridge/tunnels.
If a bridge/tunnel entrance is signalled, blacklist the far end.
8 years ago
keldorkatarn 095229128d Fix crash when dragging two-directional block signals onto a bridge or tunnel
(cherry picked from commit 4199ba5981b2761d5226ebc89b315f00e62e1a3a)
8 years ago
Jonathan G Rennison 35b93a42ac Enable bridge/tunnel exit signals to be one-way PBS.
Add signal conversion support.
8 years ago
Jonathan G Rennison 69c2cf352e Fix drag-convert not updating bridge/tunnel direction correctly. 8 years ago
Jonathan G Rennison 3861968765 Enable setting semaphore/electric type of signals on bridges/tunnels. 8 years ago
Jonathan G Rennison 95a329a4b9 Fix signals on far side of bridge not being updated when adding/removing signals. 9 years ago
Jonathan G Rennison b3e03e8cf9 Fix middle of bridge not being redrawn when adding removing signals. 9 years ago
Jonathan G Rennison e07e4fdb8e Merge branch 'master' into signal_tunnels_bridges 9 years ago
Jonathan G Rennison 654afdc113 Fix removing signals from bridges not updating adjacent signals.
Fix minor whitespace/code issues.
9 years ago
frosch ade25fff71 (svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window. 9 years ago
Jonathan G Rennison 20f1f48983 Fix add/removing signals on bridges/tunnels not checking train occupancy.
Fix compiler warning.
9 years ago
Jonathan G Rennison 22a5c6d459 Minor fixes in CmdRemoveSingleSignal
Whitespace fixes
9 years ago
patch-import 59b0b18aa2 Import signals on tunnels and bridges patch
http://www.tt-forums.net/viewtopic.php?p=1140215#p1140215
9 years ago
frosch 4eb6ce863a (svn r27354) -Fix (r27343): Actually make it work. (rubidium) 9 years ago
frosch 13a726b18f (svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side. 9 years ago
frosch 0efffb6df4 (svn r27309) -Change [FS#6283]: Auto-complete partial roads when building level-crossings. (adf88) 9 years ago
frosch db7dc5a6e9 (svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88) 9 years ago
frosch f690713802 (svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing tram tracks with railroads. (adf88) 9 years ago
frosch 1ab66855db (svn r27207) -Codechange: Replace some magic integers with the appropiate symbols. 9 years ago
frosch bd3a8bf9e4 (svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges. 9 years ago
peter1138 4f63bbedc1 (svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level. 10 years ago
rubidium dc2b4f2498 (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
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 10 years ago
frosch eb6974179d (svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to. 11 years ago
fonsinchen 4b525e34fe (svn r26291) -Fix [FS#5866, FS#5888]: Correctly identify opposite ends of bridges and tunnels when converting rails (adf88) 11 years ago
frosch 83b7021d9f (svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one. 11 years ago
rubidium 34ae6d4b39 (svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88) 11 years ago
frosch 478500abbc (svn r25832) -Codechange: Reduce variety of object type test functions. 11 years ago
frosch 0a11f93c3d (svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if they are owned by the same company. 11 years ago
frosch 09ac5c639c (svn r25082) -Codechange [FS#5501]: Simplify some code. (adf88) 11 years ago
rubidium bad2326dad (svn r25038) -Fix [FS#5479]: minimise gaps feature caused removal to only happen at the signal build interval instead of the implicit interval of 1 12 years ago
rubidium 4864344fc1 (svn r25037) -Fix [FS#5480]: green path signals would be shown when building them 'under' a train, and they would keep showing green until they were passed again 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 2fdf7b7f4e (svn r24857) -Fix: Don't let UFOs and coal mines clear water. 12 years ago
frosch 336a93a9d8 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
frosch d0ea1b96a9 (svn r24449) -Fix [FS#5254]: Coast and sea are not the same. 12 years ago
frosch fae088737a (svn r24439) -Fix [FS#5254]: In some cases ships could be covered with land. 12 years ago
michi_cc bcac892dd7 (svn r24367) -Feature: [NewGRF] Customisable signals for rail types. 12 years ago
frosch 9c0aa44a41 (svn r24356) -Change: Allow building/modifying/removing signals even if a train is on the belonging track. 12 years ago
frosch 70b2c96c8b (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 12 years ago