From bdef58ca99e4b4239bbd98b7057218231625e378 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Thu, 31 Dec 2009 22:29:01 +1000 Subject: Remove hand crossbows. This involves a lot of changes, and also increments TAG_MAJOR_VERSION to 13. The unrand "Sniper" is now a crossbow (hopefully its current title is still suitable for this task), and thieves no longer start with hand crossbows (but still retain darts). Wanderers with crossbow skills will now get a crossbow and bolts. This may be overpowered, but I didn't want to change the code here too much. It can always be adjusted. This removes the "quiver_type" enum from enum.h, and uses NUM_AMMO in the player.h quiver vector instead. Random elves that generated with hand crossbows before no longer do so, and this has not been replaced by normal crossbows. I hope that's everything! --- crawl-ref/source/enum.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 9882f7616c..eed1964627 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -180,17 +180,6 @@ enum attribute_type NUM_ATTRIBUTES }; -enum quiver_type -{ - QUIVER_THROW, // no launcher wielded -> darts, stones, ... - QUIVER_BOW, // wielded bow -> arrows - QUIVER_SLING, // wielded sling -> stones, sling bullets - QUIVER_CROSSBOW, // wielded crossbow -> bolts - QUIVER_HAND_CROSSBOW, // wielded hand crossbow -> darts - QUIVER_BLOWGUN, // wielded blowgun -> needles - NUM_QUIVER -}; - enum beam_type // beam[].flavour { BEAM_NONE, // 0 -- cgit v1.2.3-54-g00ecf