I added mouse wheel weapon change to prboom
the prevweapon and nextweapon keys can be assigned to
any keys or the mouse wheel up/down functions.
Just copy the wheelweapons.patch file to your
prboom-2.3.0/src directory and from that directory
type:
patch -p0 <wheelweapons.patch
Then from the prboom-2.3.0 directory do:
./configure
make
su
root password
make install
go into the options key assignments weapons keys menu
and set up your keys or mouse wheel functions to assign
to the prev weapon and next weapon functions.
enyoy
Logged In: YES
user_id=723969
This version is more correct
Logged In: YES
user_id=723969
Note: This patch already includes the "highlight counted
items" patch #695591. So you don't need that patch if you
have this one.
Logged In: YES
user_id=723969
This one consolidates redundant code into a subroutine.