mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Added weapdrop ccmd.
SVN r1383 (trunk)
This commit is contained in:
parent
f3b6f25d88
commit
a21a928011
3 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
January 30, 2009
|
||||
- Added weapdrop ccmd.
|
||||
- Centered the compatibility mode option in the comptibility options menu.
|
||||
- Added button mappings for 8 mouse buttons on SDL. It works with my system,
|
||||
but Linux being Linux, there are no guarantees that it's appropriate for
|
||||
|
|
|
@ -386,6 +386,11 @@ CCMD (invdrop)
|
|||
if (players[consoleplayer].mo) SendItemDrop = players[consoleplayer].mo->InvSel;
|
||||
}
|
||||
|
||||
CCMD (weapdrop)
|
||||
{
|
||||
SendItemDrop = players[consoleplayer].ReadyWeapon;
|
||||
}
|
||||
|
||||
CCMD (drop)
|
||||
{
|
||||
if (argv.argc() > 1 && who != NULL)
|
||||
|
|
|
@ -425,6 +425,7 @@ static menuitem_t ControlsItems[] =
|
|||
{ control, "Next item", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)"invnext"} },
|
||||
{ control, "Previous item", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)"invprev"} },
|
||||
{ control, "Drop item", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)"invdrop"} },
|
||||
{ control, "Drop weapon", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)"weapdrop"} },
|
||||
{ redtext, " ", {NULL}, {0.0}, {0.0}, {0.0}, {NULL} },
|
||||
{ whitetext,"Other", {NULL}, {0.0}, {0.0}, {0.0}, {NULL} },
|
||||
{ control, "Toggle automap", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)"togglemap"} },
|
||||
|
|
Loading…
Reference in a new issue