diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h | 5 | ||||
-rw-r--r-- | src/main-gcu.c | 4 | ||||
-rw-r--r-- | src/main.c | 73 |
3 files changed, 2 insertions, 80 deletions
diff --git a/src/config.h b/src/config.h index 9c3f6ede..0d3d0f6f 100644 --- a/src/config.h +++ b/src/config.h @@ -30,9 +30,8 @@ * OPTION: See the Makefile(s), where several options may be declared. * * Some popular options include "USE_GCU" (allow use with Unix "curses"), - * "USE_X11" (allow basic use with Unix X11), "USE_XAW" (allow use with - * Unix X11 plus the Athena Widget set), and "USE_CAP" (allow use with - * the "termcap" library, or with hard-coded vt100 terminals). + * "USE_X11" (allow basic use with Unix X11) and "USE_XAW" (allow use with + * Unix X11 plus the Athena Widget set). * * The old "USE_NCU" option has been replaced with "USE_GCU". * diff --git a/src/main-gcu.c b/src/main-gcu.c index 6423acfa..57c41703 100644 --- a/src/main-gcu.c +++ b/src/main-gcu.c @@ -25,10 +25,6 @@ * This code should work with most versions of "curses" or "ncurses", * and the "main-ncu.c" file (and USE_NCU define) are no longer used. * - * See also "USE_CAP" and "main-cap.c" for code that bypasses "curses" - * and uses the "termcap" information directly, or even bypasses the - * "termcap" information and sends direct vt100 escape sequences. - * * This file provides up to 4 term windows. * * This file will attempt to redefine the screen colors to conform to @@ -561,14 +561,6 @@ usage: puts(" -- -b Requests big screen"); #endif /* USE_GCU */ -#ifdef USE_CAP - puts(" -mcap To use termcap"); -#endif /* USE_CAP */ - -#ifdef USE_DOS - puts(" -mdos To use Allegro"); -#endif /* USE_DOS */ - #ifdef USE_SLA puts(" -msla To use SLang"); #endif /* USE_SLA */ @@ -701,32 +693,6 @@ usage: } #endif -#ifdef USE_CAP - /* Attempt to use the "main-cap.c" support */ - if (!done && (!mstr || (streq(mstr, "cap")))) - { - extern errr init_cap(int, char**); - if (0 == init_cap(argc, argv)) - { - ANGBAND_SYS = "cap"; - done = TRUE; - } - } -#endif - - -#ifdef USE_DOS - /* Attempt to use the "main-dos.c" support */ - if (!done && (!mstr || (streq(mstr, "dos")))) - { - extern errr init_dos(void); - if (0 == init_dos()) - { - ANGBAND_SYS = "dos"; - done = TRUE; - } - } -#endif #ifdef USE_SLA /* Attempt to use the "main-sla.c" support */ @@ -742,45 +708,6 @@ usage: #endif -#ifdef USE_PARAGUI - /* Attempt to use the "main-pgu.c" support */ - if (!done && (!mstr || (streq(mstr, "pgu")))) - { - extern errr init_pgu(int, char**); - if (0 == init_pgu(argc, argv)) - { - ANGBAND_SYS = "pgu"; - done = TRUE; - } - } -#endif - -#ifdef USE_LUA_GUI - /* Attempt to use the "main-lua.c" support */ - if (!done && (!mstr || (streq(mstr, "lua")))) - { - extern errr init_lua_gui(int, char**); - if (0 == init_lua_gui(argc, argv)) - { - ANGBAND_SYS = "lua"; - done = TRUE; - } - } -#endif - -#ifdef USE_NET - /* Attempt to use the "main-net.c" support */ - if (!done && (!mstr || (streq(mstr, "net")))) - { - extern errr init_net(int, char**); - if (0 == init_net(argc, argv)) - { - ANGBAND_SYS = "net"; - done = TRUE; - } - } -#endif - #ifdef USE_SDL /* Attempt to use the "main-sdl.c" support */ if (!done && (!mstr || (streq(mstr, "sdl")))) |