- fix destruction of primary game windows - One, it makes the color of the cursor box dynamic (these are the gnmap.c changes), based on hp/hpmax (continuous colors white -> yellow -> red -> magenta rather than discrete like in Qt). - Two, it adds a new window, NHW_WORN (all the other changes and new files gnworn.[ch]), placed at the end of the first row, to the right of the status, with tiles of all the items currently equiped. I had to change the spacing of the first row (no longer homogeneous) to accomodate this, but I think it still looks okay. It's mostly like the Qt version but the equiped items are in slightly different places, and a bit more compactly (added quiver, ball/chain, monster skin armor; see the definition in gnworn.c for the layout).
19 lines
415 B
C
19 lines
415 B
C
/* SCCS Id: @(#)winGnome.h 3.4. 2000/07/16 */
|
|
/* Copyright (C) 1998 by Erik Andersen <andersee@debian.org> */
|
|
/* Copyright (C) 1998 by Anthony Taylor <tonyt@ptialaska.net> */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef WINGNOME_H
|
|
#define WINGNOME_H
|
|
|
|
#define E extern
|
|
|
|
E struct window_procs Gnome_procs;
|
|
|
|
#undef E
|
|
|
|
#define NHW_WORN 6
|
|
extern winid WIN_WORN;
|
|
|
|
#endif /* WINGNOME_H */
|