Commit Graph

417 Commits (43b6f6915b5bfb1685c70cc1898e55cbe2cec03a)

Author SHA1 Message Date
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 12 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 12 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
yexo ed04410f89 (svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille) 13 years ago
yexo 6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
michi_cc fe574b7e0c (svn r23129) -Add: [NewGRF] Property for the rail type name. 13 years ago
rubidium 2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium 459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 13 years ago
rubidium 1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium 69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium 2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
frosch 8d5c1479f4 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 13 years ago
frosch 36dd5cd685 (svn r22854) -Change: [NewGRF] Allow replacing depot sprites without having to provide rail overlays. (Hirundo) 13 years ago
frosch 76c7cbff70 (svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1. 13 years ago
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium 2f6c840ebf (svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list 14 years ago
rubidium 9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 14 years ago
rubidium 6371b75bcc (svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced 14 years ago
planetmaker 9b4beb0a5c (svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again) 14 years ago
terkhen 48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 14 years ago
rubidium a1d923700f (svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well 14 years ago
rubidium 42dc2e63f2 (svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites 14 years ago
frosch f2c84e0120 (svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore). 14 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 236737b2f2 (svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype. 14 years ago
frosch a0520bb8bf (svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power. 14 years ago
terkhen 78fd08c7b2 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 14 years ago
frosch 48c5091a7c (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 14 years ago
frosch 5f874b90f9 (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
terkhen 88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
michi_cc e8cabbdc56 (svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail. 14 years ago
frosch 3767ae5196 (svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 5a836cdec7 (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 14 years ago
frosch 72ee11a7c6 (svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently. 14 years ago
terkhen 066aa61a45 (svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals. 14 years ago
terkhen 191389fa8d (svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways. 14 years ago
alberth b06d18b19a (svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile. 14 years ago
terkhen 5ea472650c (svn r20100) -Fix: Give priority to ownership errors while removing rails. 14 years ago
alberth 82fc340a0a (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. 14 years ago
michi_cc 34f32cbbf4 (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 14 years ago
yexo 9cfb61adf5 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch 1d3adb2b66 (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
rubidium e7f70987a4 (svn r19925) -Fix [FS#3859]: one didn't pay for rail when building depots and stations, so with expensive railtypes building stations and then removing the station would be cheaper than just building the rail 14 years ago
frosch 9db3cde73a (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
rubidium 241dd9a9f5 (svn r19817) -Fix: MSVC compile warnings 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 14 years ago
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
peter1138 8c4c691448 (svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model. 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth c9b0e9d25f (svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well. 14 years ago
alberth f05a8635fd (svn r19483) -Codechange: Code layout fixes, and parentheses reduction. 14 years ago
peter1138 604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
peter1138 0dd8110484 (svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail build cost, to avoid money making loophole when rail build cost is less than rail removal earnings. 15 years ago
alberth 6eb0816c70 (svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail(). 15 years ago
alberth 05e549ccdc (svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean. 15 years ago
alberth 6601ecc87a (svn r19418) -Codechange: Code style fix for ValParamTrackOrientation(). 15 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth 777123c228 (svn r19414) -Doc: Several doxygen additions and corrections. 15 years ago
alberth 40f106ba7c (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth aac4a21abe (svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost. 15 years ago
alberth 55f8d5d802 (svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now. 15 years ago
alberth 29b79e03e8 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 15 years ago
alberth 5881a80b6d (svn r19363) -Codechange: Remove use of _error_message global from TerraformTile_Track. 15 years ago