summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-25 18:45:25 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-25 18:45:25 +0000
commitdd016fa36134c00a8c1f919aba25b872bcba4751 (patch)
treed96ffedd99acfc3f9503cba5faa9bc7a5da26301 /crawl-ref/source/food.h
parent8c0ebd4d4cfbab6437fd1d62c64523683f29ab4d (diff)
downloadcrawl-ref-dd016fa36134c00a8c1f919aba25b872bcba4751.tar.gz
crawl-ref-dd016fa36134c00a8c1f919aba25b872bcba4751.zip
* Move eating logic from lua to C again, so as to handle more than
boolean responses (eat, skip, cancel). * Remove the now deprecated eat.lua. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8746 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.h')
-rw-r--r--crawl-ref/source/food.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/food.h b/crawl-ref/source/food.h
index 8ce977e6ee..f2da9ef993 100644
--- a/crawl-ref/source/food.h
+++ b/crawl-ref/source/food.h
@@ -49,7 +49,7 @@ bool butchery(int which_corpse = -1);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-bool eat_food(bool run_hook = true, int slot = -1);
+bool eat_food(int slot = -1);
// last updated 19jun2000 {dlb}
@@ -94,7 +94,7 @@ void eat_floor_item(int item_link);
int eat_from_floor(bool skip_chunks = true);
bool eat_from_inventory();
-bool eat_chunks();
+int prompt_eat_chunks();
bool food_change(bool suppress_message = false);
void eat_inventory_item(int which_inventory_slot);