#include "enum.h"


Go to the source code of this file.
Defines | |
| #define | PLAYER_POS (crawl_state.game_is_zotdef() ? zotdef_target() : you.pos()) |
Enumerations | |
| enum | mon_event_type { ME_EVAL, ME_DISTURB, ME_ANNOY, ME_ALERT, ME_WHACK, ME_SCARE, ME_CORNERED } |
Functions | |
| void | behaviour_event (monster *mon, mon_event_type event_type, int src=MHITNOT, coord_def src_pos=coord_def(), bool allow_shout=true) |
| void | handle_behaviour (monster *mon) |
| void | make_mons_stop_fleeing (monster *mon) |
| void | set_random_target (monster *mon) |
| void | make_mons_leave_level (monster *mon) |
| bool | monster_can_hit_monster (monster *mons, const monster *targ) |
| coord_def | zotdef_target () |
| #define PLAYER_POS (crawl_state.game_is_zotdef() ? zotdef_target() : you.pos()) |
| enum mon_event_type |
| void behaviour_event | ( | monster * | mon, | |
| mon_event_type | event_type, | |||
| int | src = MHITNOT, |
|||
| coord_def | src_pos = coord_def(), |
|||
| bool | allow_shout = true | |||
| ) |

| void handle_behaviour | ( | monster * | mon | ) |
| void make_mons_leave_level | ( | monster * | mon | ) |

| void make_mons_stop_fleeing | ( | monster * | mon | ) |


| void set_random_target | ( | monster * | mon | ) |

| coord_def zotdef_target | ( | ) |

1.5.6