mon-behv.h File Reference

#include "enum.h"

Include dependency graph for mon-behv.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define PLAYER_POS   (crawl_state.game_is_zotdef() ? zotdef_target() : you.pos())


Enumeration Type Documentation

Enumerator:
ME_EVAL 
ME_DISTURB 
ME_ANNOY 
ME_ALERT 
ME_WHACK 
ME_SCARE 
ME_CORNERED 


Function Documentation

void behaviour_event ( monster mon,
mon_event_type  event_type,
int  src = MHITNOT,
coord_def  src_pos = coord_def(),
bool  allow_shout = true 
)

Here is the call graph for this function:

void handle_behaviour ( monster mon  ) 

void make_mons_leave_level ( monster mon  ) 

Here is the call graph for this function:

void make_mons_stop_fleeing ( monster mon  ) 

Here is the call graph for this function:

bool monster_can_hit_monster ( monster mons,
const monster targ 
)

Here is the call graph for this function:

void set_random_target ( monster mon  ) 

Here is the call graph for this function:

coord_def zotdef_target (  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:11:48 2011 by  doxygen 1.5.6