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:
@@ -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