- fixed: level.flags2 was not stored in savegames. Also bumped min. savegame

version and removed old compatibility handlings.

SVN r1448 (trunk)
This commit is contained in:
Christoph Oelckers 2009-02-25 22:10:06 +00:00
parent a18018f607
commit 2c65d5b8f5
5 changed files with 9 additions and 16 deletions

View file

@ -1,4 +1,8 @@
February 25, 2009
February 25, 2009 (Changes by Graf Zahl)
- fixed: level.flags2 was not stored in savegames. Also bumped min. savegame
version and removed old compatibility handlings.
February 25, 2009
- Removed the delay for starting all sounds from one tic at exactly the same
DSP position. Without also synchronizing the stopping of sounds, it can
cause problems with things like the chainsaw where the sound is stopped and

View file

@ -806,11 +806,6 @@ FArchive &operator<< (FArchive &arc, userinfo_t &info)
arc.Read (&info.netname, sizeof(info.netname));
}
arc << info.team << info.aimdist << info.color << info.skin << info.gender << info.neverswitch;
if (SaveVersion >= 1333 && SaveVersion <= 1355)
{
int savedaimdist;
arc << savedaimdist;
}
return arc;
}

View file

@ -1400,6 +1400,7 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
int i = level.totaltime;
arc << level.flags
<< level.flags2
<< level.fadeto
<< level.found_secrets
<< level.found_items

View file

@ -2010,15 +2010,8 @@ static FArchive &operator<<(FArchive &arc, FSoundChan &chan)
<< chan.StartTime
<< chan.Rolloff.RolloffType
<< chan.Rolloff.MinDistance
<< chan.Rolloff.MaxDistance;
if (SaveVersion >= 1416)
{
arc << chan.LimitRange;
}
else
{
chan.LimitRange = 256*256;
<< chan.Rolloff.MaxDistance
<< chan.LimitRange;
}
if (arc.IsLoading())

View file

@ -75,7 +75,7 @@
// SAVESIG should match SAVEVER.
// MINSAVEVER is the minimum level snapshot version that can be loaded.
#define MINSAVEVER 1393
#define MINSAVEVER 1447
#if SVN_REVISION_NUMBER < MINSAVEVER
// Never write a savegame with a version lower than what we need