- 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).
15 lines
353 B
C
15 lines
353 B
C
/* SCCS Id: @(#)gnbind.c 3.4 2002/04/15 */
|
|
/* Copyright (C) 2002 by Dylan Alex Simon */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef GnomeHackWornWindow_h
|
|
#define GnomeHackWornWindow_h
|
|
|
|
#include <gnome.h>
|
|
#include "config.h"
|
|
#include "global.h"
|
|
|
|
GtkWidget* ghack_init_worn_window();
|
|
|
|
#endif /* GnomeHackWornWindow_h */
|