Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Commit 0eed7fa

Browse files
committed
Make import todos be import-tagged todos
1 parent b033a4b commit 0eed7fa

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

AngelLoader/Import.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -590,14 +590,14 @@ static void DoImport(string[] lines, List<FanMission> fms)
590590

591591
while (i < lines.Length - 1)
592592
{
593-
// TODO: FMSel: We're not trimming these lines at all. Is this to spec?
593+
// @Import: FMSel: We're not trimming these lines at all. Is this to spec?
594594
string lineFM = lines[i + 1];
595595
if (lineFM.StartsWithFast("NiceName="))
596596
{
597597
fm.Title = lineFM.Substring(9);
598598
}
599599
/*
600-
TODO/BUG: This field can have a leading subfolder!!! like "import_test\1999-06-04_PoorLordBafford.zip"
600+
@Import/BUG: This field can have a leading subfolder!!! like "import_test\1999-06-04_PoorLordBafford.zip"
601601
Argh! This completely wrecks everything! I think it searches subfolders always?
602602
I thought only NDL had that functionality... Yikes... and FMSel even distinguishes
603603
archives in different folders with a subdir prefix and a bracketed number after the
@@ -689,7 +689,7 @@ static ImportError DoImport(string[] lines, List<FanMission> fms, InstDirNameCon
689689
{
690690
while (i < lines.Length - 1)
691691
{
692-
// TODO: NDL: We're not trimming these lines at all. Is this to spec?
692+
// @Import: NDL: We're not trimming these lines at all. Is this to spec?
693693
string lc = lines[i + 1];
694694
if (lc.StartsWithFast("ArchiveRoot="))
695695
{
@@ -718,7 +718,7 @@ static ImportError DoImport(string[] lines, List<FanMission> fms, InstDirNameCon
718718
if (archiveDirRead &&
719719
line.Length >= 5 && line[0] == '[' && line[1] == 'F' && line[2] == 'M' && line[3] == '=')
720720
{
721-
// NOTE: There can be a problem like:
721+
// @Import: There can be a problem like:
722722
// installed name is CoolMission[1]
723723
// it gets written like [FM=CoolMission[1]]
724724
// it gets read and all [ and ] chars are removed
@@ -754,7 +754,7 @@ static ImportError DoImport(string[] lines, List<FanMission> fms, InstDirNameCon
754754

755755
while (i < lines.Length - 1)
756756
{
757-
// TODO: NDL: We're not trimming these lines at all. Is this to spec?
757+
// @Import: NDL: We're not trimming these lines at all. Is this to spec?
758758
string lineFM = lines[i + 1];
759759
if (lineFM.StartsWithFast("NiceName="))
760760
{
@@ -845,7 +845,7 @@ private static List<FanMission>
845845
FanMission mainFM = FMDataIniList[mainFMi];
846846

847847
if (!checkedArray[mainFMi] &&
848-
// TODO: Import match-up
848+
// @Import: Import match-up
849849
// We should match installed dirs better! Match to FMSel/NDL _-replace style, truncated
850850
// and not, etc... even bracket-numbered? D:
851851
((importType == ImportType.DarkLoader &&
@@ -854,7 +854,7 @@ private static List<FanMission>
854854
((!importedFM.Archive.IsEmpty() && importedFM.Archive.EqualsI(mainFM.Archive)) ||
855855
importedFM.InstalledDir.EqualsI(mainFM.InstalledDir))) ||
856856
(importType == ImportType.NewDarkLoader &&
857-
// BUG:? Why aren't we checking archive for this?!?!
857+
// @Import: BUG:? Why aren't we checking archive for this?!?!
858858
// Test this!
859859
(
860860
//(!importedFM.Archive.IsEmpty() && importedFM.Archive.EqualsI(mainFM.Archive)) ||
@@ -863,7 +863,7 @@ private static List<FanMission>
863863
)
864864
)
865865
/*
866-
NOTE: Original v1.01 is like this:
866+
@Import: Original v1.01 is like this:
867867
868868
if (!mainFM.Checked &&
869869
(importType == ImportType.DarkLoader &&

0 commit comments

Comments
 (0)