summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 01:35:07 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 01:35:07 +0000
commit62d953c65b657eca6880483b8b4382aba66e45ac (patch)
treef01204e0de88863c50efea0e95ca373ad3782274 /crawl-ref/source/misc.cc
parentf81059ebbd6926656378e2f7d85a61e3bdc714c8 (diff)
downloadcrawl-ref-62d953c65b657eca6880483b8b4382aba66e45ac.tar.gz
crawl-ref-62d953c65b657eca6880483b8b4382aba66e45ac.zip
Lowercase the last of the the miscellaneous names text, and move it out
of the randart name database into its own database. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5385 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc22
1 files changed, 4 insertions, 18 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index efe325b4f5..b80e276fc6 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2404,38 +2404,24 @@ void new_level(void)
#endif
}
-// XXX: Why the lowercasing? I mean why not list the messages as lowercased
-// in the first place? (jpeg)
std::string weird_glowing_colour()
{
- std::string result = getRandNameString("glowing_colour_name");
-
- lowercase(result);
-
- return result;
+ return getMiscString("glowing_colour_name");
}
std::string weird_writing()
{
- std::string result = getRandNameString("writing_name");
-
- lowercase(result);
-
- return result;
+ return getMiscString("writing_name");
}
std::string weird_roaring_animal()
{
- std::string result = getRandNameString("roaring_animal_name");
-
- lowercase(result);
-
- return result;
+ return getMiscString("roaring_animal_name");
}
std::string weird_smell()
{
- return getRandNameString("smell_name");
+ return getMiscString("smell_name");
}
bool scramble(void)