summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
AgeCommit message (Collapse)Author
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-10(svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to ↵smatz
substract one to be on water border tiles
2008-02-10(svn r12100) -Fix (r12042): check for water class of surrounding tiles fails ↵smatz
for buoys at map borders
2008-02-09(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through ↵smatz
road stops, ship depots and buoys too. Update owners of water and road.
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-02-06(svn r12072) -Fix: Make docks at sea flood neighboured tiles.frosch
2008-02-06(svn r12071) -Feature(ette): Draw river- and canal-edges under docks and ↵frosch
shipdepots.
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-31(svn r12029) -Feature: Allow trees on shore.frosch
2008-01-29(svn r12013) -Fix: When modifying watered tiles, mark neighboured canals and ↵frosch
rivers dirty in more cases.
2008-01-29(svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be ↵frosch
watered tiles from all sides.
2008-01-28(svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water ↵frosch
from locks.
2008-01-25(svn r11984) -Fix: Also draw corner shores under rail tracks.frosch
2008-01-25(svn r11983) -Codechange: Add some helper functions for slopes and use them.frosch
2008-01-23(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.peter1138
2008-01-22(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.frosch
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
2008-01-20(svn r11934) -Codechange: add persistent random data for river and canal tiles.peter1138
2008-01-19(svn r11927) -Fix (r11926): unable to place canals in gamepeter1138
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.
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-17(svn r11898) -Fix: Update neighboured canals + signals when flooding ↵frosch
non-flat tiles, too.
2008-01-17(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.frosch
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-13(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from ↵smatz
flooded tile
2008-01-13(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tilesmatz
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-31(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch ↵belugas
by BigBB
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11666) -Fix (r11504): when removing buoys, return to water or canal ↵glx
depending on their owner
2007-12-08(svn r11604) -Fix: canal tiles were not marked dirty when surrounding tile ↵smatz
got flooded, causing glitches
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-12-06(svn r11582) -Fix: tiles were not marked dirty in some cases when removing a ↵smatz
lock
2007-12-05(svn r11574) -Fix: flood train stations when there are no trains on border ↵smatz
tiles too (when non-uniform stations are OFF)
2007-11-27(svn r11533) -Codechange: Rename some unclear clear_x prices member names.belugas
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.