Commit Graph

735 Commits (f703e233220069c33dcb6cdea7ceb171152d8687)

Author SHA1 Message Date
rubidium 9daf7e749c (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 11 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 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 336a93a9d8 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
terkhen 98e49d3648 (svn r24626) -Fix [FS#5432]: MSVC 2010 warnings. 12 years ago
terkhen 9b5ff794c7 (svn r24626) -Fix [FS#5432]: MSVC 2010 warnings. 12 years ago
terkhen 138e3f7050 (svn r24503) -Change [FS#5228]: When building long roads or tramways, only build the roadbits at the beginning and the end if they can connect to something. 12 years ago
terkhen 55dccee02f (svn r24503) -Change [FS#5228]: When building long roads or tramways, only build the roadbits at the beginning and the end if they can connect to something. 12 years ago
frosch 7e254c6982 (svn r24414) -Fix [FS#5221]: Disallow removing roadtypes from bridges when not dragging in bridge direction. 12 years ago
frosch ab2ce64b6b (svn r24414) -Fix [FS#5221]: Disallow removing roadtypes from bridges when not dragging in bridge direction. 12 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 13 years ago
rubidium 41e5c839e0 (svn r24179) -Codechange: move some variables of Town to TownCache 13 years ago
rubidium 11ad0be0ee (svn r23847) -Fix: when removing road or tram from a tram+road stop, the owner of the road stop's cache was updated instead of the owner of the removed infrastructure 13 years ago
rubidium 9a49a60048 (svn r23847) -Fix: when removing road or tram from a tram+road stop, the owner of the road stop's cache was updated instead of the owner of the removed infrastructure 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 22a5dbc0bb (svn r23684) -Cleanup: let the highway take the highway 13 years ago
rubidium fbbfaac819 (svn r23684) -Cleanup: let the highway take the highway 13 years ago
truebrain 102c7ae60e (svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript 13 years ago
truebrain 084f4e6aac (svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript 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 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 7a6b45c133 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc a29a9d94b7 (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
michi_cc d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
yexo 36e61e08b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
yexo 6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium 2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium fb9fb416a1 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 70faeeaba9 (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium 1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium fd992c9fd8 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 13 years ago
rubidium d0689c2924 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 13 years ago
rubidium a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line 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 f7297d5c3a (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 13 years ago
rubidium ecbc56a677 (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium 2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 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 a1c155e0f9 (svn r22968) -Feature: Allow road corners on steep slopes. 13 years ago
frosch 804090b317 (svn r22968) -Feature: Allow road corners on steep slopes. 13 years ago
frosch 1df095f114 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 13 years ago
frosch 8d5c1479f4 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 13 years ago
planetmaker 9a8285b0f5 (svn r22765) -Cleanup: Remove unused constants and name a magic constant 13 years ago
planetmaker b102b58bde (svn r22765) -Cleanup: Remove unused constants and name a magic constant 13 years ago
rubidium a4379b814d (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 13 years ago
rubidium cfc2c5db42 (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 13 years ago
frosch a2dcfce59d (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 14 years ago
frosch 8f921c8747 (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 14 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 14 years ago
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 14 years ago
rubidium 6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 14 years ago
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 14 years ago
planetmaker 6d031d0867 (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 14 years ago
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 14 years ago
rubidium cb2c7f871f (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium dd39a0395c (svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings with NewGRF railtypes (andythenorth) 14 years ago
rubidium 4eb4aad54f (svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings with NewGRF railtypes (andythenorth) 14 years ago
yexo f85bd1f37f (svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode 14 years ago
yexo bd379e283f (svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium 9901b84729 (svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump 14 years ago
rubidium cfdcb6cbee (svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump 14 years ago
alberth b97aba9da7 (svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille). 14 years ago
alberth 43b4d23b07 (svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille). 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 60b93f5c69 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 14 years ago
rubidium 73527b7b45 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 14 years ago
terkhen 6e226dc1fb (svn r20113) -Add [FS#3895]: Show an specific error message when trying to remove nonexistant roads (Krille). 14 years ago
terkhen 40e58f78ba (svn r20113) -Add [FS#3895]: Show an specific error message when trying to remove nonexistant roads (Krille). 14 years ago
terkhen ca7172bc94 (svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads. 14 years ago
terkhen f363f64c51 (svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads. 14 years ago
alberth 83fd89b606 (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. 14 years ago
alberth 82fc340a0a (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. 14 years ago
michi_cc e94f75095a (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 14 years ago
michi_cc 34f32cbbf4 (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 14 years ago
rubidium e3eb45a18a (svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with the new railtypes 14 years ago
rubidium b1d60d66cf (svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with the new railtypes 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
yexo 9cfb61adf5 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
rubidium 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 15 years ago
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 15 years ago
rubidium 00422b37ef (svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88) 15 years ago
rubidium fe71d4fc99 (svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88) 15 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 15 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 15 years ago
frosch 9036e7437a (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 15 years ago
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 15 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 15 years ago
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 15 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 15 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 15 years ago
alberth 25907d12b8 (svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad(). 15 years ago
alberth b714160fcc (svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad(). 15 years ago
frosch a974195284 (svn r19436) -Fix: With certain game settings one could clear tiles for free when building long roads. 15 years ago
frosch 7bf13ea692 (svn r19436) -Fix: With certain game settings one could clear tiles for free when building long roads. 15 years ago
peter1138 a7b93cdeb5 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
peter1138 604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
alberth bf54baf991 (svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean. 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 cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth e5529f46f4 (svn r19412) -Codechange (r9942): One pair of parentheses is enough. 15 years ago
alberth 5e7c4398ae (svn r19412) -Codechange (r9942): One pair of parentheses is enough. 15 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 59caa8ea94 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 15 years ago
alberth 7e1a91db21 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 15 years ago
alberth ae5b11321b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 15 years ago
alberth 6b6ff9c52b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 15 years ago
alberth 6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth 40f106ba7c (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth 4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
alberth c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
alberth d0ec21fd3f (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 15 years ago
alberth 63dd6ce6b0 (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 15 years ago
smatz cdaeead70f (svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in CMD_REMOVE_LONG_ROAD 15 years ago
smatz 1ad5e1cece (svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in CMD_REMOVE_LONG_ROAD 15 years ago
alberth a2af272a52 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
alberth e8d40d6a19 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
peter1138 898e879bd9 (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
smatz 6c1ab1a2fa (svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible 15 years ago
smatz d62d0ac489 (svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible 15 years ago
terkhen c6d7d42606 (svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations. 15 years ago
terkhen 9cf602c7c1 (svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations. 15 years ago
terkhen 7f26268d0e (svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way. 15 years ago
terkhen b02a522038 (svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way. 15 years ago
frosch 6ade772f01 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch 5f4f562d53 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch 15f0fcf3c4 (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 15 years ago
frosch cbbe311cea (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago