summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-12 01:36:41 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-12 15:10:27 +0200
commitfea71b51790dfb1c5babc22c32226a976a1d5fde (patch)
treeeca851da1ea35080a389d0c7548a57a167b14b74 /crawl-ref/source/makeitem.h
parent13f14d0f7d75f1164c1ba97fc38272f8dc6b441a (diff)
downloadcrawl-ref-fea71b51790dfb1c5babc22c32226a976a1d5fde.tar.gz
crawl-ref-fea71b51790dfb1c5babc22c32226a976a1d5fde.zip
Make staves and rods separate object classes.
They have about no overlap, more than both being usable as weapons. A vast majority of uses immediately checked item_is_rod()/item_is_staff(). I kept them shared for acquirement, for now. Also, eliminate rods of smiting -- hardly ever used, problematic theme-wise as they use "divine providence" without worship. Keeping rods of striking for now, could be used to fix artificer problems. Adding/removing rod enums is a mess due to tile handling, renaming ROD_SMITING to ROD_LIGHTNING for now.
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index f7ec81c1dd..ee27039c4e 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -32,7 +32,6 @@ void init_rod_mp(item_def &item, int ncharges = -1, int item_level = -1);
jewellery_type get_random_ring_type();
jewellery_type get_random_amulet_type();
-stave_type get_random_rod_type();
void item_set_appearance(item_def &item);
void maybe_set_item_race(item_def &item, int allowed, int num_rolls = 1);