Merge branch 'NetHack-3.6'
This commit is contained in:
@@ -903,8 +903,10 @@ struct instance_globals {
|
||||
struct symsetentry symset[NUM_GRAPHICS];
|
||||
int currentgraphics;
|
||||
nhsym showsyms[SYM_MAX]; /* symbols to be displayed */
|
||||
nhsym l_syms[SYM_MAX]; /* loaded symbols */
|
||||
nhsym r_syms[SYM_MAX]; /* rogue symbols */
|
||||
nhsym primary_syms[SYM_MAX]; /* loaded primary symbols */
|
||||
nhsym rogue_syms[SYM_MAX]; /* loaded rogue symbols */
|
||||
nhsym ov_primary_syms[SYM_MAX]; /* loaded primary symbols */
|
||||
nhsym ov_rogue_syms[SYM_MAX]; /* loaded rogue symbols */
|
||||
nhsym warnsyms[WARNCOUNT]; /* the current warning display symbols */
|
||||
|
||||
/* dungeon.c */
|
||||
|
||||
@@ -585,15 +585,19 @@ E int FDECL(def_char_to_monclass, (CHAR_P));
|
||||
#if !defined(MAKEDEFS_C) && !defined(LEV_LEX_C)
|
||||
E void FDECL(switch_symbols, (int));
|
||||
E void FDECL(assign_graphics, (int));
|
||||
E void NDECL(init_r_symbols);
|
||||
E void NDECL(init_symbols);
|
||||
E void NDECL(update_bouldersym);
|
||||
E void NDECL(init_showsyms);
|
||||
E void NDECL(init_l_symbols);
|
||||
E void NDECL(init_primary_symbols);
|
||||
E void NDECL(init_rogue_symbols);
|
||||
E void NDECL(init_ov_primary_symbols);
|
||||
E void NDECL(init_ov_rogue_symbols);
|
||||
E void FDECL(clear_symsetentry, (int, BOOLEAN_P));
|
||||
E void FDECL(update_l_symset, (struct symparse *, int));
|
||||
E void FDECL(update_r_symset, (struct symparse *, int));
|
||||
E void FDECL(update_primary_symset, (struct symparse *, int));
|
||||
E void FDECL(update_rogue_symset, (struct symparse *, int));
|
||||
E void FDECL(update_ov_primary_symset, (struct symparse *, int));
|
||||
E void FDECL(update_ov_rogue_symset, (struct symparse *, int));
|
||||
E boolean FDECL(cursed_object_at, (int, int));
|
||||
E nhsym FDECL(get_othersym, (int, int));
|
||||
|
||||
/* ### dungeon.c ### */
|
||||
|
||||
@@ -1780,7 +1784,7 @@ E int FDECL(add_autopickup_exception, (const char *));
|
||||
E void NDECL(free_autopickup_exceptions);
|
||||
E int FDECL(load_symset, (const char *, int));
|
||||
E void NDECL(free_symsets);
|
||||
E boolean FDECL(parsesymbols, (char *));
|
||||
E boolean FDECL(parsesymbols, (char *, int));
|
||||
E struct symparse *FDECL(match_sym, (char *));
|
||||
E void NDECL(set_playmode);
|
||||
E int FDECL(sym_val, (const char *));
|
||||
|
||||
@@ -266,7 +266,9 @@ struct symparse {
|
||||
/* misc symbol definitions */
|
||||
#define SYM_BOULDER 0
|
||||
#define SYM_INVISIBLE 1
|
||||
#define MAXOTHER 2
|
||||
#define SYM_PET_OVERRIDE 2
|
||||
#define SYM_PLAYER_OVERRIDE 3
|
||||
#define MAXOTHER 4
|
||||
|
||||
/* linked list of symsets and their characteristics */
|
||||
struct symsetentry {
|
||||
@@ -306,6 +308,10 @@ extern const struct symdef defsyms[MAXPCHARS]; /* defaults */
|
||||
#define WARNCOUNT 6 /* number of different warning levels */
|
||||
extern const struct symdef def_warnsyms[WARNCOUNT];
|
||||
#define SYMHANDLING(ht) (g.symset[g.currentgraphics].handling == (ht))
|
||||
extern nhsym primary_syms[];
|
||||
extern nhsym rogue_syms[];
|
||||
extern nhsym ov_primary_syms[];
|
||||
extern nhsym ov_rogue_syms[];
|
||||
|
||||
/*
|
||||
* The 5 possible states of doors
|
||||
|
||||
@@ -45,6 +45,10 @@ struct sysopt {
|
||||
/* save and bones format */
|
||||
int saveformat[2]; /* primary and onetime conversion */
|
||||
int bonesformat[2]; /* primary and onetime conversion */
|
||||
|
||||
/* enable accessibility options */
|
||||
int accessibility;
|
||||
|
||||
};
|
||||
|
||||
extern struct sysopt sysopt;
|
||||
|
||||
Reference in New Issue
Block a user