- Replaced the ActorInfo definitions of several internal classes with DECORATE definitions

SVN r1133 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-08 22:52:04 +00:00
commit 14e94b86e2
38 changed files with 456 additions and 336 deletions

View file

@ -49,7 +49,7 @@
class AInterpolationPoint : public AActor
{
DECLARE_STATELESS_ACTOR (AInterpolationPoint, AActor)
DECLARE_CLASS (AInterpolationPoint, AActor)
HAS_OBJECT_POINTERS
public:
void BeginPlay ();
@ -67,12 +67,6 @@ IMPLEMENT_POINTY_CLASS (AInterpolationPoint)
DECLARE_POINTER (Next)
END_POINTERS
BEGIN_STATELESS_DEFAULTS (AInterpolationPoint, Any, 9070, 0)
PROP_Flags (MF_NOBLOCKMAP|MF_NOGRAVITY)
PROP_Flags3 (MF3_DONTSPLASH)
PROP_RenderStyle (STYLE_None)
END_DEFAULTS
void AInterpolationPoint::Serialize (FArchive &arc)
{
Super::Serialize (arc);
@ -135,15 +129,12 @@ AInterpolationPoint *AInterpolationPoint::ScanForLoop ()
class AInterpolationSpecial : public AActor
{
DECLARE_STATELESS_ACTOR (AInterpolationSpecial, AActor)
DECLARE_CLASS (AInterpolationSpecial, AActor)
public:
void Tick () {} // Does absolutely nothing itself
};
IMPLEMENT_STATELESS_ACTOR (AInterpolationSpecial, Any, 9075, 0)
PROP_Flags (MF_NOBLOCKMAP|MF_NOSECTOR)
PROP_Flags3 (MF3_DONTSPLASH)
END_DEFAULTS
IMPLEMENT_CLASS (AInterpolationSpecial, Any, 9075, 0)
/*
== PathFollower: something that follows a camera path
@ -163,7 +154,7 @@ END_DEFAULTS
class APathFollower : public AActor
{
DECLARE_STATELESS_ACTOR (APathFollower, AActor)
DECLARE_CLASS (APathFollower, AActor)
HAS_OBJECT_POINTERS
public:
void BeginPlay ();
@ -190,11 +181,6 @@ IMPLEMENT_POINTY_CLASS (APathFollower)
DECLARE_POINTER (CurrNode)
END_POINTERS
BEGIN_STATELESS_DEFAULTS (APathFollower, Any, 9071, 0)
PROP_Flags (MF_NOBLOCKMAP|MF_NOSECTOR|MF_NOGRAVITY)
PROP_Flags3 (MF3_DONTSPLASH)
END_DEFAULTS
void APathFollower::Serialize (FArchive &arc)
{
Super::Serialize (arc);
@ -518,7 +504,7 @@ bool APathFollower::Interpolate ()
class AActorMover : public APathFollower
{
DECLARE_STATELESS_ACTOR (AActorMover, APathFollower)
DECLARE_CLASS (AActorMover, APathFollower)
public:
void PostBeginPlay ();
void Activate (AActor *activator);
@ -527,8 +513,7 @@ protected:
bool Interpolate ();
};
IMPLEMENT_STATELESS_ACTOR (AActorMover, Any, 9074, 0)
END_DEFAULTS
IMPLEMENT_CLASS (AActorMover)
void AActorMover::PostBeginPlay ()
{
@ -628,7 +613,7 @@ void AActorMover::Deactivate (AActor *activator)
class AMovingCamera : public APathFollower
{
DECLARE_STATELESS_ACTOR (AMovingCamera, APathFollower)
DECLARE_CLASS (AMovingCamera, APathFollower)
HAS_OBJECT_POINTERS
public:
void PostBeginPlay ();
@ -644,9 +629,6 @@ IMPLEMENT_POINTY_CLASS (AMovingCamera)
DECLARE_POINTER (Activator)
END_POINTERS
BEGIN_STATELESS_DEFAULTS (AMovingCamera, Any, 9072, 0)
END_DEFAULTS
void AMovingCamera::Serialize (FArchive &arc)
{
Super::Serialize (arc);