summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-03 23:07:39 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-03 23:07:39 +0000
commite2f74e90f41b7324f8b4e2fa880a1b32df131e68 (patch)
treeebb134a1b3a81e8c8c80b895f326a5050a75bf00 /crawl-ref/source/view.h
parent5c0a7e21f8aed760fde406bba577b696ad7f8e8a (diff)
downloadcrawl-ref-e2f74e90f41b7324f8b4e2fa880a1b32df131e68.tar.gz
crawl-ref-e2f74e90f41b7324f8b4e2fa880a1b32df131e68.zip
More tweaks of Zin:
1. Let sanctuaries shrink during the last few turns rather than suddently disappear when it times out. 2. Introduce donations (and remove item sacrifice) I suppose abilities will now have to become more expensive pietywise. I raised the piety cost of the sanctuary from 10 to 15, but that probably won't be enough. For the piety gain I introduced a new duration, DUR_PIETY_POOL that is filled with gold/200 * log(gold) upon donation and then leaks with 5% chance per turn one piety point into the actual piety. All numbers are open for discussion and change. Breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3181 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r--crawl-ref/source/view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index 6122d7e1ac..6e828b8ecf 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -157,6 +157,8 @@ const feature_def &get_feature_def(dungeon_feature_type feat);
void set_envmap_obj( int x, int y, int object );
unsigned get_envmap_char(int x, int y);
+bool inside_level_bounds(int x, int y);
+bool inside_level_bounds(coord_def &p);
int get_envmap_obj(int x, int y);
void set_envmap_detected_item(int x, int y, bool detected = true);
void set_envmap_detected_mons(int x, int y, bool detected = true);