diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
commit | 4c56ab40290b29a37eefb46230e987ed6028ce4f (patch) | |
tree | c8def6cbd1815dc55cd132c99c98ed99ce9d20ac /crawl-ref/source/AppHdr.h | |
parent | bdb45bf27b86ff63c5afdff311b4065c83faf37d (diff) | |
download | crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.tar.gz crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.zip |
Applied whereis patch from crawl.akrasiac.org (tracks where the player is in
the dungeon).
All dgamelaunch patches are conditionalised by DGL_foo #ifdefs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1096 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 24fe957646..e7d4529dbb 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -212,15 +212,19 @@ // 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 + #define DGL_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 + #define DGL_MESSAGE_CHECK_INTERVAL 1 // Record game milestones in an xlogfile. - #define MILESTONES + #define DGL_MILESTONES + + // Record where players are currently. + #define DGL_WHEREIS + #endif // ========================================================================= @@ -379,8 +383,8 @@ #endif -#if defined(SIMPLE_MESSAGING) && !defined(USE_FILE_LOCKING) -# error Must define USE_FILE_LOCKING for SIMPLE_MESSAGING +#if defined(DGL_SIMPLE_MESSAGING) && !defined(USE_FILE_LOCKING) +# error Must define USE_FILE_LOCKING for DGL_SIMPLE_MESSAGING #endif // Uncomment these if you can't find these functions on your system |