mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 15:44:24 +00:00
d878c2e7d6
SVN r97 (trunk)
17 lines
398 B
C++
17 lines
398 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 PClass * WeaponClass;
|
|
AWeapon * FullWeapon;
|
|
};
|