summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/evoke.h
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2013-06-07 01:17:12 +0300
committerNeil Moore <neil@s-z.org>2013-06-06 19:33:32 -0400
commite0bb6f7075ee525a3d28584a897f08090cac4a77 (patch)
treef2b624031a436eace87cd3782c78040c2dae7cce /crawl-ref/source/evoke.h
parentd28d70e7ab6c23aa07cbc7a57fa446b8c1a881d2 (diff)
downloadcrawl-ref-e0bb6f7075ee525a3d28584a897f08090cac4a77.tar.gz
crawl-ref-e0bb6f7075ee525a3d28584a897f08090cac4a77.zip
Always study all manuals in the inventory
Multiple manuals for different skills can be used at once. If there are multiple manuals for the same skill, the one with least charges is used up first.
Diffstat (limited to 'crawl-ref/source/evoke.h')
-rw-r--r--crawl-ref/source/evoke.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/evoke.h b/crawl-ref/source/evoke.h
index 8652b1ac75..fe24649cf2 100644
--- a/crawl-ref/source/evoke.h
+++ b/crawl-ref/source/evoke.h
@@ -7,8 +7,12 @@
#ifndef EVOKE_H
#define EVOKE_H
-void stop_studying_manual(bool finish = false);
-void skill_manual(int slot);
+int manual_slot_for_skill(skill_type skill);
+bool skill_has_manual(skill_type skill);
+void finish_manual(int slot);
+void get_all_manual_charges(vector<int> &charges);
+void set_all_manual_charges(const vector<int> &charges);
+string manual_skill_names(bool short_text=false);
void wind_blast(actor* agent, int pow, coord_def target);