summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/rltiles/dc-dngn.txt
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-30 22:41:34 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-30 22:41:34 +0100
commite0e44091de168f61efac2938a15e23cf27b4c116 (patch)
tree70159d4a2f87f699e2d0cdbb145ad56e41e0cb2e /crawl-ref/source/rltiles/dc-dngn.txt
parentf5cf60aa3d03183567b8349ac9a43822261d64ab (diff)
downloadcrawl-ref-e0e44091de168f61efac2938a15e23cf27b4c116.tar.gz
crawl-ref-e0e44091de168f61efac2938a15e23cf27b4c116.zip
Add wave tiles to smoothen the transition between shallow water and floor.
Currently only applies to Shoals, partly because the relevant base tiles are only used in the Shoals, partly because it's experimental. The checks needed for adjacent water tiles increase the drawing time, but I'm not sure by how much, seeing how in my test runs I only measured the seconds used for &O and came up with no noticeable difference. Still might increase lags on computers already prone to slow tiles, in which case we'll need to revert this change. Making the dungeon look less "gridlike" greatly improves the graphics and makes me want to extend the concept to floor/floor transitions, but it could potentially harm the interface. Not sure where to draw the line, and in any case the lag appears to be the more imminent problem. I've also played around with also adding waves for the shallow/deep water transitions but this would require special behaviour also for the water masks used for monsters and items, which is not a problem for floor tiles.
Diffstat (limited to 'crawl-ref/source/rltiles/dc-dngn.txt')
-rw-r--r--crawl-ref/source/rltiles/dc-dngn.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/rltiles/dc-dngn.txt b/crawl-ref/source/rltiles/dc-dngn.txt
index f306cfd048..ef8e062e57 100644
--- a/crawl-ref/source/rltiles/dc-dngn.txt
+++ b/crawl-ref/source/rltiles/dc-dngn.txt
@@ -994,6 +994,18 @@ dngn_shoals_shallow_water_disturbance1 SHOALS_SHALLOW_WATER_DISTURBANCE
dngn_shoals_shallow_water_disturbance2
dngn_shoals_shallow_water_disturbance3
+# corner waves (diagonals)
+shallow_water_wave_corner_NE WAVE_CORNER_NE
+shallow_water_wave_corner_NW WAVE_CORNER_NW
+shallow_water_wave_corner_SE WAVE_CORNER_SE
+shallow_water_wave_corner_SW WAVE_CORNER_SW
+
+# orthogonal waves
+shallow_water_wave_N WAVE_N
+shallow_water_wave_S WAVE_S
+shallow_water_wave_E WAVE_E
+shallow_water_wave_W WAVE_W
+
%sdir dc-dngn/gateways
dngn_entrance DNGN_UNSEEN_ENTRANCE
%rim 1