From b9ea1d41f6595bebcf40ad36f5631de8d2c1f9df Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 22 Jul 2007 16:05:48 +0000 Subject: Set dgl compiles to use a 1000 entry scoreboard. Fixed a potential race condition when writing scores. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1911 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index d7d2cb608b..4aeddb03c1 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -217,6 +217,9 @@ // #define DGL_CLEAR_SCREEN "\033[2J" + // Increase the size of the topscores file for public servers. + #define SCORE_FILE_ENTRIES 1000 + // If defined, the hiscores code dumps preformatted verbose and terse // death message strings in the logfile for the convenience of logfile // parsers. @@ -316,8 +319,10 @@ // Traditional setting of this is one rune, but three is pretty standard now. #define NUMBER_OF_RUNES_NEEDED 3 -// Number of top scores to keep. +// Number of top scores to keep. See above for the dgamelaunch setting. +#ifndef SCORE_FILE_ENTRIES #define SCORE_FILE_ENTRIES 100 +#endif // Option to allow scoring of wizard characters. Note that even if // you define this option, wizard characters are still tagged as such -- cgit v1.2.3-54-g00ecf