#include "AppHdr.h"
#include "food.h"
#include <sstream>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "externs.h"
#include "options.h"
#include "artefact.h"
#include "cio.h"
#include "clua.h"
#include "command.h"
#include "debug.h"
#include "delay.h"
#include "effects.h"
#include "env.h"
#include "hints.h"
#include "invent.h"
#include "items.h"
#include "itemname.h"
#include "itemprop.h"
#include "item_use.h"
#include "it_use2.h"
#include "macro.h"
#include "mgen_data.h"
#include "message.h"
#include "misc.h"
#include "mon-place.h"
#include "mon-util.h"
#include "mutation.h"
#include "output.h"
#include "player.h"
#include "player-equip.h"
#include "player-stats.h"
#include "random.h"
#include "religion.h"
#include "godconduct.h"
#include "skills2.h"
#include "state.h"
#include "stuff.h"
#include "transform.h"
#include "travel.h"
#include "xom.h"
Classes | |
class | compare_by_freshness |
Functions | |
void | make_hungry (int hunger_amount, bool suppress_msg, bool allow_reducing) |
void | lessen_hunger (int satiated_amount, bool suppress_msg) |
void | set_hunger (int new_hunger_level, bool suppress_msg) |
void | weapon_switch (int targ) |
int | count_corpses_in_pack (bool blood_only) |
bool | butchery (int which_corpse, bool bottle_blood) |
bool | prompt_eat_inventory_item (int slot) |
bool | eat_food (int slot) |
bool | food_change (bool suppress_message) |
void | eat_inventory_item (int which_inventory_slot) |
void | eat_floor_item (int item_link) |
int | eat_from_floor (bool skip_chunks) |
bool | eat_from_inventory () |
int | prompt_eat_chunks () |
void | chunk_nutrition_message (int nutrition) |
void | finished_eating_message (int food_type) |
void | vampire_nutrition_per_turn (const item_def &corpse, int feeding) |
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, bool check_hunger) |
bool | chunk_is_poisonous (int chunktype) |
int | you_max_hunger () |
int | you_min_hunger () |
void | handle_starvation () |
bool butchery | ( | int | which_corpse, | |
bool | bottle_blood | |||
) |
bool can_ingest | ( | int | what_isit, | |
int | kindof_thing, | |||
bool | suppress_msg, | |||
bool | reqid, | |||
bool | check_hunger | |||
) |
bool causes_rot | ( | const item_def & | food | ) |
bool check_amu_the_gourmand | ( | bool | reqid | ) |
bool chunk_is_poisonous | ( | int | chunktype | ) |
void chunk_nutrition_message | ( | int | nutrition | ) |
int count_corpses_in_pack | ( | bool | blood_only | ) |
void eat_floor_item | ( | int | item_link | ) |
bool eat_food | ( | int | slot | ) |
int eat_from_floor | ( | bool | skip_chunks | ) |
bool eat_from_inventory | ( | ) |
void eat_inventory_item | ( | int | which_inventory_slot | ) |
void finished_eating_message | ( | int | food_type | ) |
bool food_change | ( | bool | suppress_message | ) |
void handle_starvation | ( | ) |
bool is_bad_food | ( | const item_def & | food | ) |
bool is_contaminated | ( | const item_def & | food | ) |
bool is_forbidden_food | ( | const item_def & | food | ) |
bool is_inedible | ( | const item_def & | item | ) |
bool is_mutagenic | ( | const item_def & | food | ) |
bool is_poisonous | ( | const item_def & | food | ) |
bool is_preferred_food | ( | const item_def & | food | ) |
void lessen_hunger | ( | int | satiated_amount, | |
bool | suppress_msg | |||
) |
void make_hungry | ( | int | hunger_amount, | |
bool | suppress_msg, | |||
bool | allow_reducing | |||
) |
int prompt_eat_chunks | ( | ) |
bool prompt_eat_inventory_item | ( | int | slot | ) |
void set_hunger | ( | int | new_hunger_level, | |
bool | suppress_msg | |||
) |
void vampire_nutrition_per_turn | ( | const item_def & | corpse, | |
int | feeding | |||
) |
void weapon_switch | ( | int | targ | ) |
int you_max_hunger | ( | ) |
int you_min_hunger | ( | ) |