Hi DesertFish,desertfish wrote: ↑Fri Aug 23, 2024 6:39 pm If you would like to see the optimized fill routine in action, you can do so by toying around with the paint program:
viewtopic.php?p=34490
Thanks for your link. I downloaded your Paint program and tried it out.
It is very fast.
I decided to go with CosmicR's algorithm just because it is already designed to work for Sierra AGI.
They do some strange things with rounding on the lines, and if it isn't exactly right you get a mess.
I also didn't have to learn, setup and integrate Prog8 which of course is extra work.
Noting that Sierra AGI flooding will always be slower due to the two screens I can flood a simple screen in 1 second and a complicated screen in 2 seconds.
This excludes the file loading time, which I will probably solve with the new memory mapped IO.
I am not sure if I'll regret this decision, but I will keep what I have for now to progress the project.
I am about to post an update, with a video I won't spoil it here.
Thanks for your help though, I don't want to spurn it.