mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- reformatting for easier search.
This commit is contained in:
parent
e754fae0a8
commit
d24aa5dec9
69 changed files with 202 additions and 170 deletions
|
@ -583,7 +583,7 @@ public:
|
|||
void Destroy ();
|
||||
~AActor ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Serialize(FSerializer &arc);
|
||||
void PostSerialize();
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ void DBot::Clear ()
|
|||
old = { 0, 0 };
|
||||
}
|
||||
|
||||
void DBot::Serialize (FArchive &arc)
|
||||
void DBot::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ public:
|
|||
DBot ();
|
||||
|
||||
void Clear ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
//(b_think.cpp)
|
||||
|
|
|
@ -65,7 +65,7 @@ class DWaitingCommand : public DThinker
|
|||
public:
|
||||
DWaitingCommand (const char *cmd, int tics);
|
||||
~DWaitingCommand ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
private:
|
||||
|
@ -189,7 +189,7 @@ static const char *KeyConfCommands[] =
|
|||
|
||||
IMPLEMENT_CLASS (DWaitingCommand)
|
||||
|
||||
void DWaitingCommand::Serialize (FArchive &arc)
|
||||
void DWaitingCommand::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Command << TicsLeft;
|
||||
|
|
|
@ -102,7 +102,7 @@ class APlayerPawn : public AActor
|
|||
DECLARE_CLASS_WITH_META(APlayerPawn, AActor, PClassPlayerPawn)
|
||||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
virtual void PostBeginPlay();
|
||||
virtual void Tick();
|
||||
|
@ -383,7 +383,7 @@ public:
|
|||
~player_t();
|
||||
player_t &operator= (const player_t &p);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
size_t FixPointers (const DObject *obj, DObject *replacement);
|
||||
size_t PropagateMark();
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ struct DDecalThinker : public DThinker
|
|||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
DDecalThinker (DBaseDecal *decal) : DThinker (STAT_DECALTHINKER), TheDecal (decal) {}
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
TObjPtr<DBaseDecal> TheDecal;
|
||||
protected:
|
||||
DDecalThinker () : DThinker (STAT_DECALTHINKER) {}
|
||||
|
@ -123,7 +123,7 @@ IMPLEMENT_POINTY_CLASS (DDecalThinker)
|
|||
DECLARE_POINTER (TheDecal)
|
||||
END_POINTERS
|
||||
|
||||
void DDecalThinker::Serialize (FArchive &arc)
|
||||
void DDecalThinker::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TheDecal;
|
||||
|
@ -143,7 +143,7 @@ class DDecalFader : public DDecalThinker
|
|||
DECLARE_CLASS (DDecalFader, DDecalThinker)
|
||||
public:
|
||||
DDecalFader (DBaseDecal *decal) : DDecalThinker (decal) {}
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
int TimeToStartDecay;
|
||||
|
@ -168,7 +168,7 @@ class DDecalColorer : public DDecalThinker
|
|||
DECLARE_CLASS (DDecalColorer, DDecalThinker)
|
||||
public:
|
||||
DDecalColorer (DBaseDecal *decal) : DDecalThinker (decal) {}
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
int TimeToStartDecay;
|
||||
|
@ -194,7 +194,7 @@ class DDecalStretcher : public DDecalThinker
|
|||
DECLARE_CLASS (DDecalStretcher, DDecalThinker)
|
||||
public:
|
||||
DDecalStretcher (DBaseDecal *decal) : DDecalThinker (decal) {}
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
int TimeToStart;
|
||||
|
@ -225,7 +225,7 @@ class DDecalSlider : public DDecalThinker
|
|||
DECLARE_CLASS (DDecalSlider, DDecalThinker)
|
||||
public:
|
||||
DDecalSlider (DBaseDecal *decal) : DDecalThinker (decal) {}
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
int TimeToStart;
|
||||
|
@ -1153,7 +1153,7 @@ FDecalAnimator::~FDecalAnimator ()
|
|||
|
||||
IMPLEMENT_CLASS (DDecalFader)
|
||||
|
||||
void DDecalFader::Serialize (FArchive &arc)
|
||||
void DDecalFader::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TimeToStartDecay << TimeToEndDecay << StartTrans;
|
||||
|
@ -1200,7 +1200,7 @@ DThinker *FDecalFaderAnim::CreateThinker (DBaseDecal *actor, side_t *wall) const
|
|||
|
||||
IMPLEMENT_CLASS (DDecalStretcher)
|
||||
|
||||
void DDecalStretcher::Serialize (FArchive &arc)
|
||||
void DDecalStretcher::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TimeToStart
|
||||
|
@ -1288,7 +1288,7 @@ void DDecalStretcher::Tick ()
|
|||
|
||||
IMPLEMENT_CLASS (DDecalSlider)
|
||||
|
||||
void DDecalSlider::Serialize (FArchive &arc)
|
||||
void DDecalSlider::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TimeToStart
|
||||
|
@ -1371,7 +1371,7 @@ FDecalAnimator *FDecalLib::FindAnimator (const char *name)
|
|||
|
||||
IMPLEMENT_CLASS (DDecalColorer)
|
||||
|
||||
void DDecalColorer::Serialize (FArchive &arc)
|
||||
void DDecalColorer::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TimeToStartDecay << TimeToEndDecay << StartColor << GoalColor;
|
||||
|
|
|
@ -467,7 +467,7 @@ public:
|
|||
inline bool IsA (const PClass *type) const;
|
||||
|
||||
void SerializeUserVars(FArchive &arc);
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
void SerializeUserVars(FSerializer &arc);
|
||||
virtual void Serialize(FSerializer &arc);
|
||||
|
|
|
@ -64,7 +64,7 @@ DSectorEffect::DSectorEffect (sector_t *sector)
|
|||
m_Sector = sector;
|
||||
}
|
||||
|
||||
void DSectorEffect::Serialize (FArchive &arc)
|
||||
void DSectorEffect::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Sector;
|
||||
|
@ -90,7 +90,7 @@ void DMover::Destroy()
|
|||
Super::Destroy();
|
||||
}
|
||||
|
||||
void DMover::Serialize (FArchive &arc)
|
||||
void DMover::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << interpolation;
|
||||
|
|
|
@ -10,7 +10,7 @@ class DSectorEffect : public DThinker
|
|||
public:
|
||||
DSectorEffect (sector_t *sector);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Destroy();
|
||||
|
||||
sector_t *GetSector() const { return m_Sector; }
|
||||
|
@ -32,7 +32,7 @@ protected:
|
|||
private:
|
||||
protected:
|
||||
DMover ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Destroy();
|
||||
};
|
||||
|
||||
|
|
|
@ -526,7 +526,7 @@ void FCompressedMemFile::Close ()
|
|||
}
|
||||
}
|
||||
|
||||
void FCompressedMemFile::Serialize (FArchive &arc)
|
||||
void FCompressedMemFile::Serialize(FArchive &arc)
|
||||
{
|
||||
if (arc.IsStoring ())
|
||||
{
|
||||
|
|
|
@ -127,7 +127,7 @@ public:
|
|||
bool IsOpen () const;
|
||||
void GetSizes(unsigned int &one, unsigned int &two) const;
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
protected:
|
||||
bool FreeOnExplode () { return !m_SourceFromMem; }
|
||||
|
|
|
@ -1780,7 +1780,8 @@ class DLightLevel : public DLighting
|
|||
public:
|
||||
|
||||
DLightLevel(sector_t * s,int destlevel,int speed);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
void Destroy() { Super::Destroy(); m_Sector->lightingdata=NULL; }
|
||||
};
|
||||
|
@ -1789,7 +1790,7 @@ public:
|
|||
|
||||
IMPLEMENT_CLASS (DLightLevel)
|
||||
|
||||
void DLightLevel::Serialize (FArchive &arc)
|
||||
void DLightLevel::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << destlevel << speed;
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
void Tick ();
|
||||
void SetWeapon (EMarineWeapon);
|
||||
void SetSprite (PClassActor *source);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
int CurrentWeapon;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ static FRandom pr_m_fireshotgun2 ("SMarineFireSSG");
|
|||
|
||||
IMPLEMENT_CLASS (AScriptedMarine)
|
||||
|
||||
void AScriptedMarine::Serialize (FArchive &arc)
|
||||
void AScriptedMarine::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
|
||||
|
|
|
@ -866,13 +866,13 @@ class ARainTracker : public AInventory
|
|||
{
|
||||
DECLARE_CLASS (ARainTracker, AInventory)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
AActor *Rain1, *Rain2;
|
||||
};
|
||||
|
||||
IMPLEMENT_CLASS (ARainTracker)
|
||||
|
||||
void ARainTracker::Serialize (FArchive &arc)
|
||||
void ARainTracker::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Rain1 << Rain2;
|
||||
|
@ -1140,7 +1140,7 @@ class APhoenixRod : public AWeapon
|
|||
{
|
||||
DECLARE_CLASS (APhoenixRod, AWeapon)
|
||||
public:
|
||||
void Serialize (FArchive &arc)
|
||||
void Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << FlameCount;
|
||||
|
|
|
@ -31,7 +31,7 @@ class ACWeapWraithverge : public AClericWeapon
|
|||
{
|
||||
DECLARE_CLASS (ACWeapWraithverge, AClericWeapon)
|
||||
public:
|
||||
void Serialize (FArchive &arc)
|
||||
void Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << CHolyCount;
|
||||
|
|
|
@ -67,13 +67,13 @@ public:
|
|||
const PClass *StopBall;
|
||||
DAngle BallAngle;
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Die (AActor *source, AActor *inflictor, int dmgflags);
|
||||
};
|
||||
|
||||
IMPLEMENT_CLASS (AHeresiarch)
|
||||
|
||||
void AHeresiarch::Serialize (FArchive &arc)
|
||||
void AHeresiarch::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << StopBall << BallAngle;
|
||||
|
@ -105,7 +105,7 @@ public:
|
|||
DAngle AngleOffset;
|
||||
DAngle OldAngle;
|
||||
|
||||
void Serialize (FArchive &arc)
|
||||
void Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << AngleOffset << OldAngle;
|
||||
|
|
|
@ -29,7 +29,7 @@ class AMWeapBloodscourge : public AMageWeapon
|
|||
{
|
||||
DECLARE_CLASS (AMWeapBloodscourge, AMageWeapon)
|
||||
public:
|
||||
void Serialize (FArchive &arc)
|
||||
void Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << MStaffCount;
|
||||
|
|
|
@ -22,7 +22,7 @@ class AThrustFloor : public AActor
|
|||
DECLARE_CLASS (AThrustFloor, AActor)
|
||||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
void Activate (AActor *activator);
|
||||
void Deactivate (AActor *activator);
|
||||
|
@ -34,7 +34,7 @@ IMPLEMENT_POINTY_CLASS (AThrustFloor)
|
|||
DECLARE_POINTER (DirtClump)
|
||||
END_POINTERS
|
||||
|
||||
void AThrustFloor::Serialize (FArchive &arc)
|
||||
void AThrustFloor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << DirtClump;
|
||||
|
|
|
@ -79,7 +79,7 @@ void AMinotaurFriend::BeginPlay ()
|
|||
StartTime = -1;
|
||||
}
|
||||
|
||||
void AMinotaurFriend::Serialize (FArchive &arc)
|
||||
void AMinotaurFriend::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << StartTime;
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
void Die (AActor *source, AActor *inflictor, int dmgflags);
|
||||
bool OkayToSwitchTarget (AActor *other);
|
||||
void BeginPlay ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
};
|
||||
|
||||
#endif //__RAVENSHARED_H__
|
||||
|
|
|
@ -361,7 +361,7 @@ class DCorpsePointer : public DThinker
|
|||
public:
|
||||
DCorpsePointer (AActor *ptr);
|
||||
void Destroy ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
TObjPtr<AActor> Corpse;
|
||||
DWORD Count; // Only the first corpse pointer's count is valid.
|
||||
private:
|
||||
|
@ -435,7 +435,7 @@ void DCorpsePointer::Destroy ()
|
|||
Super::Destroy ();
|
||||
}
|
||||
|
||||
void DCorpsePointer::Serialize (FArchive &arc)
|
||||
void DCorpsePointer::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc << Corpse << Count;
|
||||
|
|
|
@ -21,7 +21,7 @@ IMPLEMENT_CLASS (AHexenArmor)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void ABasicArmor::Serialize (FArchive &arc)
|
||||
void ABasicArmor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << SavePercent << BonusCount << MaxAbsorb << MaxFullAbsorb << AbsorbCount << ArmorType << ActualSaveAmount;
|
||||
|
@ -192,7 +192,7 @@ void ABasicArmor::AbsorbDamage (int damage, FName damageType, int &newdamage)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void ABasicArmorPickup::Serialize (FArchive &arc)
|
||||
void ABasicArmorPickup::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << SavePercent << SaveAmount << MaxAbsorb << MaxFullAbsorb;
|
||||
|
@ -274,7 +274,7 @@ bool ABasicArmorPickup::Use (bool pickup)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void ABasicArmorBonus::Serialize (FArchive &arc)
|
||||
void ABasicArmorBonus::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << SavePercent << SaveAmount << MaxSaveAmount << BonusCount << BonusMax
|
||||
|
@ -371,7 +371,7 @@ bool ABasicArmorBonus::Use (bool pickup)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void AHexenArmor::Serialize (FArchive &arc)
|
||||
void AHexenArmor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Slots[0] << Slots[1] << Slots[2] << Slots[3]
|
||||
|
|
|
@ -101,7 +101,7 @@ bool APowerupGiver::Use (bool pickup)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void APowerupGiver::Serialize (FArchive &arc)
|
||||
void APowerupGiver::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << PowerupType;
|
||||
|
@ -136,7 +136,7 @@ void APowerup::Tick ()
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void APowerup::Serialize (FArchive &arc)
|
||||
void APowerup::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << EffectTics << BlendColor << Mode;
|
||||
|
@ -901,7 +901,7 @@ IMPLEMENT_CLASS (APowerTorch)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void APowerTorch::Serialize (FArchive &arc)
|
||||
void APowerTorch::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << NewTorch << NewTorchDelta;
|
||||
|
@ -963,7 +963,7 @@ IMPLEMENT_CLASS (APowerFlight)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void APowerFlight::Serialize (FArchive &arc)
|
||||
void APowerFlight::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << HitCenterFrame;
|
||||
|
@ -1899,7 +1899,7 @@ IMPLEMENT_CLASS(APowerMorph)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void APowerMorph::Serialize (FArchive &arc)
|
||||
void APowerMorph::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << PlayerClass << MorphStyle << MorphFlash << UnMorphFlash;
|
||||
|
|
|
@ -16,7 +16,7 @@ public:
|
|||
virtual bool HandlePickup (AInventory *item);
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual AInventory *CreateTossable ();
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual void OwnerDied ();
|
||||
virtual bool GetNoTeleportFreeze();
|
||||
virtual PalEntry GetBlend ();
|
||||
|
@ -51,7 +51,7 @@ class APowerupGiver : public AInventory
|
|||
DECLARE_CLASS_WITH_META (APowerupGiver, AInventory, PClassPowerupGiver)
|
||||
public:
|
||||
virtual bool Use (bool pickup);
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
|
||||
PClassActor *PowerupType;
|
||||
|
@ -121,7 +121,7 @@ class APowerTorch : public APowerLightAmp
|
|||
{
|
||||
DECLARE_CLASS (APowerTorch, APowerLightAmp)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
protected:
|
||||
void DoEffect ();
|
||||
int NewTorch, NewTorchDelta;
|
||||
|
@ -132,7 +132,7 @@ class APowerFlight : public APowerup
|
|||
DECLARE_CLASS (APowerFlight, APowerup)
|
||||
public:
|
||||
bool DrawPowerup (int x, int y);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
protected:
|
||||
void InitEffect ();
|
||||
|
@ -272,7 +272,7 @@ class APowerMorph : public APowerup
|
|||
{
|
||||
DECLARE_CLASS( APowerMorph, APowerup )
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void SetNoCallUndoMorph() { bNoCallUndoMorph = true; }
|
||||
|
||||
FNameNoInit PlayerClass, MorphFlash, UnMorphFlash;
|
||||
|
|
|
@ -55,7 +55,7 @@ public:
|
|||
void PostBeginPlay ();
|
||||
void Tick ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
protected:
|
||||
DAngle Center;
|
||||
DAngle Acc;
|
||||
|
@ -65,7 +65,7 @@ protected:
|
|||
|
||||
IMPLEMENT_CLASS (ASecurityCamera)
|
||||
|
||||
void ASecurityCamera::Serialize (FArchive &arc)
|
||||
void ASecurityCamera::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Center << Acc << Delta << Range;
|
||||
|
@ -114,14 +114,14 @@ public:
|
|||
void PostBeginPlay ();
|
||||
void Tick ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
protected:
|
||||
DAngle MaxPitchChange;
|
||||
};
|
||||
|
||||
IMPLEMENT_CLASS (AAimingCamera)
|
||||
|
||||
void AAimingCamera::Serialize (FArchive &arc)
|
||||
void AAimingCamera::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << MaxPitchChange;
|
||||
|
|
|
@ -122,7 +122,7 @@ void DBaseDecal::Remove ()
|
|||
WallNext = NULL;
|
||||
}
|
||||
|
||||
void DBaseDecal::Serialize (FArchive &arc)
|
||||
void DBaseDecal::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << LeftDistance
|
||||
|
@ -609,7 +609,7 @@ void DImpactDecal::SerializeTime (FArchive &arc)
|
|||
}
|
||||
}
|
||||
|
||||
void DImpactDecal::Serialize (FArchive &arc)
|
||||
void DImpactDecal::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ void DFlashFader::Destroy ()
|
|||
Super::Destroy();
|
||||
}
|
||||
|
||||
void DFlashFader::Serialize (FArchive &arc)
|
||||
void DFlashFader::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TotalTics << StartTic << ForWho;
|
||||
|
|
|
@ -35,7 +35,7 @@ DLightningThinker::~DLightningThinker ()
|
|||
}
|
||||
}
|
||||
|
||||
void DLightningThinker::Serialize (FArchive &arc)
|
||||
void DLightningThinker::Serialize(FArchive &arc)
|
||||
{
|
||||
int i;
|
||||
short *lights;
|
||||
|
|
|
@ -13,7 +13,7 @@ class DLightningThinker : public DThinker
|
|||
public:
|
||||
DLightningThinker ();
|
||||
~DLightningThinker ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
void ForceLightning (int mode);
|
||||
void TerminateLightning();
|
||||
|
|
|
@ -634,7 +634,7 @@ int AMorphProjectile::DoSpecialDamage (AActor *target, int damage, FName damaget
|
|||
return -1;
|
||||
}
|
||||
|
||||
void AMorphProjectile::Serialize (FArchive &arc)
|
||||
void AMorphProjectile::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << PlayerClass << MonsterClass << Duration << MorphStyle << MorphFlash << UnMorphFlash;
|
||||
|
@ -647,7 +647,7 @@ IMPLEMENT_POINTY_CLASS (AMorphedMonster)
|
|||
DECLARE_POINTER (UnmorphedMe)
|
||||
END_POINTERS
|
||||
|
||||
void AMorphedMonster::Serialize (FArchive &arc)
|
||||
void AMorphedMonster::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << UnmorphedMe << UnmorphTime << MorphStyle << MorphExitFlash << FlagsSave;
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
AInterpolationPoint *ScanForLoop ();
|
||||
void FormChain ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
TObjPtr<AInterpolationPoint> Next;
|
||||
};
|
||||
|
@ -69,7 +69,7 @@ IMPLEMENT_POINTY_CLASS (AInterpolationPoint)
|
|||
DECLARE_POINTER (Next)
|
||||
END_POINTERS
|
||||
|
||||
void AInterpolationPoint::Serialize (FArchive &arc)
|
||||
void AInterpolationPoint::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Next;
|
||||
|
@ -166,7 +166,7 @@ protected:
|
|||
virtual bool Interpolate ();
|
||||
virtual void NewNode ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
bool bActive, bJustStepped;
|
||||
TObjPtr<AInterpolationPoint> PrevNode, CurrNode;
|
||||
|
@ -179,7 +179,7 @@ IMPLEMENT_POINTY_CLASS (APathFollower)
|
|||
DECLARE_POINTER (CurrNode)
|
||||
END_POINTERS
|
||||
|
||||
void APathFollower::Serialize (FArchive &arc)
|
||||
void APathFollower::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << bActive << bJustStepped << PrevNode << CurrNode << Time << HoldTime;
|
||||
|
@ -577,7 +577,7 @@ class AMovingCamera : public APathFollower
|
|||
public:
|
||||
void PostBeginPlay ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
protected:
|
||||
bool Interpolate ();
|
||||
|
||||
|
@ -588,7 +588,7 @@ IMPLEMENT_POINTY_CLASS (AMovingCamera)
|
|||
DECLARE_POINTER (Activator)
|
||||
END_POINTERS
|
||||
|
||||
void AMovingCamera::Serialize (FArchive &arc)
|
||||
void AMovingCamera::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Activator;
|
||||
|
|
|
@ -89,7 +89,7 @@ IMPLEMENT_CLASS (AAmmo)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void AAmmo::Serialize (FArchive &arc)
|
||||
void AAmmo::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << BackpackAmount << BackpackMaxAmount;
|
||||
|
@ -514,7 +514,7 @@ void AInventory::Tick ()
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void AInventory::Serialize (FArchive &arc)
|
||||
void AInventory::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Owner << Amount << MaxAmount << RespawnTics << ItemFlags << Icon << PickupSound << SpawnPointClass;
|
||||
|
@ -1809,7 +1809,7 @@ bool AHealthPickup::Use (bool pickup)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void AHealthPickup::Serialize (FArchive &arc)
|
||||
void AHealthPickup::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc << autousemode;
|
||||
|
@ -1823,7 +1823,7 @@ void AHealthPickup::Serialize (FArchive &arc)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void ABackpackItem::Serialize (FArchive &arc)
|
||||
void ABackpackItem::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << bDepleted;
|
||||
|
|
|
@ -153,7 +153,7 @@ class AInventory : public AActor
|
|||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
virtual void Touch (AActor *toucher);
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
virtual void MarkPrecacheSounds() const;
|
||||
virtual void BeginPlay ();
|
||||
|
@ -254,7 +254,7 @@ class AAmmo : public AInventory
|
|||
{
|
||||
DECLARE_CLASS_WITH_META(AAmmo, AInventory, PClassAmmo)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
AInventory *CreateCopy (AActor *other);
|
||||
bool HandlePickup (AInventory *item);
|
||||
PClassActor *GetParentAmmo () const;
|
||||
|
@ -311,7 +311,7 @@ public:
|
|||
bool bAltFire; // Set when this weapon's alternate fire is used.
|
||||
|
||||
virtual void MarkPrecacheSounds() const;
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual bool ShouldStay ();
|
||||
virtual void AttachToOwner (AActor *other);
|
||||
virtual bool HandlePickup (AInventory *item);
|
||||
|
@ -431,7 +431,7 @@ class AHealthPickup : public AInventory
|
|||
public:
|
||||
int autousemode;
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual AInventory *CreateTossable ();
|
||||
virtual bool HandlePickup (AInventory *item);
|
||||
|
@ -451,7 +451,7 @@ class ABasicArmor : public AArmor
|
|||
{
|
||||
DECLARE_CLASS (ABasicArmor, AArmor)
|
||||
public:
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual void Tick ();
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual bool HandlePickup (AInventory *item);
|
||||
|
@ -471,7 +471,7 @@ class ABasicArmorPickup : public AArmor
|
|||
{
|
||||
DECLARE_CLASS (ABasicArmorPickup, AArmor)
|
||||
public:
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual bool Use (bool pickup);
|
||||
|
||||
|
@ -486,7 +486,7 @@ class ABasicArmorBonus : public AArmor
|
|||
{
|
||||
DECLARE_CLASS (ABasicArmorBonus, AArmor)
|
||||
public:
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual bool Use (bool pickup);
|
||||
|
||||
|
@ -505,7 +505,7 @@ class AHexenArmor : public AArmor
|
|||
{
|
||||
DECLARE_CLASS (AHexenArmor, AArmor)
|
||||
public:
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual AInventory *CreateCopy (AActor *other);
|
||||
virtual AInventory *CreateTossable ();
|
||||
virtual bool HandlePickup (AInventory *item);
|
||||
|
@ -533,7 +533,7 @@ class APuzzleItem : public AInventory
|
|||
{
|
||||
DECLARE_CLASS_WITH_META(APuzzleItem, AInventory, PClassPuzzleItem)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
bool ShouldStay ();
|
||||
bool Use (bool pickup);
|
||||
bool HandlePickup (AInventory *item);
|
||||
|
@ -555,7 +555,7 @@ class ABackpackItem : public AInventory
|
|||
{
|
||||
DECLARE_CLASS (ABackpackItem, AInventory)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
bool HandlePickup (AInventory *item);
|
||||
AInventory *CreateCopy (AActor *other);
|
||||
AInventory *CreateTossable ();
|
||||
|
|
|
@ -20,7 +20,7 @@ void PClassPuzzleItem::DeriveData(PClass *newclass)
|
|||
|
||||
IMPLEMENT_CLASS(APuzzleItem)
|
||||
|
||||
void APuzzleItem::Serialize (FArchive &arc)
|
||||
void APuzzleItem::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << PuzzleItemNumber;
|
||||
|
|
|
@ -64,7 +64,7 @@ DEarthquake::DEarthquake(AActor *center, int intensityX, int intensityY, int int
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void DEarthquake::Serialize (FArchive &arc)
|
||||
void DEarthquake::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Spot << m_Intensity << m_Countdown
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
DBaseDecal (const AActor *actor);
|
||||
DBaseDecal (const DBaseDecal *basis);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Destroy ();
|
||||
FTextureID StickToWall(side_t *wall, double x, double y, F3DFloor * ffloor);
|
||||
double GetRealZ (const side_t *wall) const;
|
||||
|
@ -70,7 +70,7 @@ public:
|
|||
void BeginPlay ();
|
||||
void Destroy ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
static void SerializeTime (FArchive &arc);
|
||||
|
||||
protected:
|
||||
|
@ -122,7 +122,7 @@ public:
|
|||
float r2, float g2, float b2, float a2,
|
||||
float time, AActor *who);
|
||||
void Destroy ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
AActor *WhoFor() { return ForWho; }
|
||||
void Cancel ();
|
||||
|
@ -165,7 +165,7 @@ public:
|
|||
int damrad, int tremrad, FSoundID quakesfx, int flags,
|
||||
double waveSpeedX, double waveSpeedY, double waveSpeedZ, int falloff, int highpoint, double rollIntensity, double rollWave);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
TObjPtr<AActor> m_Spot;
|
||||
double m_TremorRadius, m_DamageRadius;
|
||||
|
@ -194,7 +194,7 @@ class AMorphProjectile : public AActor
|
|||
DECLARE_CLASS (AMorphProjectile, AActor)
|
||||
public:
|
||||
int DoSpecialDamage (AActor *target, int damage, FName damagetype);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
FNameNoInit PlayerClass, MonsterClass, MorphFlash, UnMorphFlash;
|
||||
int Duration, MorphStyle;
|
||||
|
@ -206,7 +206,7 @@ class AMorphedMonster : public AActor
|
|||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
void Tick ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Die (AActor *source, AActor *inflictor, int dmgflags);
|
||||
void Destroy ();
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ class ASoundSequenceSlot : public AActor
|
|||
DECLARE_CLASS (ASoundSequenceSlot, AActor)
|
||||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
TObjPtr<DSeqNode> Sequence;
|
||||
};
|
||||
|
@ -89,7 +89,7 @@ END_POINTERS
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void ASoundSequenceSlot::Serialize (FArchive &arc)
|
||||
void ASoundSequenceSlot::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Sequence;
|
||||
|
|
|
@ -17,7 +17,7 @@ void PClassWeaponPiece::ReplaceClassRef(PClass *oldclass, PClass *newclass)
|
|||
}
|
||||
|
||||
|
||||
void AWeaponHolder::Serialize (FArchive &arc)
|
||||
void AWeaponHolder::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc << PieceMask << PieceWeapon;
|
||||
|
@ -29,7 +29,7 @@ IMPLEMENT_POINTY_CLASS (AWeaponPiece)
|
|||
END_POINTERS
|
||||
|
||||
|
||||
void AWeaponPiece::Serialize (FArchive &arc)
|
||||
void AWeaponPiece::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << WeaponClass << FullWeapon << PieceValue;
|
||||
|
|
|
@ -15,7 +15,7 @@ class AWeaponPiece : public AInventory
|
|||
protected:
|
||||
bool PrivateShouldStay ();
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
bool TryPickup (AActor *&toucher);
|
||||
bool TryPickupRestricted (AActor *&toucher);
|
||||
bool ShouldStay ();
|
||||
|
@ -37,5 +37,5 @@ public:
|
|||
int PieceMask;
|
||||
const PClass * PieceWeapon;
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
};
|
||||
|
|
|
@ -73,7 +73,7 @@ void PClassWeapon::ReplaceClassRef(PClass *oldclass, PClass *newclass)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
void AWeapon::Serialize (FArchive &arc)
|
||||
void AWeapon::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << WeaponFlags
|
||||
|
|
|
@ -504,7 +504,7 @@ DHUDMessageFadeOut::DHUDMessageFadeOut (FFont *font, const char *text, float x,
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void DHUDMessageFadeOut::Serialize (FArchive &arc)
|
||||
void DHUDMessageFadeOut::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << FadeOutTics;
|
||||
|
@ -609,7 +609,7 @@ DHUDMessageFadeInOut::DHUDMessageFadeInOut (FFont *font, const char *text, float
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void DHUDMessageFadeInOut::Serialize (FArchive &arc)
|
||||
void DHUDMessageFadeInOut::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << FadeInTics;
|
||||
|
@ -718,7 +718,7 @@ DHUDMessageTypeOnFadeOut::DHUDMessageTypeOnFadeOut (FFont *font, const char *tex
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void DHUDMessageTypeOnFadeOut::Serialize (FArchive &arc)
|
||||
void DHUDMessageTypeOnFadeOut::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << TypeOnTime << CurrLine << LineVisible << LineLen;
|
||||
|
|
|
@ -71,7 +71,7 @@ public:
|
|||
EColorRange textColor, float holdTime);
|
||||
virtual ~DHUDMessage ();
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
void Draw (int bottom, int visibility);
|
||||
virtual void ResetText (const char *text);
|
||||
|
@ -157,7 +157,7 @@ public:
|
|||
DHUDMessageFadeOut (FFont *font, const char *text, float x, float y, int hudwidth, int hudheight,
|
||||
EColorRange textColor, float holdTime, float fadeOutTime);
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual void DoDraw (int linenum, int x, int y, bool clean, int hudheight);
|
||||
virtual bool Tick ();
|
||||
|
||||
|
@ -176,7 +176,7 @@ public:
|
|||
DHUDMessageFadeInOut (FFont *font, const char *text, float x, float y, int hudwidth, int hudheight,
|
||||
EColorRange textColor, float holdTime, float fadeInTime, float fadeOutTime);
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual void DoDraw (int linenum, int x, int y, bool clean, int hudheight);
|
||||
virtual bool Tick ();
|
||||
|
||||
|
@ -195,7 +195,7 @@ public:
|
|||
DHUDMessageTypeOnFadeOut (FFont *font, const char *text, float x, float y, int hudwidth, int hudheight,
|
||||
EColorRange textColor, float typeTime, float holdTime, float fadeOutTime);
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
virtual void DoDraw (int linenum, int x, int y, bool clean, int hudheight);
|
||||
virtual bool Tick ();
|
||||
virtual void ScreenSizeChanged ();
|
||||
|
@ -355,7 +355,7 @@ public:
|
|||
|
||||
static void AddBlend (float r, float g, float b, float a, float v_blend[4]);
|
||||
|
||||
virtual void Serialize (FArchive &arc);
|
||||
virtual void Serialize(FArchive &arc);
|
||||
|
||||
virtual void Tick ();
|
||||
virtual void Draw (EHudState state);
|
||||
|
|
|
@ -1654,7 +1654,7 @@ void DBaseStatusBar::ReceivedWeapon (AWeapon *weapon)
|
|||
{
|
||||
}
|
||||
|
||||
void DBaseStatusBar::Serialize (FArchive &arc)
|
||||
void DBaseStatusBar::Serialize(FArchive &arc)
|
||||
{
|
||||
for (size_t i = 0; i < countof(Messages); ++i)
|
||||
{
|
||||
|
|
|
@ -55,7 +55,7 @@ class ASigil : public AWeapon
|
|||
public:
|
||||
bool HandlePickup (AInventory *item);
|
||||
AInventory *CreateCopy (AActor *other);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
bool SpecialDropAction (AActor *dropper);
|
||||
static int GiveSigilPiece (AActor *daPlayer);
|
||||
void BeginPlay();
|
||||
|
|
|
@ -753,7 +753,7 @@ void ASigil::BeginPlay()
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void ASigil::Serialize (FArchive &arc)
|
||||
void ASigil::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << NumPieces << DownPieces;
|
||||
|
|
|
@ -1367,7 +1367,7 @@ public:
|
|||
int tag, int height, int special,
|
||||
int arg0, int arg1, int arg2, int arg3, int arg4);
|
||||
void Tick ();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
private:
|
||||
sector_t *Sector;
|
||||
double WatchD, LastD;
|
||||
|
@ -1417,7 +1417,7 @@ DPlaneWatcher::DPlaneWatcher (AActor *it, line_t *line, int lineSide, bool ceili
|
|||
}
|
||||
}
|
||||
|
||||
void DPlaneWatcher::Serialize (FArchive &arc)
|
||||
void DPlaneWatcher::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
|
||||
|
@ -2927,7 +2927,7 @@ DACSThinker::~DACSThinker ()
|
|||
ActiveThinker = NULL;
|
||||
}
|
||||
|
||||
void DACSThinker::Serialize (FArchive &arc)
|
||||
void DACSThinker::Serialize(FArchive &arc)
|
||||
{
|
||||
int scriptnum;
|
||||
int scriptcount = 0;
|
||||
|
@ -3056,7 +3056,7 @@ inline FArchive &operator<< (FArchive &arc, DLevelScript::EScriptState &state)
|
|||
return arc;
|
||||
}
|
||||
|
||||
void DLevelScript::Serialize (FArchive &arc)
|
||||
void DLevelScript::Serialize(FArchive &arc)
|
||||
{
|
||||
DWORD i;
|
||||
|
||||
|
|
|
@ -859,7 +859,7 @@ public:
|
|||
const int *args, int argcount, int flags);
|
||||
~DLevelScript ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
int RunScript ();
|
||||
|
||||
inline void SetState (EScriptState newstate) { state = newstate; }
|
||||
|
@ -944,7 +944,7 @@ public:
|
|||
DACSThinker ();
|
||||
~DACSThinker ();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
typedef TMap<int, DLevelScript *> ScriptMap;
|
||||
|
|
|
@ -72,7 +72,7 @@ DCeiling::DCeiling ()
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void DCeiling::Serialize (FArchive &arc)
|
||||
void DCeiling::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
|
|
@ -59,7 +59,7 @@ DDoor::DDoor ()
|
|||
{
|
||||
}
|
||||
|
||||
void DDoor::Serialize (FArchive &arc)
|
||||
void DDoor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
@ -530,7 +530,7 @@ DAnimatedDoor::DAnimatedDoor (sector_t *sec)
|
|||
{
|
||||
}
|
||||
|
||||
void DAnimatedDoor::Serialize (FArchive &arc)
|
||||
void DAnimatedDoor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ DFloor::DFloor ()
|
|||
{
|
||||
}
|
||||
|
||||
void DFloor::Serialize (FArchive &arc)
|
||||
void DFloor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
@ -855,7 +855,7 @@ DElevator::DElevator (sector_t *sec)
|
|||
m_Interp_Ceiling = sec->SetInterpolation(sector_t::CeilingMove, true);
|
||||
}
|
||||
|
||||
void DElevator::Serialize (FArchive &arc)
|
||||
void DElevator::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
@ -1136,7 +1136,7 @@ DWaggleBase::DWaggleBase ()
|
|||
{
|
||||
}
|
||||
|
||||
void DWaggleBase::Serialize (FArchive &arc)
|
||||
void DWaggleBase::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_OriginalDist
|
||||
|
|
|
@ -197,7 +197,7 @@ DFireFlicker::DFireFlicker ()
|
|||
{
|
||||
}
|
||||
|
||||
void DFireFlicker::Serialize (FArchive &arc)
|
||||
void DFireFlicker::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Count << m_MaxLight << m_MinLight;
|
||||
|
@ -262,7 +262,7 @@ DFlicker::DFlicker ()
|
|||
{
|
||||
}
|
||||
|
||||
void DFlicker::Serialize (FArchive &arc)
|
||||
void DFlicker::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Count << m_MaxLight << m_MinLight;
|
||||
|
@ -336,7 +336,7 @@ DLightFlash::DLightFlash ()
|
|||
{
|
||||
}
|
||||
|
||||
void DLightFlash::Serialize (FArchive &arc)
|
||||
void DLightFlash::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Count << m_MaxLight << m_MaxTime << m_MinLight << m_MinTime;
|
||||
|
@ -407,7 +407,7 @@ DStrobe::DStrobe ()
|
|||
{
|
||||
}
|
||||
|
||||
void DStrobe::Serialize (FArchive &arc)
|
||||
void DStrobe::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Count << m_MaxLight << m_MinLight << m_DarkTime << m_BrightTime;
|
||||
|
@ -661,7 +661,7 @@ DGlow::DGlow ()
|
|||
{
|
||||
}
|
||||
|
||||
void DGlow::Serialize (FArchive &arc)
|
||||
void DGlow::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Direction << m_MaxLight << m_MinLight;
|
||||
|
@ -728,7 +728,7 @@ DGlow2::DGlow2 ()
|
|||
{
|
||||
}
|
||||
|
||||
void DGlow2::Serialize (FArchive &arc)
|
||||
void DGlow2::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_End << m_MaxTics << m_OneShot << m_Start << m_Tics;
|
||||
|
@ -857,7 +857,7 @@ DPhased::DPhased ()
|
|||
{
|
||||
}
|
||||
|
||||
void DPhased::Serialize (FArchive &arc)
|
||||
void DPhased::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_BaseLevel << m_Phase;
|
||||
|
|
|
@ -72,7 +72,7 @@ void DPillar::Destroy()
|
|||
Super::Destroy();
|
||||
}
|
||||
|
||||
void DPillar::Serialize (FArchive &arc)
|
||||
void DPillar::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
|
|
@ -56,7 +56,7 @@ DPlat::DPlat ()
|
|||
{
|
||||
}
|
||||
|
||||
void DPlat::Serialize (FArchive &arc)
|
||||
void DPlat::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Speed
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
DPusher ();
|
||||
DPusher (EPusher type, line_t *l, int magnitude, int angle, AActor *source, int affectee);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
int CheckForSectorMatch (EPusher type, int tag);
|
||||
void ChangeValues (int magnitude, int angle)
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ inline FArchive &operator<< (FArchive &arc, DPusher::EPusher &type)
|
|||
return arc;
|
||||
}
|
||||
|
||||
void DPusher::Serialize (FArchive &arc)
|
||||
void DPusher::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
#include "serializer.h"
|
||||
|
||||
// just the stuff that already got converted to FSerializer so that it can be seen as 'done' when searching.
|
||||
#define COMMON_STUFF
|
||||
#include "zzz_old.cpp"
|
||||
|
||||
void CopyPlayer (player_t *dst, player_t *src, const char *name);
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
DScroller (double dx, double dy, const line_t *l, int control, int accel, EScrollPos scrollpos = EScrollPos::scw_all);
|
||||
void Destroy();
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
bool AffectsWall (int wallnum) const { return m_Type == EScroll::sc_side && m_Affectee == wallnum; }
|
||||
|
@ -114,7 +114,7 @@ EScrollPos operator &(EScrollPos one, EScrollPos two)
|
|||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void DScroller::Serialize (FArchive &arc)
|
||||
void DScroller::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
|
|
|
@ -648,7 +648,7 @@ class DLightTransfer : public DThinker
|
|||
DLightTransfer() {}
|
||||
public:
|
||||
DLightTransfer (sector_t *srcSec, int target, bool copyFloor);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
protected:
|
||||
|
@ -662,7 +662,7 @@ protected:
|
|||
|
||||
IMPLEMENT_CLASS (DLightTransfer)
|
||||
|
||||
void DLightTransfer::Serialize (FArchive &arc)
|
||||
void DLightTransfer::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << LastLight;
|
||||
|
@ -736,7 +736,7 @@ class DWallLightTransfer : public DThinker
|
|||
DWallLightTransfer() {}
|
||||
public:
|
||||
DWallLightTransfer (sector_t *srcSec, int target, BYTE flags);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
protected:
|
||||
|
@ -750,7 +750,7 @@ protected:
|
|||
|
||||
IMPLEMENT_CLASS (DWallLightTransfer)
|
||||
|
||||
void DWallLightTransfer::Serialize (FArchive &arc)
|
||||
void DWallLightTransfer::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << LastLight;
|
||||
|
|
16
src/p_spec.h
16
src/p_spec.h
|
@ -184,7 +184,7 @@ public:
|
|||
platRaiseAndStayLockout,
|
||||
};
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
bool IsLift() const { return m_Type == platDownWaitUpStay || m_Type == platDownWaitUpStayStone; }
|
||||
|
@ -241,7 +241,7 @@ public:
|
|||
DPillar (sector_t *sector, EPillar type, double speed, double height,
|
||||
double height2, int crush, bool hexencrush);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
void Destroy();
|
||||
|
||||
|
@ -283,7 +283,7 @@ public:
|
|||
DDoor (sector_t *sector);
|
||||
DDoor (sector_t *sec, EVlDoor type, double speed, int delay, int lightTag, int topcountdown);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
protected:
|
||||
EVlDoor m_Type;
|
||||
|
@ -325,7 +325,7 @@ public:
|
|||
DAnimatedDoor (sector_t *sector);
|
||||
DAnimatedDoor (sector_t *sec, line_t *line, int speed, int delay, FDoorAnimation *anim);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
bool StartClosing ();
|
||||
|
@ -405,7 +405,7 @@ public:
|
|||
DCeiling (sector_t *sec);
|
||||
DCeiling (sector_t *sec, double speed1, double speed2, int silent);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
protected:
|
||||
|
@ -508,7 +508,7 @@ public:
|
|||
|
||||
DFloor (sector_t *sec);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
//protected:
|
||||
|
@ -573,7 +573,7 @@ public:
|
|||
DElevator (sector_t *sec);
|
||||
|
||||
void Destroy();
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
protected:
|
||||
|
@ -601,7 +601,7 @@ class DWaggleBase : public DMover
|
|||
public:
|
||||
DWaggleBase (sector_t *sec);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
protected:
|
||||
double m_OriginalDist;
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
DActiveButton ();
|
||||
DActiveButton (side_t *, int, FSwitchDef *, const DVector2 &pos, bool flippable);
|
||||
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
|
||||
side_t *m_Side;
|
||||
|
@ -354,7 +354,7 @@ DActiveButton::DActiveButton (side_t *side, int Where, FSwitchDef *Switch,
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void DActiveButton::Serialize (FArchive &arc)
|
||||
void DActiveButton::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Side << m_Part << m_SwitchDef << m_Frame << m_Timer << bFlippable << m_Pos << bReturning;
|
||||
|
|
|
@ -631,7 +631,7 @@ END_POINTERS
|
|||
|
||||
IMPLEMENT_CLASS (APlayerChunk)
|
||||
|
||||
void APlayerPawn::Serialize (FArchive &arc)
|
||||
void APlayerPawn::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
|
||||
|
@ -3001,7 +3001,7 @@ void P_UnPredictPlayer ()
|
|||
}
|
||||
}
|
||||
|
||||
void player_t::Serialize (FArchive &arc)
|
||||
void player_t::Serialize(FArchive &arc)
|
||||
{
|
||||
int i;
|
||||
FString skinname;
|
||||
|
|
|
@ -87,7 +87,7 @@ class DMovePoly : public DPolyAction
|
|||
DECLARE_CLASS (DMovePoly, DPolyAction)
|
||||
public:
|
||||
DMovePoly (int polyNum);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
protected:
|
||||
DMovePoly ();
|
||||
|
@ -118,7 +118,7 @@ class DPolyDoor : public DMovePoly
|
|||
DECLARE_CLASS (DPolyDoor, DMovePoly)
|
||||
public:
|
||||
DPolyDoor (int polyNum, podoortype_t type);
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void Tick ();
|
||||
protected:
|
||||
DAngle m_Direction;
|
||||
|
@ -199,7 +199,7 @@ DPolyAction::DPolyAction ()
|
|||
{
|
||||
}
|
||||
|
||||
void DPolyAction::Serialize (FArchive &arc)
|
||||
void DPolyAction::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_PolyObj << m_Speed << m_Dist << m_Interpolation;
|
||||
|
@ -277,7 +277,7 @@ DMovePoly::DMovePoly ()
|
|||
{
|
||||
}
|
||||
|
||||
void DMovePoly::Serialize (FArchive &arc)
|
||||
void DMovePoly::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Angle << m_Speed;
|
||||
|
@ -331,7 +331,7 @@ DPolyDoor::DPolyDoor ()
|
|||
{
|
||||
}
|
||||
|
||||
void DPolyDoor::Serialize (FArchive &arc)
|
||||
void DPolyDoor::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Direction << m_TotalDist << m_Tics << m_WaitTics << m_Type << m_Close;
|
||||
|
|
|
@ -1041,7 +1041,7 @@ void FCanvasTextureInfo::EmptyList ()
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void FCanvasTextureInfo::Serialize (FArchive &arc)
|
||||
void FCanvasTextureInfo::Serialize(FArchive &arc)
|
||||
{
|
||||
if (arc.IsStoring ())
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ struct FCanvasTextureInfo
|
|||
static void Add (AActor *viewpoint, FTextureID picnum, int fov);
|
||||
static void UpdateAll ();
|
||||
static void EmptyList ();
|
||||
static void Serialize (FArchive &arc);
|
||||
static void Serialize(FArchive &arc);
|
||||
static void Mark();
|
||||
|
||||
private:
|
||||
|
|
|
@ -2102,7 +2102,7 @@ class AAmbientSound : public AActor
|
|||
{
|
||||
DECLARE_CLASS (AAmbientSound, AActor)
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
|
||||
void MarkPrecacheSounds () const;
|
||||
void BeginPlay ();
|
||||
|
@ -2125,7 +2125,7 @@ IMPLEMENT_CLASS (AAmbientSound)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void AAmbientSound::Serialize (FArchive &arc)
|
||||
void AAmbientSound::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << bActive << NextCheck;
|
||||
|
|
|
@ -298,7 +298,7 @@ DSeqNode::DSeqNode ()
|
|||
m_Next = m_Prev = m_ChildSeqNode = m_ParentSeqNode = NULL;
|
||||
}
|
||||
|
||||
void DSeqNode::Serialize (FArchive &arc)
|
||||
void DSeqNode::Serialize(FArchive &arc)
|
||||
{
|
||||
int seqOffset;
|
||||
unsigned int i;
|
||||
|
@ -425,7 +425,7 @@ IMPLEMENT_POINTY_CLASS (DSeqActorNode)
|
|||
DECLARE_POINTER (m_Actor)
|
||||
END_POINTERS
|
||||
|
||||
void DSeqActorNode::Serialize (FArchive &arc)
|
||||
void DSeqActorNode::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Actor;
|
||||
|
@ -433,7 +433,7 @@ void DSeqActorNode::Serialize (FArchive &arc)
|
|||
|
||||
IMPLEMENT_CLASS (DSeqPolyNode)
|
||||
|
||||
void DSeqPolyNode::Serialize (FArchive &arc)
|
||||
void DSeqPolyNode::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Poly;
|
||||
|
@ -441,7 +441,7 @@ void DSeqPolyNode::Serialize (FArchive &arc)
|
|||
|
||||
IMPLEMENT_CLASS (DSeqSectorNode)
|
||||
|
||||
void DSeqSectorNode::Serialize (FArchive &arc)
|
||||
void DSeqSectorNode::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Sector << Channel;
|
||||
|
|
|
@ -20,7 +20,7 @@ class DSeqNode : public DObject
|
|||
DECLARE_CLASS (DSeqNode, DObject)
|
||||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
void Serialize (FArchive &arc);
|
||||
void Serialize(FArchive &arc);
|
||||
void StopAndDestroy ();
|
||||
void Destroy ();
|
||||
void Tick ();
|
||||
|
|
|
@ -83,7 +83,7 @@ public:
|
|||
operator TT() const { return Value; }
|
||||
|
||||
// Serialize to FArchive
|
||||
FArchive& Serialize (FArchive& arc)
|
||||
FArchive& Serialize(FArchive& arc)
|
||||
{
|
||||
arc << Value;
|
||||
return arc;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#ifdef COMMON_STUFF
|
||||
|
||||
// For NULL states, which aren't owned by any actor, the owner
|
||||
// is recorded as AActor with the following state. AActor should
|
||||
// never actually have this many states of its own, so this
|
||||
|
@ -691,7 +693,35 @@ FArchive &operator<< (FArchive &arc, FState *&state)
|
|||
return arc;
|
||||
}
|
||||
|
||||
void DObject::Serialize (FArchive &arc)
|
||||
void DObject::Serialize(FArchive &arc)
|
||||
{
|
||||
ObjectFlags |= OF_SerialSuccess;
|
||||
}
|
||||
|
||||
|
||||
class DLightLevel : public DLighting
|
||||
{
|
||||
DECLARE_CLASS(DLightLevel, DLighting)
|
||||
|
||||
unsigned char destlevel;
|
||||
unsigned char speed;
|
||||
|
||||
DLightLevel() {}
|
||||
|
||||
public:
|
||||
|
||||
DLightLevel(sector_t * s, int destlevel, int speed);
|
||||
void Serialize(FArchive &arc);
|
||||
void Serialize(FSerializer &arc);
|
||||
void Tick();
|
||||
void Destroy() { Super::Destroy(); m_Sector->lightingdata = NULL; }
|
||||
};
|
||||
|
||||
void DLightLevel::Serialize(FArchive &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc << destlevel << speed;
|
||||
if (arc.IsLoading()) m_Sector->lightingdata = this;
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue