diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-07 10:44:55 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-07 10:44:55 +0000 |
commit | e73443245850c17be63996e97549416d6cba1759 (patch) | |
tree | ca57253e1c3b350117bd63e320d714c7a3204a60 /crawl-ref/source/itemname.h | |
parent | 1219201e4079858b2963b4c943488e1c0b93d26c (diff) | |
download | crawl-ref-e73443245850c17be63996e97549416d6cba1759.tar.gz crawl-ref-e73443245850c17be63996e97549416d6cba1759.zip |
Tiles: Save per-character equipment setting and use it in the character
selection menu.
TODO: Use this instead of dolls.txt for initialising dolls, falling back on
dolls.txt if name.tdl cannot be found and for new characters.
I've tried displaying floor type but found it resulted in an information
overload, and also distracts from the main information (species,
equipment), esp. since it's mostly floor and most of the tile is covered
anyway. I left it in (though commented out), so it's in the repository,
but will remove it afterwards.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10122 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r-- | crawl-ref/source/itemname.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index 0f8012e021..447892639a 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -94,7 +94,8 @@ bool is_bad_item(const item_def &item, bool temp = false); bool is_dangerous_item( const item_def& item, bool temp = false); bool is_useless_item(const item_def &item, bool temp = false); -std::string make_name( unsigned long seed, bool all_caps ); +std::string make_name(unsigned long seed, bool all_caps, int maxlen = -1, + char start = 0); const char* weapon_brand_name(const item_def& item, bool terse); |