X11: default to XPM-format tile file and rip screen
People have been wondering how to change the tiles on the X11 version, and the old default of NetHack-specific binary tile data isn't directly editable with image editing tools. Also show in the #version info if xpm and graphic rip are enabled.
This commit is contained in:
@@ -287,7 +287,7 @@ WINBEOBJ =
|
||||
#
|
||||
# libraries for X11
|
||||
# If USE_XPM is defined in config.h, you will also need -lXpm here.
|
||||
WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
|
||||
#WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
|
||||
# WINX11LIB = -lXaw -lXmu -lXt -lX11
|
||||
# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
|
||||
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
|
||||
|
||||
@@ -35,7 +35,7 @@ WINLIB = $(WINX11LIB)
|
||||
|
||||
VARDATND = x11tiles NetHack.ad pet_mark.xbm pilemark.xbm
|
||||
|
||||
#WINTTYLIB=-lcurses
|
||||
WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
|
||||
|
||||
CHOWN=true
|
||||
CHGRP=true
|
||||
@@ -43,4 +43,9 @@ VARDIRPERM = 0755
|
||||
VARFILEPERM = 0600
|
||||
GAMEPERM = 0755
|
||||
|
||||
# Use XPM format tile file
|
||||
CFLAGS+=-DUSE_XPM
|
||||
WINX11LIB+=-lXpm
|
||||
VARDATND+=rip.xpm
|
||||
|
||||
# note: needs libxt-dev libxaw7-dev libx11-dev bdftopcf
|
||||
|
||||
Reference in New Issue
Block a user