diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-31 22:29:01 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-31 23:21:11 +1000 |
commit | bdef58ca99e4b4239bbd98b7057218231625e378 (patch) | |
tree | cac0aad15ac5cbf2a819c7182f93a79012500283 /crawl-ref/source/tilepick.cc | |
parent | 03293efdcadea4df1bdb90b649f811c95d0285cb (diff) | |
download | crawl-ref-bdef58ca99e4b4239bbd98b7057218231625e378.tar.gz crawl-ref-bdef58ca99e4b4239bbd98b7057218231625e378.zip |
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!
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 5 |
1 files changed, 0 insertions, 5 deletions
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; |