X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmonster.h;h=30edf1dfd8a4b91e22f6ed337751f3be585b8915;hp=98534b3f21739ac530842ab720573435d055617c;hb=563dffaf02ff36da4054f937fcc9f99a072e15bf;hpb=2bb81ea2565c3627c954b5c37326db89b0048472 diff --git a/src/monster.h b/src/monster.h index 98534b3..30edf1d 100644 --- a/src/monster.h +++ b/src/monster.h @@ -38,7 +38,6 @@ enum { #define MN_TN (MN__LAST-MN_DEMON) -#pragma pack(1) typedef struct { obj_t o; byte t, d, st, ftime; @@ -48,14 +47,14 @@ typedef struct { int aim, life, pain, ac, tx, ty, ammo; short atm; } mn_t; -#pragma pack(0) extern byte nomon; extern int hit_xv, hit_yv; extern mn_t mn[MAXMN]; +extern int mnum, gsndt; + +void setst (int i, int st); -void MN_savegame (FILE *h); -void MN_loadgame (FILE *h); void MN_alloc (void); void MN_init (void); int MN_spawn (int x, int y, byte d, int t);