Skip to content

Commit

Permalink
[HaCreator] More unknown map info properties
Browse files Browse the repository at this point in the history
  • Loading branch information
lastbattle committed Dec 20, 2020
1 parent 0d946e5 commit d4df0f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion HaCreator/Wz/MapLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ public static List<string> VerifyMapPropsKnown(WzImage mapImage, bool userless)
case "WindArea":
case "pocketdrop":
case "footprintData":
case "illuminantCluster": // 450016030.img
case "property": // 450016110.img
continue;

default:
string error = string.Format("Unknown field property '{0}', {1}", prop.Name, mapImage.ToString() /*overrides see WzImage.ToString()*/);
string error = string.Format("[MapLoader] Unknown field property '{0}', {1}", prop.Name, mapImage.ToString() /*overrides see WzImage.ToString()*/);

MapleLib.Helpers.ErrorLogger.Log(ErrorLevel.MissingFeature, error);
copyPropNames.Add(prop.Name);
Expand Down
4 changes: 3 additions & 1 deletion MapleLib/WzLib/WzStructure/MapInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,12 @@ public MapInfo(WzImage image, string strMapName, string strStreetName, string st
case "hungryMuto":
case "property": // map 921172300.img
case "spiritSavior":
case "standAlonePermitUpgrade": // 993059600.img
case "limitHeadAlarmField": // 993180000.img
unsupportedInfoProperties.Add(prop);
break;
default:
ErrorLogger.Log(ErrorLevel.MissingFeature, string.Format("Unknown field info/ property: '{0}'. {1}. Please fix it at MapInfo.cs", prop.Name, loggerSuffix));
ErrorLogger.Log(ErrorLevel.MissingFeature, string.Format("[MapInfo] Unknown field info/ property: '{0}'. {1}. Please fix it at MapInfo.cs", prop.Name, loggerSuffix));
additionalProps.Add(prop.DeepClone());
break;
}
Expand Down

0 comments on commit d4df0f6

Please sign in to comment.