food.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  food_type {
  FOOD_MEAT_RATION, FOOD_BREAD_RATION, FOOD_PEAR, FOOD_APPLE,
  FOOD_CHOKO, FOOD_HONEYCOMB, FOOD_ROYAL_JELLY, FOOD_SNOZZCUMBER,
  FOOD_PIZZA, FOOD_APRICOT, FOOD_ORANGE, FOOD_BANANA,
  FOOD_STRAWBERRY, FOOD_RAMBUTAN, FOOD_LEMON, FOOD_GRAPE,
  FOOD_SULTANA, FOOD_LYCHEE, FOOD_BEEF_JERKY, FOOD_CHEESE,
  FOOD_SAUSAGE, FOOD_CHUNK, FOOD_AMBROSIA, NUM_FOODS
}

Functions

int count_corpses_in_pack (bool blood_only=false)
bool butchery (int which_corpse=-1, bool bottle_blood=false)
bool eat_food (int slot=-1)
void make_hungry (int hunger_amount, bool suppress_msg, bool allow_reducing=false)
void lessen_hunger (int statiated_amount, bool suppress_msg)
void set_hunger (int new_hunger_level, bool suppress_msg)
void weapon_switch (int targ)
bool is_bad_food (const item_def &food)
bool is_poisonous (const item_def &food)
bool is_mutagenic (const item_def &food)
bool is_contaminated (const item_def &food)
bool causes_rot (const item_def &food)
bool is_inedible (const item_def &item)
bool is_preferred_food (const item_def &food)
bool is_forbidden_food (const item_def &food)
bool check_amu_the_gourmand (bool reqid)
bool can_ingest (int what_isit, int kindof_thing, bool suppress_msg, bool reqid=false, bool check_hunger=true)
bool chunk_is_poisonous (int chunktype)
void eat_floor_item (int item_link)
int eat_from_floor (bool skip_chunks=true)
bool eat_from_inventory ()
int prompt_eat_chunks ()
bool food_change (bool suppress_message=false)
void eat_inventory_item (int which_inventory_slot)
bool prompt_eat_inventory_item (int slot=-1)
void chunk_nutrition_message (int nutrition)
void vampire_nutrition_per_turn (const item_def &corpse, int feeding=0)
void finished_eating_message (int food_type)
int you_max_hunger ()
int you_min_hunger ()
void handle_starvation ()


Enumeration Type Documentation

enum food_type

Enumerator:
FOOD_MEAT_RATION 
FOOD_BREAD_RATION 
FOOD_PEAR 
FOOD_APPLE 
FOOD_CHOKO 
FOOD_HONEYCOMB 
FOOD_ROYAL_JELLY 
FOOD_SNOZZCUMBER 
FOOD_PIZZA 
FOOD_APRICOT 
FOOD_ORANGE 
FOOD_BANANA 
FOOD_STRAWBERRY 
FOOD_RAMBUTAN 
FOOD_LEMON 
FOOD_GRAPE 
FOOD_SULTANA 
FOOD_LYCHEE 
FOOD_BEEF_JERKY 
FOOD_CHEESE 
FOOD_SAUSAGE 
FOOD_CHUNK 
FOOD_AMBROSIA 
NUM_FOODS 


Function Documentation

bool butchery ( int  which_corpse = -1,
bool  bottle_blood = false 
)

Here is the call graph for this function:

bool can_ingest ( int  what_isit,
int  kindof_thing,
bool  suppress_msg,
bool  reqid = false,
bool  check_hunger = true 
)

Here is the call graph for this function:

bool causes_rot ( const item_def food  ) 

Here is the call graph for this function:

bool check_amu_the_gourmand ( bool  reqid  ) 

Here is the call graph for this function:

bool chunk_is_poisonous ( int  chunktype  ) 

void chunk_nutrition_message ( int  nutrition  ) 

Here is the call graph for this function:

int count_corpses_in_pack ( bool  blood_only = false  ) 

Here is the call graph for this function:

void eat_floor_item ( int  item_link  ) 

Here is the call graph for this function:

bool eat_food ( int  slot = -1  ) 

Here is the call graph for this function:

int eat_from_floor ( bool  skip_chunks = true  ) 

Here is the call graph for this function:

bool eat_from_inventory (  ) 

Here is the call graph for this function:

void eat_inventory_item ( int  which_inventory_slot  ) 

Here is the call graph for this function:

void finished_eating_message ( int  food_type  ) 

Here is the call graph for this function:

bool food_change ( bool  suppress_message = false  ) 

Here is the call graph for this function:

void handle_starvation (  ) 

Here is the call graph for this function:

bool is_bad_food ( const item_def food  ) 

Here is the call graph for this function:

bool is_contaminated ( const item_def food  ) 

Here is the call graph for this function:

bool is_forbidden_food ( const item_def food  ) 

Here is the call graph for this function:

bool is_inedible ( const item_def item  ) 

Here is the call graph for this function:

bool is_mutagenic ( const item_def food  ) 

Here is the call graph for this function:

bool is_poisonous ( const item_def food  ) 

Here is the call graph for this function:

bool is_preferred_food ( const item_def food  ) 

Here is the call graph for this function:

void lessen_hunger ( int  statiated_amount,
bool  suppress_msg 
)

Here is the call graph for this function:

void make_hungry ( int  hunger_amount,
bool  suppress_msg,
bool  allow_reducing = false 
)

Here is the call graph for this function:

int prompt_eat_chunks (  ) 

Here is the call graph for this function:

bool prompt_eat_inventory_item ( int  slot = -1  ) 

Here is the call graph for this function:

void set_hunger ( int  new_hunger_level,
bool  suppress_msg 
)

Here is the call graph for this function:

void vampire_nutrition_per_turn ( const item_def corpse,
int  feeding = 0 
)

Here is the call graph for this function:

void weapon_switch ( int  targ  ) 

Here is the call graph for this function:

int you_max_hunger (  ) 

int you_min_hunger (  ) 


Generated on Thu Jan 13 13:05:31 2011 by  doxygen 1.5.6