mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 01:11:50 +00:00
18 lines
400 B
C
18 lines
400 B
C
|
|
||
|
class AWeaponPiece : public AInventory
|
||
|
{
|
||
|
DECLARE_CLASS (AWeaponPiece, AInventory)
|
||
|
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 TypeInfo * WeaponClass;
|
||
|
AWeapon * FullWeapon;
|
||
|
};
|