Show More
Commit Description:
Fix issue with simulation....
Commit Description:
Fix issue with simulation. Previously, if there was more than one tick being advanced at once, it would overshoot how many ticks it covered. So if it was covering 5 ticks and each tick happens every 100 units, rather than recording that it had simulated through t= 500, it would increase the cumulative time for each tick, recording that it had simulated through t=2500. Add error message, too.
File last commit:
Show/Diff file:
Action:
scripts/UpdateYaml.csx
16 lines | 500 B | text/plain | TextLexer
#load "Shared.csx"
var image_meta = LoadImageMeta();
var images = new HashSet<String>(Directory.GetFiles("isometric-park-fna/Content/Portraits/"));
var image_meta_names = image_meta.Select((item) => "isometric-park-fna/Content/Portraits/" + item.Filename);
var missing_images = images.Except(image_meta_names);
foreach (String name in missing_images)
{
Console.WriteLine(String.Format("- Description: TODO\n Subject: TODO\n Source: TODO\n Filename: {0}\n Subjects: TODO\n", name));
}