From 1820d8c68958b93f908151088b045d47f2194138 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 23 Sep 2006 04:40:15 +0000 Subject: [PATCH] blind player updates (trunk only) This takes the PC config file commented symbol value recommendations from for blind players and puts them into a symset. [note to devteam: They look odd. I thought perhaps that something was code wrong, but I went back to 3.4.3 and uncommented the config file stuff. They look the same there, still odd, especially corridors. Does anyone have any of the e-mail from that might give an indication of what is supposed to be seen on the display? I wonder if those config file options fell out of synch with the code long ago] --- dat/symbols | 94 +++++++++++++++++++++++++++++++++++++++++++ sys/share/NetHack.cnf | 63 ++++------------------------- sys/winnt/defaults.nh | 63 ++--------------------------- 3 files changed, 106 insertions(+), 114 deletions(-) diff --git a/dat/symbols b/dat/symbols index 7bb2179c6..c30f6b2c7 100644 --- a/dat/symbols +++ b/dat/symbols @@ -280,3 +280,97 @@ start: RogueWindows S_dnstair: \xf0 finish +# Recommended symset for blind players +# courtesy Michael Feir +start: NHAccess + S_stone: \032 + S_vwall: \124 + S_hwall: \045 + S_tlcorn: \124 + S_trcorn: \124 + S_blcorn: \124 + S_brcorn: \124 + S_crwall: \045 + S_tuwall: \045 + S_tdwall: \045 + S_tlwall: \124 + S_trwall: \124 + S_ndoor: \046 + S_vodoor: \045 + S_hodoor: \124 + S_vcdoor: \043 + S_hcdoor: \043 + S_bars: \046 + S_tree: \035 + S_room: \035 + S_corr: \060 + S_litcorr: \062 + S_upstair: \060 + S_dnstair: \062 + S_upladder: \095 + S_dnladder: \092 + S_altar: \035 + S_grave: \126 + S_throne: \126 + S_sink: \126 + S_fountain: \126 + S_pool: \042 + S_ice: \042 + S_lava: \035 + S_vodbridge: \035 + S_hodbridge: \032 + S_vcdbridge: \035 + S_hcdbridge: \126 + S_arrow_trap: \094 + S_dart_trap: \094 + S_falling_rock_trap: \094 + S_squeaky_board: \094 + S_bear_trap: \094 + S_land_mine: \094 + S_rolling_boulder_trap: \094 + S_sleeping_gas_trap: \094 + S_rust_trap: \094 + S_fire_trap: \094 + S_pit: \094 + S_spiked_pit: \094 + S_hole: \094 + S_trap_door: \094 + S_teleportation_trap: \094 + S_level_teleporter: \094 + S_magic_portal: \094 + S_web: \094 + S_statue_trap: \094 + S_magic_trap: \094 + S_anti_magic_trap: \094 + S_polymorph_trap: \094 + S_vbeam: \124 + S_hbeam: \095 + S_lslant: \092 + S_rslant: \047 + S_digbeam: \042 + S_flashbeam: \033 + S_boomleft: \041 + S_boomright: \040 + S_ss1: \048 + S_ss2: \035 + S_ss3: \064 + S_ss4: \042 + S_sw_tl: \047 + S_sw_tc: \045 + S_sw_tr: \092 + S_sw_ml: \058 + S_sw_mr: \058 + S_sw_bl: \092 + S_sw_bc: \045 + S_sw_br: \047 + S_explode1: \047 + S_explode2: \045 + S_explode3: \092 + S_explode4: \058 + S_explode5: \032 + S_explode6: \058 + S_explode7: \092 + S_explode8: \045 + S_explode9: \047 +finish + diff --git a/sys/share/NetHack.cnf b/sys/share/NetHack.cnf index 648dff003..9b30b0b4d 100644 --- a/sys/share/NetHack.cnf +++ b/sys/share/NetHack.cnf @@ -1,4 +1,4 @@ -# NetHack Copyright (c) NetHack PC Development Team 1993, 1996, 1999 +# NetHack Copyright (c) NetHack PC Development Team 1993 - 2006 # NetHack may be freely redistributed. See license for details. # # A '#' at the beginning of a line means the rest of the line is a comment. @@ -10,9 +10,6 @@ # # To change the configuration, comment out the unwanted lines, and # uncomment the configuration you want. -# -# Note: For blind players, please use the file NHAccess.nh as a template. -# # *** OPTIONS *** # @@ -21,6 +18,10 @@ # try commenting out this line. OPTIONS=rawio,BIOS,symset:IBMGraphics_2,roguesymset:RogueEpyx +# Here is a suggested symbol set from Michael Feir, +# for use by blind NetHack players +#OPTIONS=symset:NHAccess,roguesymset:NHAccess + # To use VGA graphical tiles on an MS-DOS PC with VGA or better,uncomment # this: #OPTIONS=video:autodetect @@ -95,64 +96,16 @@ OPTIONS=time,noshowexp,number_pad:2,lit_corridor # is kept (default=HACKDIR, writeable) #TROUBLEDIR=c:\nethack\trouble # -# *** CHARACTER GRAPHICS *** -# -# See the on-line help or the Guidebook for which symbols are in which -# positions. -# -# If you merely set the IBMgraphics option as above, NetHack will use IBM -# extended ASCII for dungeon characters. If you don't like the selections, -# you can make up your own via these graphics options, but you should still -# set IBMgraphics if you are using IBM graphics characters to get the correct -# processing. -# -# ================================================ -# The defaults using the IBM graphics character set: -#DUNGEON = 032 179 196 218 191 192 217 197 193 194 \ -# 180 195 250 254 254 043 043 240 241 250 \ -# 176 177 243 242 060 062 095 124 092 035 \ -# 244 247 250 247 250 250 035 035 032 035 \ -# 247 -# -# ================================================ -# Some alternatives: -#DUNGEON= 032 186 205 201 187 200 188 206 202 203 \ -# 185 204 249 239 239 254 254 240 241 249 \ -# 177 177 060 062 060 062 095 124 092 035 \ -# 244 247 249 247 042 042 179 196 046 035 \ -# 247 -# -#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 094 094 094 034 094 094 094 094 \ -# 094 094 # ================================================ -# Here is a recommendation sent in by Michael Feir -# for use by blind NetHack players. -# -#DUNGEON= 032 124 045 124 124 124 124 045 045 045 \ -# 124 124 046 045 124 043 043 046 035 035 \ -# 060 062 060 062 095 092 035 126 126 126 \ -# 126 042 042 035 035 032 035 126 -# -#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 -# -#EFFECTS= 124 095 092 047 042 033 041 040 \ -# 048 035 064 042 \ -# 047 045 092 058 058 092 045 047 \ -# 047 045 092 058 032 058 092 045 047 - -# ================================================ -# Example using the DEC Rainbow/ANSI line-drawing character set: +# DEC Rainbow/ANSI line-drawing character set: # # If you have compiled with TERMLIB, merely set the DECgraphics option as # above. NetHack will then switch into the VTxxx line-drawing character set # (aka ANSI ruling character set '0') for dungeon characters. If you don't -# like the selections, you can make up your own via the graphics options, +# like the selections, you can make up your own via the SYMBOLS keyword, # adding 128 to the value of any line-drawing character you want to use. -# (But you should still set DECgraphics to get the correct processing.) +# (But you should still set symset:DECgraphics to get the correct processing.) # ================================================= # *** VIDEOCOLORS AND VIDEOSHADES *** diff --git a/sys/winnt/defaults.nh b/sys/winnt/defaults.nh index c5a1fdf38..425edbf69 100644 --- a/sys/winnt/defaults.nh +++ b/sys/winnt/defaults.nh @@ -13,6 +13,10 @@ # for tty window-port. OPTIONS=symset:IBMGraphics_2,roguesymset:RogueEpyx +# Here is a suggested symbol set from Michael Feir, +# for use by blind NetHack players +#OPTIONS=symset:NHAccess,roguesymset:NHAccess + # Keyboard handling # Different keyboard handlers can be loaded. # Default is nhdefkey.dll but you can override that. @@ -146,62 +150,3 @@ OPTIONS=hilite_pet,!toptenwin #OPTIONS=palette:bright cyan-0-255-255 #OPTIONS=palette:white-255-255-255 -# -# *** CHARACTER GRAPHICS *** -# -# See the on-line help or the Guidebook for which symbols are in which -# positions. -# -# If you merely set the IBMgraphics option as above, NetHack will use IBM -# extended ASCII for dungeon characters. If you don't like the selections, -# you can make up your own via these graphics options, but you should still -# set IBMgraphics if you are using IBM graphics characters to get the correct -# processing. -# -# ================================================ -# An example using the IBM graphics character set: -#DUNGEON= 032 179 196 218 191 192 217 197 193 194 \ -# 180 195 249 239 239 254 254 240 241 249 \ -# 177 177 060 062 060 062 220 124 190 035 \ -# 244 247 249 247 042 042 186 205 046 035 \ -# 247 -# -#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 094 094 232 232 232 157 094 094 \ -# 094 094 -# -#EFFECTS= 179 196 092 047 042 033 041 040 \ -# 048 035 064 042 \ -# 047 045 092 058 058 092 045 047 \ -# 047 045 092 058 032 058 092 045 047 -# -# ================================================ -# Some alternatives: -#DUNGEON= 032 186 205 201 187 200 188 206 202 203 \ -# 185 204 249 239 239 254 254 240 241 249 \ -# 177 177 060 062 060 062 095 124 092 035 \ -# 244 247 249 247 042 042 179 196 046 035 \ -# 247 -# -#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 094 094 094 034 094 094 094 094 \ -# 094 094 - -# ================================================ -# Here is a recommendation sent in by Michael Feir -# for use by blind NetHack players. -# -#DUNGEON= 032 124 045 124 124 124 124 045 045 045 \ -# 124 124 046 045 124 043 043 046 035 035 \ -# 060 062 060 062 095 092 035 126 126 126 \ -# 126 042 042 035 035 032 035 126 -# -#TRAPS= 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 094 094 094 094 094 094 094 094 \ -# 094 094 -# -#EFFECTS= 124 095 092 047 042 033 041 040 \ -# 048 035 064 042 \ -# 047 045 092 058 058 092 045 047 \ -# 047 045 092 058 032 058 092 045 047 -