summaryrefslogtreecommitdiff
path: root/src/water_map.h
AgeCommit message (Collapse)Author
2014-09-21(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus ↵rubidium
better alignable
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-07-10(svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. ↵frosch
(adf88)
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-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium
2010-11-21(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.frosch
2010-10-08(svn r20909) -Fix [FS#4137]: don't see coasts as water for object constructionrubidium
2010-09-05(svn r20740) -Codechange: Add HasTileWaterClass() to test for tiletypes with ↵frosch
WaterClass.
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 r20561) -Fix: compiler warningrubidium
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-11(svn r20446) -Codechange: unify the location of the water classrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-03(svn r20064) -Doc: Document water tile query and helper functions.alberth
2010-04-17(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.frosch
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-20(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to ↵rubidium
MakeSea and unduplicate the code to make sea, rivers and canals.
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-03-08(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bitssmatz
2008-07-26(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.frosch
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-18(svn r12758) -Fix(r4712, r12745): Use a bool when it's about boolean ↵belugas
evaluation. a TileIndex is hardly a bool, of course of course. Thanks for good old MSVC warnings.
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-02-06(svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer ↵frosch
needed. Removed.
2008-02-02(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in ↵peter1138
the map, allowing the sea/river/canal status to also be stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the original water type.
2008-01-22(svn r11952) -Fix (r11926): Prevent industries from being built on rivers, ↵peter1138
unless they require water.
2008-01-20(svn r11934) -Codechange: add persistent random data for river and canal tiles.peter1138
2008-01-19(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else ↵peter1138
rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2007-12-07(svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always ↵rubidium
returned to water, even when it should've been canals.
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-10-16(svn r11276) -Codechange: be more consistent with naming of some accessors.rubidium
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-06-19(svn r10230) -Fix [FS#594]: terraforming wipes out canals. Now you always ↵rubidium
have to remove the canal before terraforming, instead of "just" removing the canal.
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-01(svn r8953) -Codechange: make the names of enums of WaterTileType consistent ↵rubidium
with respect to RailTileType and RoadTileType.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.