makeitem.h File Reference

#include "decks.h"
#include "itemprop-enum.h"

Include dependency graph for makeitem.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  item_make_species_type {
  MAKE_ITEM_ELVEN = 1, MAKE_ITEM_DWARVEN = 2, MAKE_ITEM_ORCISH = 3, MAKE_ITEM_NO_RACE = 100,
  MAKE_ITEM_RANDOM_RACE = 250
}

Functions

int create_item_named (std::string name, coord_def pos, std::string *error)
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=0, int force_ego=0, int agent=-1)
void item_colour (item_def &item)
void init_rod_mp (item_def &item, int ncharges=-1, int item_level=-1)
jewellery_type get_random_ring_type ()
jewellery_type get_random_amulet_type ()
armour_type get_random_body_armour_type (int level)
armour_type get_random_armour_type (int item_level)
void item_set_appearance (item_def &item)
bool is_weapon_brand_ok (int type, int brand, bool strict)
bool is_armour_brand_ok (int type, int brand, bool strict)
bool is_missile_brand_ok (int type, int brand, bool strict)
bool got_curare_roll (const int item_level)
void reroll_brand (item_def &item, int item_level)
deck_rarity_type random_deck_rarity ()


Enumeration Type Documentation

Enumerator:
MAKE_ITEM_ELVEN 
MAKE_ITEM_DWARVEN 
MAKE_ITEM_ORCISH 
MAKE_ITEM_NO_RACE 
MAKE_ITEM_RANDOM_RACE 


Function Documentation

int create_item_named ( std::string  name,
coord_def  pos,
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  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 = -1,
int  item_level = -1 
)

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 = 0,
int  force_ego = 0,
int  agent = -1 
)

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:30 2011 by  doxygen 1.5.6