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:
parent
244df2a689
commit
6c6fa7e57f
40 changed files with 40 additions and 39 deletions
include
src
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
#ifdef OVLB
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "hack.h"
|
||||
#include "artifact.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "xhity.h"
|
||||
#ifdef OVLB
|
||||
#include "artilist.h"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "hack.h"
|
||||
|
||||
#include "mfndpos.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
extern boolean notonhead;
|
||||
extern struct obj *propellor;
|
||||
|
|
|
@ -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) || \
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* Contains code for 't' (throw) */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "xhity.h"
|
||||
|
||||
extern void NDECL(autoquiver);
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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[];
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "hack.h"
|
||||
#include "mfndpos.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "artifact.h"
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "hack.h"
|
||||
#include "mfndpos.h"
|
||||
#include "artifact.h"
|
||||
#include "mextra.h"
|
||||
|
||||
extern boolean notonhead;
|
||||
|
||||
#ifdef OVL0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 *));
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
extern const int monstr[];
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "hack.h"
|
||||
#ifdef BARD
|
||||
#include "skills.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#endif
|
||||
|
||||
STATIC_DCL void FDECL(awaken_monsters,(int));
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "hack.h"
|
||||
#include "dlb.h"
|
||||
#ifdef BARD
|
||||
#include "mextra.h"
|
||||
|
||||
#endif
|
||||
|
||||
STATIC_DCL boolean FDECL(is_swallow_sym, (int));
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#define NEED_VARARGS /* Uses ... */ /* comment line for pre-compiled headers */
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#ifdef WIZARD
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "seduce.h"
|
||||
|
||||
# ifdef SEDUCE
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
/*#define DEBUG*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* shknam.c -- initialize a shop */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
#ifndef OVLB
|
||||
extern const struct shclass shtypes[];
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
|
||||
#ifdef STEED
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "artifact.h"
|
||||
|
||||
struct trobj {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "hack.h"
|
||||
#include "qtext.h"
|
||||
#include "mextra.h"
|
||||
|
||||
|
||||
extern const int monstr[];
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "hack.h"
|
||||
#include "artifact.h"
|
||||
#include "monflag.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "xhity.h"
|
||||
|
||||
#ifdef OVLB
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "hack.h"
|
||||
#include "artifact.h"
|
||||
#include "monflag.h"
|
||||
#include "mextra.h"
|
||||
|
||||
#include "xhity.h"
|
||||
|
||||
extern boolean notonhead;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue