gzdoom/src/g_shared/a_weaponpiece.h

19 lines
427 B
C
Raw Normal View History

class AWeaponPiece : public AInventory
{
DECLARE_CLASS (AWeaponPiece, AInventory)
HAS_OBJECT_POINTERS
protected:
bool PrivateShouldStay ();
public:
void Serialize (FArchive &arc);
bool TryPickup (AActor *toucher);
bool ShouldStay ();
virtual const char *PickupMessage ();
virtual void PlayPickupSound (AActor *toucher);
int PieceValue;
const PClass * WeaponClass;
TObjPtr<AWeapon> FullWeapon;
};