#include <monst.h>
Instances are kept in w->m
Definition at line 106 of file monst.h.
Data Fields | |
| filelink | type |
| Link to corresponding monstdesc, or null if dead. | |
| sshort | hps |
| uchar | energy |
| Moves the monster can make (move when >player speed). | |
| uchar | power |
| Mana. Regenerates at 1 point per turn. | |
| sshort | x |
| sshort | y |
| ushort | flags |
| Controls monster behavior. | |
| ushort | pad2 |
| Unused. | |
|
|
Moves the monster can make (move when >player speed).
Definition at line 110 of file monst.h. Referenced by addmonster(), base_coat(), and timepass(). |
|
|
Controls monster behavior. Flags may be any combination of AI Flags. When the monster is created, this value is copied from its description monstdesc::ai.
Definition at line 120 of file monst.h. Referenced by addmonster(), confuse_monster(), monst_anger(), monst_is_peaceful(), monst_is_pet(), monstmove(), and scare_monster_force(). |
|
|
Definition at line 109 of file monst.h. Referenced by addmonster(), monst_heal(), monst_takedamage(), monstmove(), plr_attack(), and throw_item(). |
|
|
Unused.
|
|
|
Mana. Regenerates at 1 point per turn.
Definition at line 111 of file monst.h. Referenced by addmonster(), and monstmove(). |
|
|
Link to corresponding monstdesc, or null if dead.
Definition at line 108 of file monst.h. Referenced by addmonster(), base_coat(), cause_confusion(), compress_monsters(), find_monster_description(), gather_wandering_monsters(), monst_attack_type(), monst_remove(), monst_swing_monst(), monstbytile(), place_monster(), and timepass(). |
|
|
Definition at line 112 of file monst.h. Referenced by monst_battle_pet(), monst_can_attack_player(), monst_detect_player(), monst_facing(), monst_is_aligned_with_plr(), monst_remove(), monstbytile(), monstcanmove(), monstmove(), monstmoveawayfromplayer(), monstmoverandomly(), monstmoveto(), monstmovetowardsplayer(), pet_move(), place_monster(), player_can_see(), plr_moveto(), webspinner_build(), and webspinner_cower(). |
|
|
Definition at line 113 of file monst.h. Referenced by monst_battle_pet(), monst_can_attack_player(), monst_detect_player(), monst_facing(), monst_is_aligned_with_plr(), monst_remove(), monstbytile(), monstcanmove(), monstmove(), monstmoveawayfromplayer(), monstmoverandomly(), monstmoveto(), monstmovetowardsplayer(), pet_move(), place_monster(), player_can_see(), plr_moveto(), webspinner_build(), and webspinner_cower(). |
1.3.6