#include "AppHdr.h"
#include <sstream>
#include <iomanip>
#include "spl-cast.h"
#include "externs.h"
#include "options.h"
#include "areas.h"
#include "beam.h"
#include "colour.h"
#include "coordit.h"
#include "describe.h"
#include "directn.h"
#include "effects.h"
#include "env.h"
#include "exercise.h"
#include "food.h"
#include "format.h"
#include "godabil.h"
#include "godconduct.h"
#include "goditem.h"
#include "hints.h"
#include "invent.h"
#include "item_use.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "macro.h"
#include "map_knowledge.h"
#include "menu.h"
#include "misc.h"
#include "message.h"
#include "mon-cast.h"
#include "mon-place.h"
#include "mon-project.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "mutation.h"
#include "ouch.h"
#include "player.h"
#include "religion.h"
#include "shout.h"
#include "skills.h"
#include "spl-book.h"
#include "spl-clouds.h"
#include "spl-damage.h"
#include "spl-goditem.h"
#include "spl-miscast.h"
#include "spl-monench.h"
#include "spl-other.h"
#include "spl-selfench.h"
#include "spl-summoning.h"
#include "spl-transloc.h"
#include "spl-util.h"
#include "spl-wpnench.h"
#include "spl-zap.h"
#include "state.h"
#include "stuff.h"
#include "transform.h"
#include "view.h"
Functions | |
int | list_spells (bool toggle_with_I, bool viewing, int minRange, spell_selector selector) |
int | spell_fail (spell_type spell) |
int | calc_spell_power (spell_type spell, bool apply_intel, bool fail_rate_check, bool cap_power, bool rod) |
int | spell_enhancement (unsigned int typeflags) |
void | inspect_spells () |
void | do_cast_spell_cmd (bool force) |
bool | cast_a_spell (bool check_range, spell_type spell) |
void | maybe_identify_staff (item_def &item) |
bool | is_prevented_teleport (spell_type spell) |
bool | spell_is_uncastable (spell_type spell, std::string &msg) |
spret_type | your_spells (spell_type spell, int powc, bool allow_fail, bool check_range, int range_power) |
const char * | failure_rate_to_string (int fail) |
const char * | spell_hunger_string (spell_type spell, bool rod) |
std::string | spell_noise_string (spell_type spell) |
int | spell_power_colour (spell_type spell) |
int | spell_power_bars (spell_type spell, bool rod) |
std::string | spell_power_string (spell_type spell, bool rod) |
int | calc_spell_range (spell_type spell, int power, bool real_cast, bool rod) |
std::string | spell_range_string (spell_type spell, bool rod) |
std::string | spell_schools_string (spell_type spell) |
int calc_spell_power | ( | spell_type | spell, | |
bool | apply_intel, | |||
bool | fail_rate_check, | |||
bool | cap_power, | |||
bool | rod | |||
) |
int calc_spell_range | ( | spell_type | spell, | |
int | power, | |||
bool | real_cast, | |||
bool | rod | |||
) |
bool cast_a_spell | ( | bool | check_range, | |
spell_type | spell | |||
) |
void do_cast_spell_cmd | ( | bool | force | ) |
const char* failure_rate_to_string | ( | int | fail | ) |
void inspect_spells | ( | ) |
bool is_prevented_teleport | ( | spell_type | spell | ) |
int list_spells | ( | bool | toggle_with_I, | |
bool | viewing, | |||
int | minRange, | |||
spell_selector | selector | |||
) |
void maybe_identify_staff | ( | item_def & | item | ) |
int spell_enhancement | ( | unsigned int | typeflags | ) |
int spell_fail | ( | spell_type | spell | ) |
const char* spell_hunger_string | ( | spell_type | spell, | |
bool | rod | |||
) |
bool spell_is_uncastable | ( | spell_type | spell, | |
std::string & | msg | |||
) |
std::string spell_noise_string | ( | spell_type | spell | ) |
int spell_power_bars | ( | spell_type | spell, | |
bool | rod | |||
) |
int spell_power_colour | ( | spell_type | spell | ) |
std::string spell_power_string | ( | spell_type | spell, | |
bool | rod | |||
) |
std::string spell_range_string | ( | spell_type | spell, | |
bool | rod | |||
) |
std::string spell_schools_string | ( | spell_type | spell | ) |
spret_type your_spells | ( | spell_type | spell, | |
int | powc, | |||
bool | allow_fail, | |||
bool | check_range, | |||
int | range_power | |||
) |