goditem.cc File Reference

#include "AppHdr.h"
#include "goditem.h"
#include <algorithm>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include "artefact.h"
#include "itemname.h"
#include "itemprop.h"
#include "religion.h"
#include "spl-book.h"
#include "spl-cast.h"
#include "spl-util.h"

Include dependency graph for goditem.cc:


Functions

bool is_holy_item (const item_def &item)
bool is_potentially_unholy_item (const item_def &item)
bool is_unholy_item (const item_def &item)
bool is_potentially_evil_item (const item_def &item)
bool is_corpse_violating_item (const item_def &item)
bool is_evil_item (const item_def &item)
bool is_unclean_item (const item_def &item)
bool is_chaotic_item (const item_def &item)
bool is_potentially_hasty_item (const item_def &item)
bool is_hasty_item (const item_def &item)
bool is_poisoned_item (const item_def &item)
bool is_holy_discipline (int discipline)
bool is_evil_discipline (int discipline)
bool is_holy_spell (spell_type spell, god_type god)
bool is_unholy_spell (spell_type spell, god_type god)
bool is_corpse_violating_spell (spell_type spell, god_type god)
bool is_evil_spell (spell_type spell, god_type god)
bool is_unclean_spell (spell_type spell, god_type god)
bool is_chaotic_spell (spell_type spell, god_type god)
bool is_hasty_spell (spell_type spell, god_type god)
bool is_any_spell (spell_type spell, god_type god)
bool is_spellbook_type (const item_def &item, bool book_or_rod, bool(*suitable)(spell_type spell, god_type god), god_type god)
bool is_holy_spellbook (const item_def &item)
bool is_unholy_spellbook (const item_def &item)
bool is_evil_spellbook (const item_def &item)
bool is_unclean_spellbook (const item_def &item)
bool is_chaotic_spellbook (const item_def &item)
bool is_hasty_spellbook (const item_def &item)
bool is_corpse_violating_spellbook (const item_def &item)
bool god_hates_spellbook (const item_def &item)
bool is_holy_rod (const item_def &item)
bool is_unholy_rod (const item_def &item)
bool is_evil_rod (const item_def &item)
bool is_unclean_rod (const item_def &item)
bool is_chaotic_rod (const item_def &item)
bool is_hasty_rod (const item_def &item)
bool is_corpse_violating_rod (const item_def &item)
bool god_hates_rod (const item_def &item)
conduct_type good_god_hates_item_handling (const item_def &item)
conduct_type god_hates_item_handling (const item_def &item)
bool god_dislikes_spell_type (spell_type spell, god_type god)
bool god_dislikes_spell_discipline (int discipline, god_type god)

Function Documentation

bool god_dislikes_spell_discipline ( int  discipline,
god_type  god 
)

Here is the call graph for this function:

bool god_dislikes_spell_type ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

conduct_type god_hates_item_handling ( const item_def item  ) 

Here is the call graph for this function:

bool god_hates_rod ( const item_def item  ) 

Here is the call graph for this function:

bool god_hates_spellbook ( const item_def item  ) 

Here is the call graph for this function:

conduct_type good_god_hates_item_handling ( const item_def item  ) 

Here is the call graph for this function:

bool is_any_spell ( spell_type  spell,
god_type  god 
)

bool is_chaotic_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_chaotic_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_chaotic_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_chaotic_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_corpse_violating_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_corpse_violating_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_corpse_violating_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_corpse_violating_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_evil_discipline ( int  discipline  ) 

bool is_evil_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_evil_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_evil_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_evil_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_hasty_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_hasty_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_hasty_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_hasty_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_holy_discipline ( int  discipline  ) 

bool is_holy_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_holy_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_holy_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_holy_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_poisoned_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_potentially_evil_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_potentially_hasty_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_potentially_unholy_item ( const item_def item  ) 

bool is_spellbook_type ( const item_def item,
bool  book_or_rod,
bool(*)(spell_type spell, god_type god)  suitable,
god_type  god 
)

Here is the call graph for this function:

bool is_unclean_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_unclean_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_unclean_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_unclean_spellbook ( const item_def item  ) 

Here is the call graph for this function:

bool is_unholy_item ( const item_def item  ) 

Here is the call graph for this function:

bool is_unholy_rod ( const item_def item  ) 

Here is the call graph for this function:

bool is_unholy_spell ( spell_type  spell,
god_type  god 
)

Here is the call graph for this function:

bool is_unholy_spellbook ( const item_def item  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:06:01 2011 by  doxygen 1.5.6