summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-04-29 23:52:08 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-04-29 23:57:04 +0200
commit7a125c3076625c7dddf443417dddc642b3fcc66e (patch)
tree98eadc71ae80028ad388c23fc214ad7a2b72901f /crawl-ref/source/delay.h
parentf171c2715518f0f88cc04b7850f139d0aa53b58b (diff)
downloadcrawl-ref-7a125c3076625c7dddf443417dddc642b3fcc66e.tar.gz
crawl-ref-7a125c3076625c7dddf443417dddc642b3fcc66e.zip
Better butchering messages.
Pass the butchering tool into the delay. Had to increase the number of delay parameters to 3. There's no more switching messages. Only: "You start butchering the foo corpse with your bar." and: "You finish ripping/chopping the foo corpse into pieces."
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r--crawl-ref/source/delay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h
index bc56640e0b..8f0cacb266 100644
--- a/crawl-ref/source/delay.h
+++ b/crawl-ref/source/delay.h
@@ -64,7 +64,8 @@ struct ait_hp_loss
ait_hp_loss(int _hp, int _ht) : hp(_hp), hurt_type(_ht) { }
};
-void start_delay(delay_type type, int turns, int parm1 = 0, int parm2 = 0);
+void start_delay(delay_type type, int turns, int parm1 = 0, int parm2 = 0,
+ int parm3 = 0);
void stop_delay(bool stop_stair_travel = false, bool force_unsafe = false);
bool you_are_delayed();
delay_type current_delay_action();
@@ -81,8 +82,7 @@ bool already_learning_spell(int spell);
void stop_butcher_delay();
void maybe_clear_weapon_swap();
void handle_interrupted_swap(bool swap_if_safe = false,
- bool force_unsafe = false,
- bool transform = false);
+ bool force_unsafe = false);
void clear_macro_process_key_delay();