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/player.h | |
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/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 9c64409023..e9b59b2364 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -9,6 +9,7 @@ #define PLAYER_H #include "actor.h" +#include "quiver.h" #include "itemprop-enum.h" #include "species.h" @@ -142,7 +143,7 @@ public: int berserk_penalty; // penalty for moving while berserk FixedVector<unsigned long, NUM_ATTRIBUTES> attribute; - FixedVector<unsigned char, NUM_QUIVER> quiver; // default items for quiver + FixedVector<unsigned char, NUM_AMMO> quiver; // default items for quiver FixedVector<long, NUM_OBJECT_CLASSES> sacrifice_value; undead_state_type is_undead; |