1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-30 01:12:25 +01:00

Change mextra.h to be part of hack.h

It's broad enough.
This commit is contained in:
NeroOneTrueKing 2020-09-01 14:57:27 -05:00
parent 244df2a689
commit 6c6fa7e57f
40 changed files with 40 additions and 39 deletions

View file

@ -115,6 +115,7 @@
#include "youprop.h"
#include "wintype.h"
#include "decl.h"
#include "mextra.h"
#include "timeout.h"
#include "zap.h"
#include "thoughtglyph.h"

View file

@ -5,7 +5,7 @@
/* various code that was replicated in *main.c */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
#include "xhity.h"
#ifdef OVLB

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#ifdef OVLB

View file

@ -4,7 +4,7 @@
#include "hack.h"
#include "artifact.h"
#include "mextra.h"
#include "xhity.h"
#ifdef OVLB
#include "artilist.h"

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
/* #define DEBUG */ /* turn on for diagnostics */
#ifdef OVLB

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
#ifdef OVLB
#include "artilist.h"

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#ifdef OVLB
STATIC_DCL int NDECL(pet_type);

View file

@ -5,7 +5,7 @@
#include "hack.h"
#include "mfndpos.h"
#include "mextra.h"
extern boolean notonhead;
extern struct obj *propellor;

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#define is_bigfoot(x) ((x) == &mons[PM_SASQUATCH])
#define martial() (martial_bonus() || is_bigfoot(youracedata) || \

View file

@ -5,7 +5,7 @@
/* Contains code for 't' (throw) */
#include "hack.h"
#include "mextra.h"
#include "xhity.h"
extern void NDECL(autoquiver);

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
/* #define DEBUG */ /* uncomment to enable new eat code debugging */

View file

@ -5,7 +5,7 @@
#define NEED_VARARGS /* comment line for pre-compiled headers */
#include "hack.h"
#include "mextra.h"
#ifndef NO_SIGNAL
#include <signal.h>
#endif

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#ifdef REINCARNATION
#include <ctype.h>
#endif

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "lev.h"
/* add one component to mon */

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
extern const int monstr[];

View file

@ -12,7 +12,7 @@
#include "hack.h"
#include "mfndpos.h"
#include "mextra.h"
#include "artifact.h"
#include <ctype.h>
#include <stdlib.h>

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "horrordata.h"
/* These routines provide basic data for any type of monster. */
STATIC_DCL void FDECL(set_template_data, (struct permonst *, struct permonst *, int));

View file

@ -5,7 +5,7 @@
#include "hack.h"
#include "mfndpos.h"
#include "artifact.h"
#include "mextra.h"
extern boolean notonhead;
#ifdef OVL0

View file

@ -6,7 +6,7 @@
#include "permonst.h"
#include "monsym.h"
#include "dungeon.h" /* prerequisite for eshk,vault,epri */
#include "mextra.h"
#define NO_ATTK {0,0,0,0}
#ifdef C

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
STATIC_DCL const char *NDECL(dev_name);
STATIC_DCL void FDECL(get_mplname, (struct monst *, char *));

View file

@ -7,7 +7,7 @@
*/
#include "hack.h"
#include "mextra.h"
extern const int monstr[];

View file

@ -32,7 +32,7 @@
#include "hack.h"
#ifdef BARD
#include "skills.h"
#include "mextra.h"
#endif
STATIC_DCL void FDECL(awaken_monsters,(int));

View file

@ -8,7 +8,7 @@
#include "hack.h"
#include "dlb.h"
#ifdef BARD
#include "mextra.h"
#endif
STATIC_DCL boolean FDECL(is_swallow_sym, (int));

View file

@ -4,7 +4,7 @@
#define NEED_VARARGS /* Uses ... */ /* comment line for pre-compiled headers */
#include "hack.h"
#include "mextra.h"
#ifdef WIZARD
#endif

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
#include "artilist.h"

View file

@ -4,7 +4,7 @@
#include "hack.h"
#include "mfndpos.h"
#include "mextra.h"
/* this matches the categorizations shown by enlightenment */
#define ALGN_SINNED (-4) /* worse than strayed */

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
/* KMH -- Copied from pray.c; this really belongs in a header file */

View file

@ -1,5 +1,5 @@
#include "hack.h"
#include "mextra.h"
#include "seduce.h"
# ifdef SEDUCE

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
/*#define DEBUG*/

View file

@ -5,7 +5,7 @@
/* shknam.c -- initialize a shop */
#include "hack.h"
#include "mextra.h"
#ifndef OVLB
extern const struct shclass shtypes[];

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#ifdef USER_SOUNDS
# ifdef USER_SOUNDS_REGEX
#include <regex.h>

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#ifdef STEED

View file

@ -5,7 +5,7 @@
#pragma clang diagnostic ignored "-Wint-to-void-pointer-cast"
#include "hack.h"
#include "mextra.h"
#include "lev.h" /* for checking save modes */
STATIC_DCL void NDECL(stoned_dialogue);

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
extern const char * const destroy_strings[]; /* from xhityhelpers.c */

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "artifact.h"
struct trobj {

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
STATIC_DCL struct monst *NDECL(findgd);

View file

@ -9,7 +9,7 @@
#include "hack.h"
#include "qtext.h"
#include "mextra.h"
extern const int monstr[];

View file

@ -1,7 +1,7 @@
#include "hack.h"
#include "artifact.h"
#include "monflag.h"
#include "mextra.h"
#include "xhity.h"
#ifdef OVLB

View file

@ -5,7 +5,7 @@
#include "hack.h"
#include "artifact.h"
#include "monflag.h"
#include "mextra.h"
#include "xhity.h"
extern boolean notonhead;

View file

@ -3,7 +3,7 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mextra.h"
#include "xhity.h"
/* Disintegration rays have special treatment; corpses are never left.