58 bool move_mob(
struct Mob * mob,
unsigned int x,
unsigned int y);
65 unsigned int x0,
unsigned int y0,
66 unsigned int x,
unsigned int y);
67 bool can_see(
struct Mob * mob,
unsigned int x,
unsigned int y);
bool can_see(struct Mob *mob, unsigned int x, unsigned int y)
Definition: mob.c:184
void(* turn_action)(struct Mob *)
Definition: mob.h:34
bool can_see_point(struct Level *level, unsigned int x0, unsigned int y0, unsigned int x, unsigned int y)
Definition: mob.c:138
int health
Definition: mob.h:49
List * inventory
Definition: mob.h:29
char * race
Definition: mob.h:43
bool damage_mob(struct Mob *mob, unsigned int amount)
Definition: mob.c:88
char * name
Definition: mob.h:42
void(* death_action)(struct Mob *)
Definition: mob.h:35
struct Item * weapon
Definition: mob.h:30
bool hostile
Definition: mob.h:40
unsigned int ypos
Definition: mob.h:23
char * profession
Definition: mob.h:44
void(* effect_action)(struct Mob *)
Definition: mob.h:38
int score
Definition: mob.h:45
void * data
Definition: mob.h:55
void attack_mob(Mob *attacker, Mob *defender)
Definition: mob.c:62
List moblist
Definition: mob.h:19
struct Level * level
Definition: mob.h:21
unsigned int luminosity
Definition: mob.h:53
unsigned int attack
Definition: mob.h:47
bool move_mob_relative(struct Mob *mob, int xdiff, int ydiff)
Definition: mob.c:52
int effect_duration
Definition: mob.h:37
struct Item * armour
Definition: mob.h:32
unsigned int max_health
Definition: mob.h:50
bool can_see_other(struct Mob *moba, struct Mob *mobb)
Definition: mob.c:211
bool is_bold
Definition: mob.h:27
struct Item * offhand
Definition: mob.h:31
bool darksight
Definition: mob.h:52
unsigned int xpos
Definition: mob.h:22
bool move_mob(struct Mob *mob, unsigned int x, unsigned int y)
Definition: mob.c:19
int colour
Definition: mob.h:26
struct Mob * kill_mob(struct Mob *mob)
Definition: mob.c:99
void simple_enemy_turn(Mob *enemy)
Definition: mob.c:219
char symbol
Definition: mob.h:25
bool move_mob_level(Mob *mob, bool toprev)
Definition: mob.c:264