diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 03:15:39 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 03:15:39 +0000 |
commit | a4216190921d3a0912924df441f7cad3752de02a (patch) | |
tree | 9c2ab43e3aef4c80ab57ef7501afa7204f416989 /crawl-ref/source/tiles.h | |
parent | 34e3ce6b9b4514f567a10429ffb83bc32547fd17 (diff) | |
download | crawl-ref-a4216190921d3a0912924df441f7cad3752de02a.tar.gz crawl-ref-a4216190921d3a0912924df441f7cad3752de02a.zip |
Graphical support for range restrictions of spells in tiles mode. Clicking past the max range will now fire as far as it can, rather than just giving an error.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7135 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tiles.h')
-rw-r--r-- | crawl-ref/source/tiles.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h index e2252641d0..faf6dbd3d4 100644 --- a/crawl-ref/source/tiles.h +++ b/crawl-ref/source/tiles.h @@ -81,7 +81,7 @@ void tile_place_item(int x, int y, int idx); void tile_place_item_bk(int gx, int gy, int idx); void tile_place_item_marker(int x, int y, int idx); void tile_place_cloud(int x, int y, int type, int decay); -void tile_place_ray(const coord_def& gc); +void tile_place_ray(const coord_def& gc, bool in_range); void tile_draw_rays(bool resetCount); void tile_clear_buf(); @@ -164,6 +164,7 @@ enum tile_flags TILE_FLAG_EXCL_CTR = 0x00100000, TILE_FLAG_SANCTUARY = 0x00200000, TILE_FLAG_TUT_CURSOR= 0x00400000, + TILE_FLAG_RAY_OOR = 0x00800000, // General TILE_FLAG_MASK = 0x000007FF |