diff options
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 45849093a7..24fe957646 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -209,6 +209,18 @@ // parsers. #define DGL_EXTENDED_LOGFILES + // Basic messaging for dgamelaunch, based on SIMPLE_MAIL for + // NetHack and Slash'EM. I'm calling this "messaging" because that's + // closer to reality. + #define SIMPLE_MESSAGING + + // How often we check for messages. This is not once per turn, but once + // per player-input. Message checks are not performed if the keyboard + // buffer is full, so messages should not interrupt macros. + #define MESSAGE_CHECK_INTERVAL 1 + + // Record game milestones in an xlogfile. + #define MILESTONES #endif // ========================================================================= @@ -367,11 +379,8 @@ #endif -// =========================================================================== -// Misc -// =========================================================================== -#if HAS_NAMESPACES - using namespace std; +#if defined(SIMPLE_MESSAGING) && !defined(USE_FILE_LOCKING) +# error Must define USE_FILE_LOCKING for SIMPLE_MESSAGING #endif // Uncomment these if you can't find these functions on your system |