summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-22 16:05:48 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-22 16:05:48 +0000
commitb9ea1d41f6595bebcf40ad36f5631de8d2c1f9df (patch)
tree04ef1c815e12fbfd2eba2e4090e2e1b297168331 /crawl-ref/source/AppHdr.h
parent28ca45a435ac680a813a619956785f1584b27401 (diff)
downloadcrawl-ref-b9ea1d41f6595bebcf40ad36f5631de8d2c1f9df.tar.gz
crawl-ref-b9ea1d41f6595bebcf40ad36f5631de8d2c1f9df.zip
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
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h7
1 files changed, 6 insertions, 1 deletions
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