summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
AgeCommit message (Collapse)Author
2012-02-09(svn r23920) -Fix: Consider only the middle tile of a lock for ↵frosch
lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope.
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2012-01-03(svn r23725) -Fix (r23723): compile before commityexo
2012-01-03(svn r23724) -Codechange: split of the check to see if ambient sounds are ↵yexo
enabled to a header file allowing compilers to inline that check
2012-01-03(svn r23723) -Codechange: speedup flood checks a bityexo
2011-12-29(svn r23686) -Fix [FS#4921] (r23413): Infrastructure count of ↵michi_cc
canals/locks/ship depots wasn't updated properly when a company went into bankruptcy or was taken over.
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-13(svn r23512) -Change [FS#4872]: Allow to place locks also on river rapids ↵planetmaker
and restore rivers, if locks are deleted
2011-12-07(svn r23443) -Fix (r23413): Building of locks in SE failed.frosch
2011-12-03(svn r23413) -Add: Company infrastructure counts for canals.michi_cc
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-20(svn r23284) -Fix [FS#4845]: Pathfinders go haywire when you build a lock ↵rubidium
over a ship going perpendicular to the axis of the new lock
2011-11-08(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitionsyexo
2011-11-04(svn r23116) -Fix (r23114): Ambient sound effect callback was called for ↵michi_cc
unsupported tile types.
2011-11-04(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.michi_cc
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type ↵rubidium
functions use int z as well
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the water/river code
2011-11-04(svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use itrubidium
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-08-20(svn r22773) -Add: Some grass around rivers in desert areas.michi_cc
2011-07-10(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks ↵frosch
and depots. (based on patched by adf88 and michi_cc)
2011-07-07(svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts ↵michi_cc
if they are built on existing water.
2011-02-19(svn r22110) -Codechange: Remove WaterDrawTileStruct and use ↵frosch
DrawTileSprites/DrawTileSeqStruct instead.
2011-02-19(svn r22108) -Codechange: Replace some magic with some other magic though ↵frosch
less easy to break.
2011-02-19(svn r22107) -Cleanup (r1903): Remove unused struct.frosch
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-02-06(svn r21993) -Fix (r19720): When building a lock on dry land costs for ↵planetmaker
clearing water were deducted rather than for building canals
2011-02-04(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support ↵smatz
for uniform stations has been broken for over a year
2010-11-21(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.frosch
2010-09-07(svn r20763) -Fix [FS#4113](r20749): The bridgetest on building shipdepots ↵frosch
can no longer rely on being only called for clear water tiles.
2010-09-05(svn r20749) -Fix: allow overbuilding objects with buoys and ship depotsyexo
2010-09-05(svn r20748) -Fix: overbuilding an object tile with sea under it with a ↵yexo
canal didn't take the cost for clearing the sea into account
2010-09-05(svn r20741) -Cleanup: Use IsTileOnWater() in more places.frosch
2010-08-27(svn r20640) -Add: support for water under objectsrubidium
2010-08-27(svn r20636) -Codechange: Move MarkTileDirtyByTile() and ↵frosch
DeleteAnimatedTile() into MakeWaterKeepingClass().
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so ↵rubidium
related code
2010-08-19(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the ↵yexo
most northern depot/hangar tile
2010-08-17(svn r20527) -Codechange: move the flood code and remove some redundant checksyexo
2010-08-03(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") ↵michi_cc
for canals.
2010-08-03(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e ↵michi_cc
alternate canal sprite layout.
2010-08-03(svn r20351) -Codechange: Uncouple water lock and depot drawing.michi_cc
2010-08-01(svn r20289) -Codechange: Unify fall through coding style.terkhen
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-10(svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable.alberth
2010-06-20(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypesyexo