2006-02-24 04:48:15 +00:00
|
|
|
#ifndef __A_STRIFEGLOBAL_H__
|
|
|
|
#define __A_STRIFEGLOBAL_H__
|
|
|
|
|
|
|
|
#include "info.h"
|
|
|
|
#include "a_pickups.h"
|
|
|
|
|
|
|
|
// Base class for every humanoid in Strife that can go into
|
|
|
|
// a fire or electric death.
|
|
|
|
class ADegninOre : public AInventory
|
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (ADegninOre, AInventory)
|
2006-02-24 04:48:15 +00:00
|
|
|
public:
|
|
|
|
bool Use (bool pickup);
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACoin : public AInventory
|
|
|
|
{
|
2008-08-07 17:45:35 +00:00
|
|
|
DECLARE_CLASS (ACoin, AInventory)
|
2006-02-24 04:48:15 +00:00
|
|
|
public:
|
|
|
|
const char *PickupMessage ();
|
|
|
|
bool HandlePickup (AInventory *item);
|
|
|
|
AInventory *CreateTossable ();
|
|
|
|
AInventory *CreateCopy (AActor *other);
|
|
|
|
};
|
|
|
|
|
|
|
|
class ADummyStrifeItem : public AInventory
|
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (ADummyStrifeItem, AInventory)
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class AUpgradeStamina : public ADummyStrifeItem
|
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (AUpgradeStamina, ADummyStrifeItem)
|
2006-02-24 04:48:15 +00:00
|
|
|
public:
|
2008-09-13 22:08:41 +00:00
|
|
|
bool TryPickup (AActor *&toucher);
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class AUpgradeAccuracy : public ADummyStrifeItem
|
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (AUpgradeAccuracy, ADummyStrifeItem)
|
2006-02-24 04:48:15 +00:00
|
|
|
public:
|
2008-09-13 22:08:41 +00:00
|
|
|
bool TryPickup (AActor *&toucher);
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|
|
|
|
|
2008-03-26 08:29:02 +00:00
|
|
|
class ASlideshowStarter : public ADummyStrifeItem
|
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (ASlideshowStarter, ADummyStrifeItem)
|
2008-03-26 08:29:02 +00:00
|
|
|
public:
|
2008-09-13 22:08:41 +00:00
|
|
|
bool TryPickup (AActor *&toucher);
|
2008-03-26 08:29:02 +00:00
|
|
|
};
|
|
|
|
|
2008-08-08 07:40:41 +00:00
|
|
|
class ASigil : public AWeapon
|
2006-02-24 04:48:15 +00:00
|
|
|
{
|
2008-08-08 19:47:18 +00:00
|
|
|
DECLARE_CLASS (ASigil, AWeapon)
|
2006-02-24 04:48:15 +00:00
|
|
|
public:
|
|
|
|
bool HandlePickup (AInventory *item);
|
|
|
|
AInventory *CreateCopy (AActor *other);
|
|
|
|
void Serialize (FArchive &arc);
|
|
|
|
bool SpecialDropAction (AActor *dropper);
|
|
|
|
static int GiveSigilPiece (AActor *daPlayer);
|
2008-08-08 19:47:18 +00:00
|
|
|
void BeginPlay();
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
int NumPieces, DownPieces;
|
|
|
|
};
|
|
|
|
|
2006-05-10 02:40:43 +00:00
|
|
|
extern const PClass *QuestItemClasses[31];
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
#endif
|