reformat monflag.h
I started out fixing some strangeness near the very bottom then ended up redoing the whole thing.
This commit is contained in:
+8
-8
@@ -1,9 +1,11 @@
|
||||
/* NetHack 3.6 monflag.h $NHDT-Date: 1582061573 2020/02/18 21:32:53 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.17 $ */
|
||||
/* NetHack 3.6 monflag.h $NHDT-Date: 1585356420 2020/03/28 00:47:00 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.19 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef MONFLAG_H
|
||||
#define MONFLAG_H
|
||||
/* clang-format off */
|
||||
/* *INDENT-OFF* */
|
||||
|
||||
enum ms_sounds {
|
||||
MS_SILENT = 0, /* makes no sound */
|
||||
@@ -195,14 +197,12 @@ enum ms_sounds {
|
||||
|
||||
/* for g.mvitals[].mvflags (variant during game), along with G_NOCORPSE */
|
||||
#define G_KNOWN 0x0004 /* have been encountered */
|
||||
#define G_GONE (G_GENOD | G_EXTINCT)
|
||||
#define G_GENOD 0x0002 /* have been genocided */
|
||||
#define G_EXTINCT \
|
||||
0x0001 /* have been extinguished as \
|
||||
population control */
|
||||
#define MV_KNOWS_EGG \
|
||||
0x0008 /* player recognizes egg of this \
|
||||
monster type */
|
||||
#define G_EXTINCT 0x0001 /* population control; create no more */
|
||||
#define G_GONE (G_GENOD | G_EXTINCT)
|
||||
#define MV_KNOWS_EGG 0x0008 /* player recognizes egg of this monster type */
|
||||
#define G_IGNORE 0x1000 /* for mkclass(), ignore G_GENOD|G_EXTINCT */
|
||||
|
||||
/* *INDENT-ON* */
|
||||
/* clang-format on */
|
||||
#endif /* MONFLAG_H */
|
||||
|
||||
Reference in New Issue
Block a user