diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-18 15:08:25 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-18 15:08:25 +0000 |
commit | a4d4f3ecccb29c3f5fc1ce55579119106c399911 (patch) | |
tree | 5677ea04b4dfdadd961c01ba3baf7502f8d6e0d0 /stone_soup/crawl-ref/source/food.h | |
parent | 571501e1135989d3b9dc44e3d332562a7cf78b35 (diff) | |
download | crawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.tar.gz crawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.zip |
Updated stone_soup-0.1b1 tag to include fix for Poison Arrow of Doom.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/tags/stone_soup-0.1b1@49 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'stone_soup/crawl-ref/source/food.h')
-rw-r--r-- | stone_soup/crawl-ref/source/food.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/stone_soup/crawl-ref/source/food.h b/stone_soup/crawl-ref/source/food.h new file mode 100644 index 0000000000..1c8e5f5a74 --- /dev/null +++ b/stone_soup/crawl-ref/source/food.h @@ -0,0 +1,68 @@ +/* + * File: food.cc + * Summary: Functions for eating and butchering. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + + +#ifndef FOOD_H +#define FOOD_H + + +// last updated 19jun2000 {dlb} +/* *********************************************************************** + * called from: acr + * *********************************************************************** */ +bool butchery(void); + + +// last updated 19jun2000 {dlb} +/* *********************************************************************** + * called from: acr + * *********************************************************************** */ +bool eat_food(bool run_hook = true); + + +// last updated 19jun2000 {dlb} +/* *********************************************************************** + * called from: abl-show - acr - fight - food - spell + * *********************************************************************** */ +void make_hungry(int hunger_amount, bool suppress_msg); + + +// last updated 19jun2000 {dlb} +/* *********************************************************************** + * called from: acr - fight - food - it_use2 - item_use + * *********************************************************************** */ +void lessen_hunger(int statiated_amount, bool suppress_msg); + + +// last updated 19jun2000 {dlb} +/* *********************************************************************** + * called from: acr - decks - food - religion + * *********************************************************************** */ +void set_hunger(int new_hunger_level, bool suppress_msg); + + +// last updated 10sept2000 {bwr} +/* *********************************************************************** + * called from: delay.cc + * *********************************************************************** */ +void weapon_switch( int targ ); + +bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg, + bool reqid = false, bool check_hunger = true); + +void eat_floor_item(int item_link); + +bool eat_from_floor(void); + +void eat_from_inventory(int which_inventory_slot); + +bool prompt_eat_from_inventory(void); + +#endif |