Commit Graph

315 Commits

Author SHA1 Message Date
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 2012-12-23 21:09:09 +00:00
terkhen 9b5ff794c7 (svn r24626) -Fix [FS#5432]: MSVC 2010 warnings. 2012-10-25 17:38:12 +00:00
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. 2012-09-01 14:58:36 +00:00
frosch ab2ce64b6b (svn r24414) -Fix [FS#5221]: Disallow removing roadtypes from bridges when not dragging in bridge direction. 2012-07-18 19:25:00 +00:00
rubidium 41e5c839e0 (svn r24179) -Codechange: move some variables of Town to TownCache 2012-04-25 20:50:13 +00:00
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 2012-01-24 19:24:02 +00:00
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium fbbfaac819 (svn r23684) -Cleanup: let the highway take the highway 2011-12-28 20:06:51 +00:00
truebrain 084f4e6aac (svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript 2011-12-19 21:02:33 +00:00
michi_cc aba9f98a73 (svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings. 2011-12-19 14:24:12 +00:00
michi_cc a29a9d94b7 (svn r23412) -Add: Company infrastructure counts for road. 2011-12-03 23:40:18 +00:00
michi_cc d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 2011-12-03 23:40:13 +00:00
yexo 6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 2011-11-08 17:37:32 +00:00
rubidium 2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium 459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 2011-11-04 11:36:10 +00:00
rubidium 19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 2011-11-04 11:30:37 +00:00
rubidium 1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium d0689c2924 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 2011-11-04 10:28:20 +00:00
rubidium 69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 2011-11-04 10:25:58 +00:00
rubidium ecbc56a677 (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 2011-11-04 10:23:48 +00:00
rubidium 2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
frosch 804090b317 (svn r22968) -Feature: Allow road corners on steep slopes. 2011-10-01 16:45:25 +00:00
frosch 8d5c1479f4 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 2011-09-25 13:35:17 +00:00
planetmaker b102b58bde (svn r22765) -Cleanup: Remove unused constants and name a magic constant 2011-08-20 05:35:03 +00:00
rubidium cfc2c5db42 (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 2011-07-30 13:55:44 +00:00
frosch 8f921c8747 (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 2011-05-29 08:56:05 +00:00
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 2011-05-14 18:35:40 +00:00
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 2011-05-01 19:51:52 +00:00
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 2011-02-14 19:52:26 +00:00
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 2011-02-07 22:37:22 +00:00
rubidium 4eb4aad54f (svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings with NewGRF railtypes (andythenorth) 2011-01-09 20:54:56 +00:00
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 2010-09-03 21:41:08 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
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 2010-07-27 22:00:43 +00:00
alberth 43b4d23b07 (svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille). 2010-07-25 10:04:13 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium 73527b7b45 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 2010-07-19 17:17:36 +00:00
terkhen 40e58f78ba (svn r20113) -Add [FS#3895]: Show an specific error message when trying to remove nonexistant roads (Krille). 2010-07-10 20:12:32 +00:00
terkhen f363f64c51 (svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads. 2010-07-09 16:41:51 +00:00
alberth 82fc340a0a (svn r20097) -Codechange: Share constant bitset of safe level crossing slopes. 2010-07-09 12:14:02 +00:00
michi_cc 34f32cbbf4 (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 2010-07-02 16:34:11 +00:00
rubidium b1d60d66cf (svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with the new railtypes 2010-06-30 16:08:12 +00:00
yexo 9cfb61adf5 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 2010-06-20 19:13:02 +00:00
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 2010-05-12 19:21:00 +00:00
rubidium fe71d4fc99 (svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88) 2010-05-11 21:01:57 +00:00
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 2010-04-13 17:29:19 +00:00