Move writing to new class

This commit is contained in:
Matt Nadareski
2020-12-10 11:28:11 -08:00
parent 6aa88afa9a
commit 56c70b89db
14 changed files with 477 additions and 467 deletions

View File

@@ -55,7 +55,7 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
return;
}
// Get the DatTool for parsing
// Get the DatTool for opeations
DatTool dt = new DatTool();
// Create the encapsulating datfile
@@ -67,7 +67,7 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
// Diff against the new datfile
DatFile intDat = dt.CreateAndParse(newdat);
datfile.DiffAgainst(intDat, false);
intDat.Write(outdat);
dt.Write(intDat, outdat);
}
}
}