Commit Graph

386 Commits (b5b06351ac85aa999ab8b926437c29a561057f7b)

Author SHA1 Message Date
Jonathan G Rennison a93714a720 Add setting to show restricted electric signals using the default sprites.
This is to improve visual distinctiveness of restricted signals when
using signal GRFs.
This defaults to off.
9 years ago
Jonathan G Rennison 8edf5e0a34 Special case OpenGFX as a "base" set to allow recolouring signals. 9 years ago
Jonathan G Rennison 4d484a858f Fix attempts to recolour signal sprites from GRFs. 9 years ago
Jonathan G Rennison 38aaf8a921 Fix compilation on legacy compilers. 9 years ago
Jonathan G Rennison 8faead7e7a Graphically indicate restricted signals by recolouring the signal post.
Recolour signal posts from grey to blue for restricted signals which
are not semaphores and are not custom sprites.
9 years ago
Jonathan G Rennison 29c4f244f3 Merge branch 'master' into tracerestrict
Conflicts:
	src/pathfinder/yapf/yapf_costrail.hpp
9 years ago
frosch 4eb6ce863a (svn r27354) -Fix (r27343): Actually make it work. (rubidium) 9 years ago
Jonathan G Rennison 9fc308b70e Update land info window to indicate if signal tile is restricted. 9 years ago
Jonathan G Rennison 5f1b148cf9 Initial minimal working tracerestrict implementation.
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
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
michi_cc c67f4ddd9e (svn r24143) -Change [FS#5145]: Improve fence placement for rail. (Eddi) 12 years ago
michi_cc 88cfe6fc9c (svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88) 12 years ago
michi_cc 617993e904 (svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype. 13 years ago
michi_cc 64b7bc557f (svn r23758) -Feature: [NewGRF] Alternate rail type label list. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
michi_cc 06ffcf0ae8 (svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings. 13 years ago
michi_cc 7a6b45c133 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc 85ec2f07af (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
rubidium 48f7492434 (svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval 13 years ago
rubidium d823378d8a (svn r23341) -Fix (r23338): memory leak when converting rails 13 years ago
rubidium a8014c0af5 (svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL 13 years ago
michi_cc 3b45b41e68 (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 13 years ago
yexo 8fcca75d54 (svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille) 13 years ago
yexo 36e61e08b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
michi_cc 23bf62c77a (svn r23129) -Add: [NewGRF] Property for the rail type name. 13 years ago