mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
Revert MINSAVEVER and added FlatAngle DECORATE property expression.
This commit is contained in:
parent
a8248433e9
commit
9ba547e6e3
4 changed files with 8 additions and 3 deletions
|
@ -300,6 +300,7 @@ xx(ATan2)
|
|||
xx(VectorAngle)
|
||||
xx(Alpha)
|
||||
xx(Angle)
|
||||
xx(FlatAngle)
|
||||
xx(Args)
|
||||
xx(CeilingZ)
|
||||
xx(FloorZ)
|
||||
|
|
|
@ -262,8 +262,11 @@ void AActor::Serialize(FArchive &arc)
|
|||
<< projectilepassheight
|
||||
<< Vel
|
||||
<< tics
|
||||
<< state
|
||||
<< FlatAngle;
|
||||
<< state;
|
||||
if (SaveVersion >= 4545)
|
||||
{
|
||||
arc << FlatAngle;
|
||||
}
|
||||
if (arc.IsStoring())
|
||||
{
|
||||
int dmg;
|
||||
|
|
|
@ -627,6 +627,7 @@ void InitThingdef()
|
|||
PType *array5 = NewArray(TypeSInt32, 5);
|
||||
symt.AddSymbol(new PField(NAME_Alpha, TypeFloat64, VARF_Native, myoffsetof(AActor,Alpha)));
|
||||
symt.AddSymbol(new PField(NAME_Angle, TypeFloat64, VARF_Native, myoffsetof(AActor,Angles.Yaw)));
|
||||
symt.AddSymbol(new PField(NAME_FlatAngle, TypeFloat64, VARF_Native, myoffsetof(AActor,FlatAngle)));
|
||||
symt.AddSymbol(new PField(NAME_Args, array5, VARF_Native, myoffsetof(AActor,args)));
|
||||
symt.AddSymbol(new PField(NAME_CeilingZ, TypeFloat64, VARF_Native, myoffsetof(AActor,ceilingz)));
|
||||
symt.AddSymbol(new PField(NAME_FloorZ, TypeFloat64, VARF_Native, myoffsetof(AActor,floorz)));
|
||||
|
|
|
@ -72,7 +72,7 @@ const char *GetVersionString();
|
|||
// SAVESIG should match SAVEVER.
|
||||
|
||||
// MINSAVEVER is the minimum level snapshot version that can be loaded.
|
||||
#define MINSAVEVER 4546
|
||||
#define MINSAVEVER 4545
|
||||
|
||||
// Use 4500 as the base git save version, since it's higher than the
|
||||
// SVN revision ever got.
|
||||
|
|
Loading…
Reference in a new issue