Definition in file pet.c.
#include "crogue.h"
Go to the source code of this file.
Functions | |
| void | monst_swing_monst (int attacker, int target, int trigger) |
| void | monst_attack_monst (int attacknum, int attacker, int target) |
| void | pet_move (int pet) |
| ushort | monst_battle_pet (ushort monst) |
|
||||||||||||||||
|
Definition at line 95 of file pet.c. References call_attackfunc(), MDESC, monst_anger(), and rrandom(). Referenced by monst_swing_monst(). |
|
|
Definition at line 113 of file pet.c. References world::m, monst_is_pet(), monst_swing_monst(), monstbytile(), MTRIGGER_NORMAL, ushort, w, monster::x, and monster::y. Referenced by monstmove(). |
|
||||||||||||||||
|
Definition at line 64 of file pet.c. References isNull, world::m, MATTACK, MDESC, message(), monst_attack_monst(), monst_hit_monst(), monstname(), player_can_see(), monster::type, and w. Referenced by monst_battle_pet(), monstmoveto(), and pet_move(). |
|
|
Definition at line 29 of file pet.c. References distancesquare, world::m, monst_is_peaceful(), monst_swing_monst(), monstbytile(), monstmoverandomly(), monstmovetowardsplayer(), MTRIGGER_NORMAL, world::plr, w, player::x, monster::x, player::y, and monster::y. Referenced by monstmove(). |
1.3.6