- Added an IF_KEEPDEPLETED flag for inventory items to keep them in the
player's inventory even when they have been used up. If the item also has an inventory bar icon, it will be drawn darkened when it is depleted. SVN r497 (trunk)
This commit is contained in:
parent
560d4f8140
commit
e01ff5707c
12 changed files with 52 additions and 22 deletions
|
|
@ -4,8 +4,8 @@
|
|||
** Actor definitions
|
||||
**
|
||||
**---------------------------------------------------------------------------
|
||||
** Copyright 2002-2006 Christoph Oelckers
|
||||
** Copyright 2004-2006 Randy Heit
|
||||
** Copyright 2002-2007 Christoph Oelckers
|
||||
** Copyright 2004-2007 Randy Heit
|
||||
** All rights reserved.
|
||||
**
|
||||
** Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -248,6 +248,7 @@ static flagdef InventoryFlags[] =
|
|||
DEFINE_FLAG(IF, ALWAYSPICKUP, AInventory, ItemFlags),
|
||||
DEFINE_FLAG(IF, FANCYPICKUPSOUND, AInventory, ItemFlags),
|
||||
DEFINE_FLAG(IF, BIGPOWERUP, AInventory, ItemFlags),
|
||||
DEFINE_FLAG(IF, KEEPDEPLETED, AInventory, ItemFlags),
|
||||
};
|
||||
|
||||
static flagdef WeaponFlags[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue