artefact.cc File Reference

#include "AppHdr.h"
#include "artefact.h"
#include <cstdlib>
#include <climits>
#include <string.h>
#include <stdio.h>
#include <algorithm>
#include "externs.h"
#include "options.h"
#include "areas.h"
#include "colour.h"
#include "coordit.h"
#include "database.h"
#include "describe.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "libutil.h"
#include "makeitem.h"
#include "place.h"
#include "player.h"
#include "random.h"
#include "religion.h"
#include "species.h"
#include "spl-book.h"
#include "stuff.h"
#include "view.h"
#include "shout.h"
#include "art-func.h"
#include "art-data.h"

Include dependency graph for artefact.cc:


Functions

bool is_known_artefact (const item_def &item)
bool is_artefact (const item_def &item)
bool is_random_artefact (const item_def &item)
bool is_unrandom_artefact (const item_def &item)
bool is_special_unrandom_artefact (const item_def &item)
unique_item_status_type get_unique_item_status (const item_def &item)
unique_item_status_type get_unique_item_status (int art)
void set_unique_item_status (const item_def &item, unique_item_status_type status)
void set_unique_item_status (int art, unique_item_status_type status)
void artefact_desc_properties (const item_def &item, artefact_properties_t &proprt, artefact_known_props_t &known, bool force_fake_props)
void artefact_wpn_properties (const item_def &item, artefact_properties_t &proprt, artefact_known_props_t &known)
void artefact_wpn_properties (const item_def &item, artefact_properties_t &proprt)
int artefact_wpn_property (const item_def &item, artefact_prop_type prop, bool &_known)
int artefact_wpn_property (const item_def &item, artefact_prop_type prop)
int artefact_known_wpn_property (const item_def &item, artefact_prop_type prop)
void artefact_wpn_learn_prop (item_def &item, artefact_prop_type prop)
std::string artefact_name (const item_def &item, bool appearance)
std::string get_artefact_name (const item_def &item, bool force_known)
void set_artefact_name (item_def &item, const std::string &name)
int find_unrandart_index (const item_def &artefact)
unrandart_entryget_unrand_entry (int unrand_index)
int find_okay_unrandart (uint8_t aclass, uint8_t atype, bool in_abyss)
int get_unrandart_num (const char *name)
bool randart_is_bad (const item_def &item, artefact_properties_t &proprt)
bool randart_is_bad (const item_def &item)
bool make_item_randart (item_def &item, bool force_mundane)
bool make_item_unrandart (item_def &item, int unrand_index)
const char * unrandart_descrip (int which_descrip, const item_def &item)
void artefact_set_property (item_def &item, artefact_prop_type prop, int val)
void cheibriados_make_item_ponderous (item_def &item)
void artefact_fixup_props (item_def &item)

Function Documentation

void artefact_desc_properties ( const item_def item,
artefact_properties_t proprt,
artefact_known_props_t known,
bool  force_fake_props 
)

Here is the call graph for this function:

void artefact_fixup_props ( item_def item  ) 

Here is the call graph for this function:

int artefact_known_wpn_property ( const item_def item,
artefact_prop_type  prop 
)

Here is the call graph for this function:

std::string artefact_name ( const item_def item,
bool  appearance 
)

Here is the call graph for this function:

void artefact_set_property ( item_def item,
artefact_prop_type  prop,
int  val 
)

Here is the call graph for this function:

void artefact_wpn_learn_prop ( item_def item,
artefact_prop_type  prop 
)

Here is the call graph for this function:

void artefact_wpn_properties ( const item_def item,
artefact_properties_t proprt 
)

Here is the call graph for this function:

void artefact_wpn_properties ( const item_def item,
artefact_properties_t proprt,
artefact_known_props_t known 
)

Here is the call graph for this function:

int artefact_wpn_property ( const item_def item,
artefact_prop_type  prop 
)

Here is the call graph for this function:

int artefact_wpn_property ( const item_def item,
artefact_prop_type  prop,
bool &  _known 
)

Here is the call graph for this function:

void cheibriados_make_item_ponderous ( item_def item  ) 

Here is the call graph for this function:

int find_okay_unrandart ( uint8_t  aclass,
uint8_t  atype,
bool  in_abyss 
)

Here is the call graph for this function:

int find_unrandart_index ( const item_def artefact  ) 

std::string get_artefact_name ( const item_def item,
bool  force_known 
)

Here is the call graph for this function:

unique_item_status_type get_unique_item_status ( int  art  ) 

unique_item_status_type get_unique_item_status ( const item_def item  ) 

Here is the call graph for this function:

unrandart_entry* get_unrand_entry ( int  unrand_index  ) 

int get_unrandart_num ( const char *  name  ) 

Here is the call graph for this function:

bool is_artefact ( const item_def item  ) 

bool is_known_artefact ( const item_def item  ) 

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

bool make_item_unrandart ( item_def item,
int  unrand_index 
)

Here is the call graph for this function:

bool randart_is_bad ( const item_def item  ) 

Here is the call graph for this function:

bool randart_is_bad ( const item_def item,
artefact_properties_t proprt 
)

void set_artefact_name ( item_def item,
const std::string name 
)

Here is the call graph for this function:

void set_unique_item_status ( int  art,
unique_item_status_type  status 
)

void set_unique_item_status ( const item_def item,
unique_item_status_type  status 
)

Here is the call graph for this function:

const char* unrandart_descrip ( int  which_descrip,
const item_def item 
)


Generated on Thu Jan 13 13:03:04 2011 by  doxygen 1.5.6