remove code on Windows referencing WIN32_GRAPHICS

As far as I know, there's no such thing as WIN32_GRAPHICS in the
current source tree. The Windows graphical port uses the preprocessor
macro MSWIN_GRAPHICS.
This commit is contained in:
nhmall
2022-11-10 11:47:31 -05:00
parent 88a0153a6e
commit 27e311b733
2 changed files with 5 additions and 9 deletions

View File

@@ -5,12 +5,14 @@
#include "hack.h"
/* Defining TEXT_TOMBSTONE causes genl_outrip() to exist, but it doesn't
necessarily have to be used by a binary with mulitple window-ports */
#if defined(TTY_GRAPHICS) || defined(X11_GRAPHICS) || defined(GEM_GRAPHICS) \
|| defined(MSWIN_GRAPHICS) || defined(DUMPLOG) \
|| defined(CURSES_GRAPHICS) || defined(SHIM_GRAPHICS)
|| defined(DUMPLOG) || defined(CURSES_GRAPHICS) || defined(SHIM_GRAPHICS)
#define TEXT_TOMBSTONE
#endif
#if defined(mac) || defined(__BEOS__) || defined(WIN32_GRAPHICS)
#if defined(mac) || defined(__BEOS__)
#ifndef TEXT_TOMBSTONE
#define TEXT_TOMBSTONE
#endif

View File

@@ -34,9 +34,6 @@ extern struct window_procs amii_procs;
extern struct window_procs amiv_procs;
extern void ami_wininit_data(int);
#endif
#ifdef WIN32_GRAPHICS
extern struct window_procs win32_procs;
#endif
#ifdef GNOME_GRAPHICS
/*#include "winGnome.h"*/
extern struct window_procs Gnome_procs;
@@ -122,9 +119,6 @@ static struct win_choices {
{ &amiv_procs,
ami_wininit_data CHAINR(0) }, /* Tile version of the game */
#endif
#ifdef WIN32_GRAPHICS
{ &win32_procs, 0 CHAINR(0) },
#endif
#ifdef GNOME_GRAPHICS
{ &Gnome_procs, 0 CHAINR(0) },
#endif