- added Xaser's submission for accessing accuracy and stamina from DECORATE and ACS.

- added DECORATE properties for accuracy and stamina.
- Since these changes move properties from player_t to AActor all savegame compatibility code was removed and the min. savegame version bumped.


SVN r3427 (trunk)
This commit is contained in:
Christoph Oelckers 2012-03-11 09:08:35 +00:00
commit e4880d162f
20 changed files with 94 additions and 141 deletions

View file

@ -230,12 +230,9 @@ void AActor::Serialize (FArchive &arc)
<< velz
<< tics
<< state
<< Damage;
if (SaveVersion >= 3227)
{
arc << projectileKickback;
}
arc << flags
<< Damage
<< projectileKickback
<< flags
<< flags2
<< flags3
<< flags4
@ -270,6 +267,8 @@ void AActor::Serialize (FArchive &arc)
arc << args[0];
}
arc << args[1] << args[2] << args[3] << args[4]
<< accuracy
<< stamina
<< goal
<< waterlevel
<< MinMissileChance
@ -305,14 +304,10 @@ void AActor::Serialize (FArchive &arc)
<< maxtargetrange
<< meleethreshold
<< meleerange
<< DamageType;
if (SaveVersion >= 3237)
{
arc
<< DamageType
<< PainType
<< DeathType;
}
arc << gravity
<< DeathType
<< gravity
<< FastChaseStrafeCount
<< master
<< smokecounter
@ -321,22 +316,16 @@ void AActor::Serialize (FArchive &arc)
<< VisibleToTeam // [BB]
<< pushfactor
<< Species
<< Score;
if (SaveVersion >= 3113)
{
arc << DesignatedTeam;
}
arc << lastpush << lastbump
<< Score
<< DesignatedTeam
<< lastpush << lastbump
<< PainThreshold
<< DamageFactor
<< WeaveIndexXY << WeaveIndexZ
<< PoisonDamageReceived << PoisonDurationReceived << PoisonPeriodReceived << Poisoner
<< PoisonDamage << PoisonDuration << PoisonPeriod;
if (SaveVersion >= 3235)
{
arc << PoisonDamageType << PoisonDamageTypeReceived;
}
arc << ConversationRoot << Conversation;
<< PoisonDamage << PoisonDuration << PoisonPeriod
<< PoisonDamageType << PoisonDamageTypeReceived
<< ConversationRoot << Conversation;
{
FString tagstr;