Go to the source code of this file.
Data Structures | |
struct | attribs |
Defines | |
#define | A_STR 0 |
#define | A_INT 1 |
#define | A_WIS 2 |
#define | A_DEX 3 |
#define | A_CON 4 |
#define | A_CHA 5 |
#define | A_MAX 6 |
#define | ABASE(x) (u.acurr.a[x]) |
#define | ABON(x) (u.abon.a[x]) |
#define | AEXE(x) (u.aexe.a[x]) |
#define | ACURR(x) (acurr(x)) |
#define | ACURRSTR (acurrstr()) |
#define | MCURR(x) (u.macurr.a[x]) |
#define | AMAX(x) (u.amax.a[x]) |
#define | MMAX(x) (u.mamax.a[x]) |
#define | ATEMP(x) (u.atemp.a[x]) |
#define | ATIME(x) (u.atime.a[x]) |
#define | STR18(x) (18+(x)) |
#define | STR19(x) (100+(x)) |
#define | ATTRMAX(x) ((x == A_STR && Upolyd && strongmonst(youmonst.data)) ? STR18(100) : urace.attrmax[x]) |
#define | ATTRMIN(x) (urace.attrmin[x]) |
#define A_CHA 5 |
Referenced by acurr(), beautiful(), bot1(), cancel_item(), domagictrap(), drain_item(), eataccessory(), exerchk(), exercise(), fix_petrification(), get_cost(), ghitm(), Helmet_off(), Helmet_on(), poisoned(), Ring_off_or_gone(), and Ring_on().
#define A_CON 4 |
Referenced by adjattrib(), b_trapped(), bot1(), cancel_item(), chest_trap(), choke(), diseasemu(), doclose(), dokick(), domove(), done(), dosit(), dotrap(), drain_item(), drinkfountain(), eataccessory(), eatspecial(), exerchk(), exercise(), exerper(), fix_attributes_and_properties(), gulpum(), hitmu(), kickdmg(), make_sick(), moveloop(), newhp(), newuhs(), peffects(), polymon(), polyself(), potionbreathe(), prayer_done(), restore_attrib(), Ring_off_or_gone(), Ring_on(), seffects(), thitu(), throwit(), u_init(), vomiting_dialogue(), weight_cap(), zapyourself(), and zhitu().
#define A_DEX 3 |
Referenced by abon(), adj_abon(), boomhit(), bot1(), cancel_item(), cast_wizard_spell(), chest_trap(), chwepon(), damageum(), do_improvisation(), doclose(), dokick(), domove(), dospinweb(), dotrap(), dotwoweapon(), drain_item(), eataccessory(), exerchk(), exercise(), exerper(), explmu(), forcelock(), heal_legs(), hitmu(), hitum(), kick_monster(), kick_object(), kickdmg(), moveloop(), passive(), peffects(), pick_lock(), picklock(), potionbreathe(), Ring_off_or_gone(), Ring_on(), seffects(), set_wounded_legs(), slime_dialogue(), spell_hit_bonus(), start_tin(), stoned_dialogue(), test_move(), thitmonst(), throwit(), u_slow_down(), untrap(), use_trap(), use_whip(), zapyourself(), and zhitu().
#define A_INT 1 |
Referenced by acurr(), adj_abon(), adjattrib(), bot1(), cancel_item(), cpostfx(), damageum(), drain_item(), eataccessory(), exerchk(), exercise(), Helmet_on(), hitmu(), moveloop(), peffects(), redist_attr(), Ring_off_or_gone(), Ring_on(), seffects(), spell_damage_bonus(), spelleffects(), study_book(), and use_crystal_ball().
#define A_MAX 6 |
#define A_STR 0 |
Referenced by abon(), acurr(), acurrstr(), adjattrib(), attack(), b_trapped(), bot1(), break_armor(), cancel_item(), chest_trap(), choke_dialogue(), dbon(), destroy_item(), dip(), do_break_wand(), doclose(), dokick(), dosit(), dotele(), dotrap(), dozap(), drag_down(), drain_item(), eataccessory(), exerchk(), exercise(), exerper(), explode(), fix_attributes_and_properties(), fix_worst_trouble(), forcelock(), gainstr(), gulpmu(), hitmu(), in_trouble(), jump(), losestr(), m_throw(), moverock(), passive(), peffects(), pleased(), polymon(), Ring_off_or_gone(), Ring_on(), seffects(), spelleffects(), thitmonst(), thitu(), throw_obj(), u_init(), ugolemeffects(), use_trap(), wand_explode(), zapyourself(), and zhitu().
#define A_WIS 2 |
Referenced by acurr(), adj_abon(), adjattrib(), altar_wrath(), angrygods(), artitouch(), bagotricks(), bot1(), breakobj(), cancel_item(), chat_with_leader(), check_unpaid_usage(), consume_offering(), damageum(), demonpet(), dig_up_grave(), dip(), dipfountain(), discover_object(), do_improvisation(), do_mapping(), do_play_instrument(), doconsult(), dofindgem(), dokick(), dosacrifice(), dosearch0(), dosit(), dosummon(), dotele(), doturn(), dowrite(), drain_item(), drinkfountain(), eataccessory(), eatspecial(), engrave(), exerchk(), exercise(), exerper(), find_trap(), food_detect(), getrumor(), ghod_hitsu(), gold_detect(), hitmu(), hmon_hitmon(), learn(), losespells(), losexp(), make_engr_at(), move_into_trap(), moveloop(), outrumor(), passive(), peffects(), pickup_object(), pluslvl(), polymon(), potionbreathe(), priest_talk(), redist_attr(), Ring_off_or_gone(), Ring_on(), seffects(), spelleffects(), throwspell(), touch_artifact(), untrap(), violated(), weffects(), and zapnodir().
#define ABASE | ( | x ) | (u.acurr.a[x]) |
#define ABON | ( | x ) | (u.abon.a[x]) |
Referenced by adj_abon(), cancel_item(), drain_item(), Helmet_off(), Helmet_on(), Ring_off_or_gone(), Ring_on(), and seffects().
#define ACURR | ( | x ) | (acurr(x)) |
Referenced by abon(), acurrstr(), adjattrib(), bagotricks(), beautiful(), boomhit(), bot1(), cast_wizard_spell(), dbon(), diseasemu(), do_break_wand(), do_improvisation(), doclose(), dokick(), dotele(), dotrap(), dotwoweapon(), exercise(), explmu(), fix_attributes_and_properties(), fix_petrification(), get_cost(), ghitm(), Helmet_on(), hitmu(), jump(), kick_monster(), kick_object(), kickdmg(), losexp(), moveloop(), newhp(), newuhs(), passive(), percent_success(), pick_lock(), pluslvl(), polyself(), restore_attrib(), Ring_off_or_gone(), Ring_on(), spell_damage_bonus(), spell_hit_bonus(), spelleffects(), start_tin(), study_book(), test_move(), thitmonst(), throw_obj(), untrap(), use_crystal_ball(), use_trap(), use_whip(), and weight_cap().
#define ACURRSTR (acurrstr()) |
Referenced by dig(), doclose(), dokick(), kick_object(), kickdmg(), m_move(), start_tin(), still_chewing(), throw_gold(), throwit(), and weight_cap().
#define AEXE | ( | x ) | (u.aexe.a[x]) |
Referenced by exerchk(), and exercise().
#define AMAX | ( | x ) | (u.amax.a[x]) |
#define ATEMP | ( | x ) | (u.atemp.a[x]) |
Referenced by heal_legs(), Helmet_on(), init_attr(), restore_attrib(), and set_wounded_legs().
#define ATIME | ( | x ) | (u.atime.a[x]) |
Referenced by init_attr(), and restore_attrib().
#define ATTRMAX | ( | x ) | ((x == A_STR && Upolyd && strongmonst(youmonst.data)) ? STR18(100) : urace.attrmax[x]) |
Referenced by adjattrib(), cpostfx(), init_attr(), and redist_attr().
#define ATTRMIN | ( | x ) | (urace.attrmin[x]) |
Referenced by adjattrib(), hitmu(), init_attr(), and redist_attr().
#define MCURR | ( | x ) | (u.macurr.a[x]) |
#define MMAX | ( | x ) | (u.mamax.a[x]) |
#define STR19 | ( | x ) | (100+(x)) |
Referenced by throw_obj().