SELECTSAVED handling

By default, enable the SELECTSAVED option for everyone instead
of just for Windows or Qt.  And make Qt obey the 'selectsaved'
run-time option.

It can be disabled in config.h if necessary.
This commit is contained in:
PatR
2021-01-23 15:02:11 -08:00
parent a1eb06b462
commit ab74ed2c20
6 changed files with 57 additions and 29 deletions

View File

@@ -31,6 +31,12 @@
// enchancement: instead of just showing the character name, show
// "name-role-race-gender-alignment".
//
// Note:
// The code in this file is not used if the program is built without
// having SELECTSAVED defined or if the run-time option 'selectsaved'
// is False. SELECTSAVED used to be forced for Qt but isn't any more.
// Howver, we include this code unconditionally.
//
extern "C" {
#include "hack.h"