diff options
author | Pekka Lampila <pekka.lampila@iki.fi> | 2013-06-07 01:17:12 +0300 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-06-06 19:33:32 -0400 |
commit | e0bb6f7075ee525a3d28584a897f08090cac4a77 (patch) | |
tree | f2b624031a436eace87cd3782c78040c2dae7cce /crawl-ref/source/evoke.h | |
parent | d28d70e7ab6c23aa07cbc7a57fa446b8c1a881d2 (diff) | |
download | crawl-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.h | 8 |
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); |