#include "externs.h"
#include "art-enum.h"
Go to the source code of this file.
#define ART_PROPERTIES ARTP_NUM_PROPERTIES |
#define ARTEFACT_APPEAR_KEY "artefact_appearance" |
#define ARTEFACT_NAME_KEY "artefact_name" |
#define ARTEFACT_PROPS_KEY "artefact_props" |
#define KNOWN_PROPS_KEY "artefact_known_props" |
#define RANDART_SEED_MASK 0x00ffffff |
typedef FixedVector< bool, ART_PROPERTIES > artefact_known_props_t |
typedef FixedVector< int, ART_PROPERTIES > artefact_properties_t |
enum setup_missile_type |
enum unrand_flag_type |
void artefact_desc_properties | ( | const item_def & | item, | |
artefact_properties_t & | proprt, | |||
artefact_known_props_t & | known, | |||
bool | force_fake_props = false | |||
) |
void artefact_fixup_props | ( | item_def & | item | ) |
int artefact_known_wpn_property | ( | const item_def & | item, | |
artefact_prop_type | prop | |||
) |
std::string artefact_name | ( | const item_def & | item, | |
bool | appearance = false | |||
) |
void artefact_set_property | ( | item_def & | item, | |
artefact_prop_type | prop, | |||
int | val | |||
) |
void artefact_wpn_learn_prop | ( | item_def & | item, | |
artefact_prop_type | prop | |||
) |
void artefact_wpn_properties | ( | const item_def & | item, | |
artefact_properties_t & | proprt | |||
) |
void artefact_wpn_properties | ( | const item_def & | item, | |
artefact_properties_t & | proprt, | |||
artefact_known_props_t & | known | |||
) |
int artefact_wpn_property | ( | const item_def & | item, | |
artefact_prop_type | prop | |||
) |
int artefact_wpn_property | ( | const item_def & | item, | |
artefact_prop_type | prop, | |||
bool & | known | |||
) |
void cheibriados_make_item_ponderous | ( | item_def & | item | ) |
int find_okay_unrandart | ( | uint8_t | aclass, | |
uint8_t | atype = OBJ_RANDOM , |
|||
bool | in_abyss = false | |||
) |
int find_unrandart_index | ( | const item_def & | artefact | ) |
std::string get_artefact_name | ( | const item_def & | item, | |
bool | force_known = false | |||
) |
unique_item_status_type get_unique_item_status | ( | int | unrand_index | ) |
unique_item_status_type get_unique_item_status | ( | const item_def & | item | ) |
unrandart_entry* get_unrand_entry | ( | int | unrand_index | ) |
int get_unrandart_num | ( | const char * | name | ) |
bool is_artefact | ( | const item_def & | item | ) |
bool is_known_artefact | ( | const item_def & | item | ) |
bool is_random_artefact | ( | const item_def & | item | ) |
bool is_special_unrandom_artefact | ( | const item_def & | item | ) |
bool is_unrandom_artefact | ( | const item_def & | item | ) |
bool make_item_randart | ( | item_def & | item, | |
bool | force_mundane = false | |||
) |
bool make_item_unrandart | ( | item_def & | item, | |
int | unrand_index | |||
) |
bool randart_is_bad | ( | const item_def & | item, | |
artefact_properties_t & | proprt | |||
) |
bool randart_is_bad | ( | const item_def & | item | ) |
void set_artefact_name | ( | item_def & | item, | |
const std::string & | name | |||
) |
void set_unique_item_status | ( | int | unrand_index, | |
unique_item_status_type | status | |||
) |
void set_unique_item_status | ( | const item_def & | item, | |
unique_item_status_type | status | |||
) |
const char* unrandart_descrip | ( | int | which_descrip, | |
const item_def & | item | |||
) |