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/tilepick.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crawl-ref/source/tilepick.cc') diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 6085e31d63..95b7609e5a 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -109,7 +109,6 @@ static int _bow_offset(const monsters *mon) case WPN_BOW: case WPN_LONGBOW: case WPN_CROSSBOW: - case WPN_HAND_CROSSBOW: return (0); default: return (1); @@ -1302,9 +1301,6 @@ static int _tileidx_weapon_base(const item_def &item) case WPN_CROSSBOW: return TILE_WPN_CROSSBOW; - case WPN_HAND_CROSSBOW: - return TILE_WPN_HAND_CROSSBOW; - case WPN_SPEAR: return TILE_WPN_SPEAR; @@ -4002,7 +3998,6 @@ int tilep_equ_weapon(const item_def &item) case WPN_SLING: return TILEP_HAND1_SLING; case WPN_BOW: return TILEP_HAND1_BOW2; case WPN_CROSSBOW: return TILEP_HAND1_CROSSBOW; - case WPN_HAND_CROSSBOW: return TILEP_HAND1_CROSSBOW; case WPN_BLOWGUN: return TILEP_HAND1_BLOWGUN; case WPN_LONGBOW: return TILEP_HAND1_BOW3; -- cgit v1.2.3-54-g00ecf