X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmonster.h;h=7b822f624739b7022f4c8fc13ee4bf4fdcaad732;hp=b94142779504faf4b49017867a5470965589e3c7;hb=534310c1f131bb9a53be865c32d90342ed026734;hpb=1907773f7b61fb7e58c585a183180b44d213a286 diff --git a/src/monster.h b/src/monster.h index b941427..7b822f6 100644 --- a/src/monster.h +++ b/src/monster.h @@ -31,13 +31,28 @@ enum{ MN_PL_DEAD=100,MN_PL_MESS }; +#define MN_TN (MN__LAST-MN_DEMON) + +#pragma pack(1) +typedef struct{ + obj_t o; + byte t,d,st,ftime; + int fobj; + int s; + char *ap; + int aim,life,pain,ac,tx,ty,ammo; + short atm; +}mn_t; +#pragma pack(0) + +extern mn_t mn[MAXMN]; + void MN_init(void); void MN_alloc(void); int MN_spawn(int,int,byte,int); int MN_spawn_deadpl(obj_t *,byte,int); void MN_act(void); void MN_mark(void); -void MN_draw(void); void MN_warning(int l,int t,int r,int b); void MN_killedp(void);