Commit Graph

235 Commits (fb9fb416a163f994e266caf2347fe78449d9b32b)

Author SHA1 Message Date
rubidium fb9fb416a1 (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 db14361d28 (svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code 13 years ago
rubidium f7297d5c3a (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 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
michi_cc 5477ac3eb1 (svn r22773) -Add: Some grass around rivers in desert areas. 13 years ago
frosch ba358638a8 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 13 years ago
michi_cc f182f6e675 (svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water. 13 years ago
frosch 3e619faeaf (svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead. 14 years ago
frosch 415724ff38 (svn r22108) -Codechange: Replace some magic with some other magic though less easy to break. 14 years ago
frosch 9f8a684460 (svn r22107) -Cleanup (r1903): Remove unused struct. 14 years ago
rubidium cb2c7f871f (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
planetmaker a66e32efb5 (svn r21993) -Fix (r19720): When building a lock on dry land costs for clearing water were deducted rather than for building canals 14 years ago
smatz 4aa45d8742 (svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year 14 years ago
frosch 5a355daa5b (svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests. 14 years ago
frosch 39f95fabe2 (svn r20763) -Fix [FS#4113](r20749): The bridgetest on building shipdepots can no longer rely on being only called for clear water tiles. 14 years ago
yexo ffe67c9171 (svn r20749) -Fix: allow overbuilding objects with buoys and ship depots 14 years ago
yexo 66d57b96a8 (svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account 14 years ago
frosch b170aa4b83 (svn r20741) -Cleanup: Use IsTileOnWater() in more places. 14 years ago
rubidium b79c5b5f84 (svn r20640) -Add: support for water under objects 14 years ago
frosch 3db0cc004b (svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass(). 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium c462611488 (svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code 14 years ago
yexo e7f5780683 (svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile 14 years ago
yexo 5363eff08c (svn r20527) -Codechange: move the flood code and remove some redundant checks 14 years ago
michi_cc 95f5ad8c79 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 14 years ago
michi_cc 33ab403be8 (svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout. 14 years ago
michi_cc 80943c5ec7 (svn r20351) -Codechange: Uncouple water lock and depot drawing. 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch 5b86c79fce (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
alberth c376ddacd2 (svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable. 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch a5bea603ea (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
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
rubidium 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 14 years ago
rubidium ee02599bbf (svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter 14 years ago
terkhen 170ad8a3c9 (svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks. 14 years ago
terkhen 25529f0311 (svn r19719) -Codechange: When building a lock, do not add the cost of building canals if they are already built. 14 years ago
terkhen 0bfc6da6e9 (svn r19718) -Fix: The cost of clearing tiles was not taken into account when building locks. 14 years ago
terkhen 1a8248e93d (svn r19716) -Documentation: Add comments for lock building and removal functions. 14 years ago
terkhen 74a7508777 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 14 years ago
frosch 099f734be9 (svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL. 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 9036e7437a (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
alberth df772274cf (svn r19416) -Codechange: Code style, move variable declarations to their first use. 14 years ago
alberth cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 14 years ago