Commit Graph

389 Commits (bf8d7df7367055dcfad6cc1c21fd9c762ffc2fe4)

Author SHA1 Message Date
Peter Nelson bf8d7df736 Change: Extend rail types to 64 (6 bit storage) 6 years ago
J0an Josep cfb8092397 Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. 6 years ago
frosch b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 7 years ago
peter1138 3109f158a6 (svn r27784) -Fix [FS#6505]: Allow rail conversion even if ship is on tile (Samu). 7 years ago
frosch 1446d916f0 (svn r27726) -Fix: Improve error message when trying to build rail track over a depot. (adf88) 8 years ago
frosch 69966b6322 (svn r27690) -Fix: Old compilers do not zero-initialise POD members when explicitly calling implicitly created default constructors. 8 years ago
frosch 108a0fc0d7 (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 3ee06b036e (svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading NewGRF. (adf88) 8 years ago
frosch 10293c5fb1 (svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window. 8 years ago
frosch d9bfe88261 (svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary. 8 years ago
frosch 2d636266f5 (svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window. 9 years ago
frosch e9b25f2ee8 (svn r27354) -Fix (r27343): Actually make it work. (rubidium) 9 years ago
frosch 74e61a1806 (svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side. 9 years ago
frosch 9b534b4393 (svn r27309) -Change [FS#6283]: Auto-complete partial roads when building level-crossings. (adf88) 9 years ago
frosch e3c8e8e8e8 (svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88) 9 years ago
frosch 3a82bae0d3 (svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing tram tracks with railroads. (adf88) 9 years ago
frosch a6e4e5d444 (svn r27207) -Codechange: Replace some magic integers with the appropiate symbols. 9 years ago
frosch e8e49e5dda (svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges. 9 years ago
peter1138 51fe741987 (svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level. 10 years ago
rubidium 9daf7e749c (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
rubidium 0463dbdc9e (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 41b7a04a68 (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 9dc69d7f4d (svn r26291) -Fix [FS#5866, FS#5888]: Correctly identify opposite ends of bridges and tunnels when converting rails (adf88) 11 years ago
frosch 5d4c4b9172 (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 116adbc0e1 (svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88) 11 years ago
frosch 2080a8c16f (svn r25832) -Codechange: Reduce variety of object type test functions. 11 years ago
frosch 812faf08b5 (svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if they are owned by the same company. 11 years ago
frosch aa2ff3d552 (svn r25082) -Codechange [FS#5501]: Simplify some code. (adf88) 11 years ago
rubidium 35570156dd (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 11 years ago
rubidium 0c8b215935 (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 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch e9afedca14 (svn r24857) -Fix: Don't let UFOs and coal mines clear water. 12 years ago
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
frosch e07e246532 (svn r24449) -Fix [FS#5254]: Coast and sea are not the same. 12 years ago
frosch 59a3bbcbe6 (svn r24439) -Fix [FS#5254]: In some cases ships could be covered with land. 12 years ago
michi_cc b0d21d2fad (svn r24367) -Feature: [NewGRF] Customisable signals for rail types. 12 years ago
frosch d496845820 (svn r24356) -Change: Allow building/modifying/removing signals even if a train is on the belonging track. 12 years ago
frosch e1fda49027 (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 a34dabce9c (svn r24143) -Change [FS#5145]: Improve fence placement for rail. (Eddi) 12 years ago
michi_cc 708d5b6712 (svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88) 12 years ago
michi_cc 9232a2ef0c (svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype. 13 years ago
michi_cc ee0fcb2567 (svn r23758) -Feature: [NewGRF] Alternate rail type label list. 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
michi_cc aba9f98a73 (svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings. 13 years ago
michi_cc a29a9d94b7 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
rubidium 06fe032a7b (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 251c7fbc8d (svn r23341) -Fix (r23338): memory leak when converting rails 13 years ago
rubidium 95f88ea537 (svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL 13 years ago
michi_cc 4d2a9e384c (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