#include "AppHdr.h"
#include "describe.h"
#include "database.h"
#include <stdio.h>
#include <string>
#include <sstream>
#include <iomanip>
#include <numeric>
#include "externs.h"
#include "options.h"
#include "species.h"
#include "abl-show.h"
#include "artefact.h"
#include "cio.h"
#include "clua.h"
#include "debug.h"
#include "decks.h"
#include "delay.h"
#include "fight.h"
#include "food.h"
#include "ghost.h"
#include "godabil.h"
#include "goditem.h"
#include "godpassive.h"
#include "invent.h"
#include "item_use.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "it_use3.h"
#include "jobs.h"
#include "libutil.h"
#include "macro.h"
#include "menu.h"
#include "message.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "output.h"
#include "player.h"
#include "quiver.h"
#include "random.h"
#include "religion.h"
#include "rng.h"
#include "skills2.h"
#include "spl-book.h"
#include "spl-clouds.h"
#include "stuff.h"
#include "env.h"
#include "spl-cast.h"
#include "spl-util.h"
#include "transform.h"
#include "hints.h"
#include "xom.h"
#include "mon-info.h"
Classes | |
class | default_desc_proc |
struct | property_annotators |
struct | property_descriptor |
Defines | |
#define | LONG_DESC_KEY "long_desc_key" |
#define | QUOTE_KEY "quote_key" |
#define | known_proprt(prop) (proprt[(prop)] && known[(prop)]) |
#define | NUM_BONDAGE 3 |
Functions | |
int | count_desc_lines (const std::string _desc, const int width) |
void | print_description (const std::string &body) |
void | print_description (const describe_info &inf) |
const char * | jewellery_base_ability_string (int subtype) |
void | trim_randart_inscrip (item_def &item) |
std::string | artefact_auto_inscription (const item_def &item) |
void | add_autoinscription (item_def &item, std::string ainscrip) |
void | add_autoinscription (item_def &item) |
void | add_inscription (item_def &item, std::string inscrip) |
const char * | trap_name (trap_type trap) |
int | str_to_trap (const std::string &s) |
void | append_weapon_stats (std::string &description, const item_def &item) |
void | append_armour_stats (std::string &description, const item_def &item) |
void | append_missile_info (std::string &description) |
void | append_spells (std::string &desc, const item_def &item) |
bool | is_dumpable_artefact (const item_def &item, bool verbose) |
std::string | get_item_description (const item_def &item, bool verbose, bool dump, bool noquote) |
void | get_feature_desc (const coord_def &pos, describe_info &inf) |
void | describe_feature_wide (const coord_def &pos) |
void | set_feature_desc_long (const std::string &raw_name, const std::string &desc) |
void | set_feature_quote (const std::string &raw_name, const std::string "e) |
void | get_item_desc (const item_def &item, describe_info &inf, bool terse) |
bool | describe_item (item_def &item, bool allow_inscribe, bool shopping) |
void | inscribe_item (item_def &item, bool msgwin) |
void | get_spell_desc (const spell_type spell, describe_info &inf) |
void | describe_spell (spell_type spelled, const item_def *item) |
void | get_monster_db_desc (const monster_info &mi, describe_info &inf, bool &has_stat_desc, bool force_seen) |
void | describe_monsters (const monster_info &mi, bool force_seen, const std::string &footer, bool wait_until_key_pressed) |
std::string | short_ghost_description (const monster *mon, bool abbrev) |
std::string | get_ghost_description (const monster_info &mi, bool concise) |
std::string | describe_favour (god_type which_god) |
std::string | god_title (god_type which_god, species_type which_species) |
void | describe_god (god_type which_god, bool give_title) |
std::string | get_skill_description (skill_type skill, bool need_title) |
void | describe_skill (skill_type skill) |
Variables | |
ability_type | god_abilities [MAX_NUM_GODS][MAX_GOD_ABILITIES] |
const char * | divine_title [NUM_GODS][8] |
#define known_proprt | ( | prop | ) | (proprt[(prop)] && known[(prop)]) |
#define LONG_DESC_KEY "long_desc_key" |
#define NUM_BONDAGE 3 |
#define QUOTE_KEY "quote_key" |
void add_autoinscription | ( | item_def & | item | ) |
void add_autoinscription | ( | item_def & | item, | |
std::string | ainscrip | |||
) |
void add_inscription | ( | item_def & | item, | |
std::string | inscrip | |||
) |
void append_armour_stats | ( | std::string & | description, | |
const item_def & | item | |||
) |
void append_missile_info | ( | std::string & | description | ) |
void append_spells | ( | std::string & | desc, | |
const item_def & | item | |||
) |
void append_weapon_stats | ( | std::string & | description, | |
const item_def & | item | |||
) |
std::string artefact_auto_inscription | ( | const item_def & | item | ) |
int count_desc_lines | ( | const std::string | _desc, | |
const int | width | |||
) |
std::string describe_favour | ( | god_type | which_god | ) |
void describe_feature_wide | ( | const coord_def & | pos | ) |
void describe_god | ( | god_type | which_god, | |
bool | give_title | |||
) |
bool describe_item | ( | item_def & | item, | |
bool | allow_inscribe, | |||
bool | shopping | |||
) |
void describe_monsters | ( | const monster_info & | mi, | |
bool | force_seen, | |||
const std::string & | footer, | |||
bool | wait_until_key_pressed | |||
) |
void describe_skill | ( | skill_type | skill | ) |
void describe_spell | ( | spell_type | spelled, | |
const item_def * | item | |||
) |
void get_feature_desc | ( | const coord_def & | pos, | |
describe_info & | inf | |||
) |
std::string get_ghost_description | ( | const monster_info & | mi, | |
bool | concise | |||
) |
void get_item_desc | ( | const item_def & | item, | |
describe_info & | inf, | |||
bool | terse | |||
) |
std::string get_item_description | ( | const item_def & | item, | |
bool | verbose, | |||
bool | dump, | |||
bool | noquote | |||
) |
void get_monster_db_desc | ( | const monster_info & | mi, | |
describe_info & | inf, | |||
bool & | has_stat_desc, | |||
bool | force_seen | |||
) |
std::string get_skill_description | ( | skill_type | skill, | |
bool | need_title | |||
) |
void get_spell_desc | ( | const spell_type | spell, | |
describe_info & | inf | |||
) |
std::string god_title | ( | god_type | which_god, | |
species_type | which_species | |||
) |
void inscribe_item | ( | item_def & | item, | |
bool | msgwin | |||
) |
bool is_dumpable_artefact | ( | const item_def & | item, | |
bool | verbose | |||
) |
const char* jewellery_base_ability_string | ( | int | subtype | ) |
void print_description | ( | const describe_info & | inf | ) |
void print_description | ( | const std::string & | body | ) |
void set_feature_desc_long | ( | const std::string & | raw_name, | |
const std::string & | desc | |||
) |
void set_feature_quote | ( | const std::string & | raw_name, | |
const std::string & | quote | |||
) |
std::string short_ghost_description | ( | const monster * | mon, | |
bool | abbrev | |||
) |
int str_to_trap | ( | const std::string & | s | ) |
const char* trap_name | ( | trap_type | trap | ) |
void trim_randart_inscrip | ( | item_def & | item | ) |
const char* divine_title[NUM_GODS][8] |
ability_type god_abilities[MAX_NUM_GODS][MAX_GOD_ABILITIES] |