]> granicus.if.org Git - nethack/commit
tty role selection when filter by options
authorPatR <rankin@nethack.org>
Tue, 2 Jun 2015 01:18:47 +0000 (18:18 -0700)
committerPatR <rankin@nethack.org>
Tue, 2 Jun 2015 01:18:47 +0000 (18:18 -0700)
commitf0904157c50f35440bd33dd528220dcc9070a91d
tree8528ea73adfc3ec26d139fc1a00d14c3ba07f332
parent13ef4962fd2f6a943d3f9c21cb52ac930c71e514
tty role selection when filter by options

Honor things like OPTIONS:role=!tourist and NETHACKOPTIONS='race=!orc'
when performing interactive role selection.  I don't think it was
completely correct when players let the program choose, but it must
have been close enough because we haven't gotten any complaints.
The post-3.4.3 interactive selection was ignoring options-base filtering
entirely and did get complaints for the pre-beta.

Role selection has a ton of code which bloats the program without doing
anything useful for actual game play.  It ought to be split off into a
separate front end.
include/extern.h
include/winprocs.h
include/wintype.h
src/role.c
win/tty/wintty.c