summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-28 03:39:01 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-28 03:39:01 +0000
commit72c1249ae7f4841dc8b335cb3a0a5ce81cb45887 (patch)
tree6b65ec871edba333b3ea18274025f52e4b384a24 /crawl-ref/source/effects.h
parent102ecc248252562f59d7b7baf445cd5cdb2e3162 (diff)
downloadcrawl-ref-72c1249ae7f4841dc8b335cb3a0a5ce81cb45887.tar.gz
crawl-ref-72c1249ae7f4841dc8b335cb3a0a5ce81cb45887.zip
Apply caotto's patch in [2827204] to finish the plant god, with some
cleanups added by me. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10442 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.h')
-rw-r--r--crawl-ref/source/effects.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.h b/crawl-ref/source/effects.h
index 23cfe2b726..3580839ed0 100644
--- a/crawl-ref/source/effects.h
+++ b/crawl-ref/source/effects.h
@@ -56,6 +56,20 @@ int spawn_corpse_mushrooms(item_def &corpse,
int & seen_targers,
bool distance_as_time = false);
+struct mgen_data;
+int place_ring(std::vector<coord_def> & ring_points,
+ coord_def & origin,
+ mgen_data & prototype,
+ int n_arcs,
+ int arc_occupancy,
+ int & seen_count);
+
+// Collect lists of points that are within LOS (under the given env map),
+// unoccupied, and not solid (walls/statues).
+void collect_radius_points(std::vector<std::vector<coord_def> > &radius_points,
+ coord_def & origin, env_show_grid & losgrid);
+
+
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: item_use - spell - spells