summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-27 20:32:44 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-27 20:32:44 +0200
commit5a4f719a406a09b14d10758f44f5037634fbdfef (patch)
tree910e7b5b405a7492036893220c16604690461d9a
parentfef4e37676e3890d65277f378e29f3f01a1a66ff (diff)
Remove ANGBAND300 conditional code
-rw-r--r--src/main-gtk2.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/main-gtk2.c b/src/main-gtk2.c
index e55b038e..a3ab64fc 100644
--- a/src/main-gtk2.c
+++ b/src/main-gtk2.c
@@ -66,11 +66,6 @@
/*
* Some examples
*/
-#ifdef ANGBAND300
-# define can_save TRUE /* Mimick the short-lived flag */
-# define C_FREE(P, N, T) FREE(P) /* Emulate the long-lived macro */
-#endif /* ANGBAND300 */
-
#ifdef GUMBAND
# define ANG293_COMPAT /* Requires V2.9.3 compatibility code */
# define ANG291_COMPAT /* Requires V2.9.1 compatibility code */
@@ -350,11 +345,7 @@ static bool_ use_transparency = TRUE;
/*
* Hook to "release" memory
*/
-#ifdef ANGBAND300
-static vptr hook_rnfree(vptr v)
-#else
static vptr hook_rnfree(vptr v, huge size)
-#endif /* ANGBAND300 */
{
/* Dispose */
g_free(v);
@@ -4702,26 +4693,6 @@ static void hook_quit(cptr str)
}
-#ifdef ANGBAND300
-
-/*
- * Help message for this port
- */
-const char help_gtk[] =
- "GTK for X11, subopts -n<windows>\n"
- " -b(acking store off)\n"
-#ifdef USE_GRAPHICS
- " -g(raphics) -o(ld graphics) -s(moothscaling off) \n"
- " -t(ransparency on)\n"
-# ifdef USE_DOUBLE_TILES
- " -w(ide tiles)\n"
-# endif /* USE_DOUBLE_TILES */
-#endif /* USE_GRAPHICS */
- " and standard GTK options";
-
-#endif /* ANGBAND300 */
-
-
/*
* Initialization function
*/