- 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:
Randy Heit 2007-03-07 02:24:24 +00:00
commit e01ff5707c
12 changed files with 52 additions and 22 deletions

View file

@ -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[] =