X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fmonster.h;h=7b822f624739b7022f4c8fc13ee4bf4fdcaad732;hb=3d2215798aaab87db7ae5265d21e359864e1f1c2;hp=376b1a2856e6dba7185d0f5345c6c1bb06799b93;hpb=a2115940e7643dcb1b87286f3d19fe95f7b79bd3;p=flatwaifu.git diff --git a/src/monster.h b/src/monster.h index 376b1a2..7b822f6 100644 --- a/src/monster.h +++ b/src/monster.h @@ -1,7 +1,6 @@ /* Copyright (C) Prikol Software 1996-1997 Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 This file is part of the Doom2D:Rembo project. @@ -32,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);