makeitem.cc File Reference

#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"

Include dependency graph for makeitem.cc:


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)

Function Documentation

int create_item_named ( std::string  name,
coord_def  p,
std::string error 
)

Here is the call graph for this function:

jewellery_type get_random_amulet_type (  ) 

Here is the call graph for this function:

armour_type get_random_armour_type ( int  item_level  ) 

Here is the call graph for this function:

armour_type get_random_body_armour_type ( int  item_level  ) 

Here is the call graph for this function:

jewellery_type get_random_ring_type (  ) 

Here is the call graph for this function:

bool got_curare_roll ( const int  item_level  ) 

Here is the call graph for this function:

void init_rod_mp ( item_def item,
int  ncharges,
int  item_level 
)

Here is the call graph for this function:

bool is_armour_brand_ok ( int  type,
int  brand,
bool  strict 
)

Here is the call graph for this function:

bool is_missile_brand_ok ( int  type,
int  brand,
bool  strict 
)

bool is_weapon_brand_ok ( int  type,
int  brand,
bool  strict 
)

Here is the call graph for this function:

void item_colour ( item_def item  ) 

Here is the call graph for this function:

void item_set_appearance ( item_def item  ) 

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

deck_rarity_type random_deck_rarity (  ) 

Here is the call graph for this function:

void reroll_brand ( item_def item,
int  item_level 
)

Here is the call graph for this function:


Generated on Thu Jan 13 13:09:23 2011 by  doxygen 1.5.6