2010-12-02 12:17:54 +11:00
|
|
|
#include "defs.h"
|
|
|
|
|
2011-03-04 12:22:36 +11:00
|
|
|
enum OBTYPE aigetattackspell(lifeform_t *lf, lifeform_t *victim);
|
2011-02-16 05:21:33 +11:00
|
|
|
void aigetspelltarget(lifeform_t *lf, objecttype_t *spelltype, lifeform_t *victim, lifeform_t **spelllf, cell_t **spellcell, object_t **spellob);
|
|
|
|
object_t * aigetwand(lifeform_t *lf);
|
2010-12-02 12:17:54 +11:00
|
|
|
void aimove(lifeform_t *lf);
|
2011-02-01 06:16:13 +11:00
|
|
|
int aipickup(lifeform_t *lf, object_t *o);
|
2011-03-04 12:22:36 +11:00
|
|
|
int aispellok(lifeform_t *lf, objecttype_t *st, lifeform_t *victim);
|
2011-02-01 06:16:13 +11:00
|
|
|
object_t *hasbetterarmour(lifeform_t *lf, obpile_t *op);
|
|
|
|
object_t *hasbetterweapon(lifeform_t *lf, obpile_t *op);
|
|
|
|
int lookforobs(lifeform_t *lf, int covetsonly);
|