- re-added serialization of treanslations.
- removed more dead code.
This commit is contained in:
parent
e101014432
commit
970c168b13
17 changed files with 56 additions and 164 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include "doomtype.h"
|
||||
#include "tarray.h"
|
||||
#include "s_sound.h"
|
||||
#include "farchive.h"
|
||||
#include "sc_man.h"
|
||||
#include "cmdlib.h"
|
||||
#include "templates.h"
|
||||
|
|
@ -481,30 +480,6 @@ void S_AddEnvironment (ReverbContainer *settings)
|
|||
}
|
||||
}
|
||||
|
||||
FArchive &operator<< (FArchive &arc, ReverbContainer *&env)
|
||||
{
|
||||
WORD id;
|
||||
|
||||
if (arc.IsStoring())
|
||||
{
|
||||
if (env != NULL)
|
||||
{
|
||||
arc << env->ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
id = 0;
|
||||
arc << id;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
arc << id;
|
||||
env = S_FindEnvironment (id);
|
||||
}
|
||||
return arc;
|
||||
}
|
||||
|
||||
static void ReadReverbDef (int lump)
|
||||
{
|
||||
FScanner sc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue