While separating my c++ utilities from blueprint function libraries, because I’m sick of the bloat and statics: this.
come oooooon
This sh*t is wasting my time.
I’m not creating a struct to nest my array in a struct in an array as a workaround, why would I sell that garbage to anyone? I can’t even write a template for that because it is not supported. -_- sigh.
Know what EPIC, keep on going with the Fortnite stuff and forget about what matters.
This type of nonsense is what I don’t want mixed in with the c++ source:
TArray<FS_IntPointArray> UFloodFillUtils::GetAllAreasXY_FourWay(const UGrid* InGrid, bool bInGridPointEqualsPassage) {
FFourWayFloodFill FourWayFloodFill = FFourWayFloodFill();
TArray<FS_IntPointArray> BPResults;
// Thank blueprints.
const TArray<TArray<FIntPoint>> Results = FourWayFloodFill.GetAllAreasXY(InGrid, bInGridPointEqualsPassage);
for (const TArray<FIntPoint>& ResultX : Results) {
BPResults.Add(ResultX);
}
return BPResults;
}
I treat BP as a prototyping system, once I’m done prototyping I don’t need it anymore. Out of source, to a galaxy far away.