#include "AppHdr.h"
#include <algorithm>
#include "enum.h"
#include "externs.h"
#include "options.h"
#include "makeitem.h"
#include "message.h"
#include "artefact.h"
#include "colour.h"
#include "coord.h"
#include "decks.h"
#include "describe.h"
#include "dungeon.h"
#include "env.h"
#include "food.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "libutil.h"
#include "misc.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "player.h"
#include "random.h"
#include "spl-book.h"
#include "state.h"
#include "travel.h"
Functions | |
int | create_item_named (std::string name, coord_def p, std::string *error) |
bool | got_curare_roll (const int item_level) |
void | item_colour (item_def &item) |
bool | is_weapon_brand_ok (int type, int brand, bool strict) |
bool | is_missile_brand_ok (int type, int brand, bool strict) |
bool | is_armour_brand_ok (int type, int brand, bool strict) |
deck_rarity_type | random_deck_rarity () |
int | items (int allow_uniques, object_class_type force_class, int force_type, bool dont_place, int item_level, int item_race, uint32_t mapmask, int force_ego, int agent) |
void | reroll_brand (item_def &item, int item_level) |
void | init_rod_mp (item_def &item, int ncharges, int item_level) |
jewellery_type | get_random_amulet_type () |
jewellery_type | get_random_ring_type () |
armour_type | get_random_body_armour_type (int item_level) |
armour_type | get_random_armour_type (int item_level) |
void | item_set_appearance (item_def &item) |
int create_item_named | ( | std::string | name, | |
coord_def | p, | |||
std::string * | error | |||
) |
jewellery_type get_random_amulet_type | ( | ) |
armour_type get_random_armour_type | ( | int | item_level | ) |
armour_type get_random_body_armour_type | ( | int | item_level | ) |
jewellery_type get_random_ring_type | ( | ) |
bool got_curare_roll | ( | const int | item_level | ) |
void init_rod_mp | ( | item_def & | item, | |
int | ncharges, | |||
int | item_level | |||
) |
bool is_armour_brand_ok | ( | int | type, | |
int | brand, | |||
bool | strict | |||
) |
bool is_missile_brand_ok | ( | int | type, | |
int | brand, | |||
bool | strict | |||
) |
bool is_weapon_brand_ok | ( | int | type, | |
int | brand, | |||
bool | strict | |||
) |
void item_colour | ( | item_def & | item | ) |
void item_set_appearance | ( | item_def & | item | ) |
int items | ( | int | allow_uniques, | |
object_class_type | force_class, | |||
int | force_type, | |||
bool | dont_place, | |||
int | item_level, | |||
int | item_race, | |||
uint32_t | mapmask, | |||
int | force_ego, | |||
int | agent | |||
) |
deck_rarity_type random_deck_rarity | ( | ) |
void reroll_brand | ( | item_def & | item, | |
int | item_level | |||
) |