mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-25 21:00:46 +00:00
- 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:
parent
a18018f607
commit
2c65d5b8f5
5 changed files with 9 additions and 16 deletions
|
@ -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
|
- 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
|
DSP position. Without also synchronizing the stopping of sounds, it can
|
||||||
cause problems with things like the chainsaw where the sound is stopped and
|
cause problems with things like the chainsaw where the sound is stopped and
|
||||||
|
|
|
@ -806,11 +806,6 @@ FArchive &operator<< (FArchive &arc, userinfo_t &info)
|
||||||
arc.Read (&info.netname, sizeof(info.netname));
|
arc.Read (&info.netname, sizeof(info.netname));
|
||||||
}
|
}
|
||||||
arc << info.team << info.aimdist << info.color << info.skin << info.gender << info.neverswitch;
|
arc << info.team << info.aimdist << info.color << info.skin << info.gender << info.neverswitch;
|
||||||
if (SaveVersion >= 1333 && SaveVersion <= 1355)
|
|
||||||
{
|
|
||||||
int savedaimdist;
|
|
||||||
arc << savedaimdist;
|
|
||||||
}
|
|
||||||
return arc;
|
return arc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1400,6 +1400,7 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
|
||||||
int i = level.totaltime;
|
int i = level.totaltime;
|
||||||
|
|
||||||
arc << level.flags
|
arc << level.flags
|
||||||
|
<< level.flags2
|
||||||
<< level.fadeto
|
<< level.fadeto
|
||||||
<< level.found_secrets
|
<< level.found_secrets
|
||||||
<< level.found_items
|
<< level.found_items
|
||||||
|
|
|
@ -2010,15 +2010,8 @@ static FArchive &operator<<(FArchive &arc, FSoundChan &chan)
|
||||||
<< chan.StartTime
|
<< chan.StartTime
|
||||||
<< chan.Rolloff.RolloffType
|
<< chan.Rolloff.RolloffType
|
||||||
<< chan.Rolloff.MinDistance
|
<< chan.Rolloff.MinDistance
|
||||||
<< chan.Rolloff.MaxDistance;
|
<< chan.Rolloff.MaxDistance
|
||||||
|
<< chan.LimitRange;
|
||||||
if (SaveVersion >= 1416)
|
|
||||||
{
|
|
||||||
arc << chan.LimitRange;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
chan.LimitRange = 256*256;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arc.IsLoading())
|
if (arc.IsLoading())
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
// SAVESIG should match SAVEVER.
|
// SAVESIG should match SAVEVER.
|
||||||
|
|
||||||
// MINSAVEVER is the minimum level snapshot version that can be loaded.
|
// MINSAVEVER is the minimum level snapshot version that can be loaded.
|
||||||
#define MINSAVEVER 1393
|
#define MINSAVEVER 1447
|
||||||
|
|
||||||
#if SVN_REVISION_NUMBER < MINSAVEVER
|
#if SVN_REVISION_NUMBER < MINSAVEVER
|
||||||
// Never write a savegame with a version lower than what we need
|
// Never write a savegame with a version lower than what we need
|
||||||
|
|
Loading…
Reference in a new issue