mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-07 13:30:16 +00:00
f2660dc336
testing from the people who download SVN trunk builds. SVN r795 (trunk)
18 lines
427 B
C++
18 lines
427 B
C++
|
|
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;
|
|
};
|