summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/randart.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:24:02 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:24:02 +0000
commit2f5785ca4f55ddfd7365d2888475ba9c28032c96 (patch)
tree9875f61a2be15bab56b0edba20153900ca15c85a /crawl-ref/source/randart.h
parent93410abd4eabdd55afb70c42f565f26686b9a7f1 (diff)
downloadcrawl-ref-2f5785ca4f55ddfd7365d2888475ba9c28032c96.tar.gz
crawl-ref-2f5785ca4f55ddfd7365d2888475ba9c28032c96.zip
Go all the way and also store a randart's name and description in
the props table. No more re-rolling every time we need the name, yay! :D Should be save file compatible, and I also modified my previous change to be save file compatible, after all. Not entirely sure this works, though, as I didn't have any old saved games to test this with. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4479 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.h')
-rw-r--r--crawl-ref/source/randart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/randart.h b/crawl-ref/source/randart.h
index ce74d94430..e106647f01 100644
--- a/crawl-ref/source/randart.h
+++ b/crawl-ref/source/randart.h
@@ -37,7 +37,7 @@ void set_unique_item_status( object_class_type base_type, int type,
/* ***********************************************************************
* called from: itemname
* *********************************************************************** */
-std::string randart_name( const item_def &item );
+std::string get_randart_name( const item_def &item );
/* ***********************************************************************
* called from: describe