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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 wintype.h $NHDT-Date: 1432512782 2015/05/25 00:13:02 $ $NHDT-Branch: master $:$NHDT-Revision: 1.14 $ */
|
||||
/* NetHack 3.6 wintype.h $NHDT-Date: 1433207914 2015/06/02 01:18:34 $ $NHDT-Branch: master $:$NHDT-Revision: 1.15 $ */
|
||||
/* Copyright (c) David Cohrs, 1991 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -22,6 +22,7 @@ typedef union any {
|
||||
long *a_lptr;
|
||||
unsigned long *a_ulptr;
|
||||
unsigned *a_uptr;
|
||||
const char *a_string;
|
||||
/* add types as needed */
|
||||
} anything;
|
||||
#define ANY_P union any /* avoid typedef in prototypes */
|
||||
|
||||
Reference in New Issue
Block a user