diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-06-20 11:37:18 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-06-20 20:27:50 +0200 |
commit | ecfbc8411e56c610e607cc49b7daaa88cb2af63f (patch) | |
tree | 6a52c40be2ffcf48da32af5363176132719cef0c /crawl-ref/source/itemname.h | |
parent | 0fe9a9e87802e7f3a29558301f20ae3d83155118 (diff) | |
download | crawl-ref-ecfbc8411e56c610e607cc49b7daaa88cb2af63f.tar.gz crawl-ref-ecfbc8411e56c610e607cc49b7daaa88cb2af63f.zip |
Define make_name()'s seed as 32 bit -- the rest was unused anyway.
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r-- | crawl-ref/source/itemname.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index 9352ffb055..e95e778f42 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -110,7 +110,7 @@ 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, int maxlen = -1, +std::string make_name(uint32_t seed, bool all_caps, int maxlen = -1, char start = 0); const char* weapon_brand_name(const item_def& item, bool terse); @@ -147,7 +147,7 @@ const char* wand_type_name(int wandtype); bool is_named_corpse(const item_def &corpse); std::string get_corpse_name(const item_def &corpse, - unsigned long *name_type = NULL); + uint64_t *name_type = NULL); std::string base_type_string (object_class_type type, bool known = true); std::string base_type_string (const item_def &item, bool known = true); |