Debug: Allow clicking to highlight group in sprite group dump window

This commit is contained in:
Jonathan G Rennison
2022-06-01 21:31:05 +01:00
parent 6d877b5e70
commit 564d7e5029
8 changed files with 84 additions and 57 deletions

View File

@@ -617,7 +617,7 @@ void TriggerObjectAnimation(Object *o, ObjectAnimationTrigger trigger, const Obj
}
}
void DumpObjectSpriteGroup(const ObjectSpec *spec, std::function<void(const char *)> print)
void DumpObjectSpriteGroup(const ObjectSpec *spec, DumpSpriteGroupPrinter print)
{
DumpSpriteGroup(spec->grf_prop.spritegroup[0], std::move(print));
}