From: jwalz Date: Sat, 5 Jan 2002 21:06:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: MOVE2GIT~3585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=589bd2dec7745fb1a0fa472831d4a02889b525ea;p=nethack *** empty log message *** --- diff --git a/win/gnome/gnglyph.h b/win/gnome/gnglyph.h new file mode 100644 index 000000000..c1631dfa8 --- /dev/null +++ b/win/gnome/gnglyph.h @@ -0,0 +1,42 @@ +/* SCCS Id: @(#)gnglyph.h 3.3 2000/07/16 */ +/* Copyright (C) 1998 by Erik Andersen */ +/* NetHack may be freely redistributed. See license for details. */ + +#ifndef GnomeHackGlyph_h +#define GnomeHackGlyph_h + +#include "config.h" +#include "global.h" + +/* the prototypes in system headers contain useless argument names + that trigger spurious warnings if gcc's `-Wshadow' option is used */ +#undef index +#define index _hide_index_ +#define time _hide_time_ + +#include +#include + +#undef index +#define index strchr +#undef time + + +extern short glyph2tile[]; /* From tile.c */ + +typedef struct { + GdkImlibImage* im; + int count; + int width; + int height; +} GHackGlyphs; + +extern int ghack_init_glyphs( const char *); +extern void ghack_free_glyphs( void); +extern void ghack_dispose_glyphs( void); +extern int ghack_glyph_count( void); +extern GdkImlibImage* ghack_image_from_glyph( int, gboolean); +extern int ghack_glyph_height( void); +extern int ghack_glyph_width( void); + +#endif /* GnomeHackGlyph_h */